html.fullscreen-bg,
html.fullscreen-bg body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

html.fullscreen-bg *,
html.fullscreen-bg *:before,
html.fullscreen-bg *:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow: hidden;
  font-family: Inter, Roboto, Arial, sans-serif;
  color: #202936;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.rsdms-login-page {
  width: 100%;
  height: 100vh;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(44px, 7vh, 72px) clamp(72px, 7vw, 120px) clamp(58px, 8vh, 92px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(13, 143, 240, 0.06), transparent 30%),
    linear-gradient(135deg, #f5f9fd 0%, #ffffff 45%, #eef7fc 100%);
}

.rsdms-login-shell.auth-box {
  width: min(calc(100vw - clamp(132px, 12vw, 220px)), 1160px) !important;
  max-width: 1160px !important;
  height: auto !important;
  min-height: min(560px, calc(100vh - clamp(88px, 12vh, 140px)));
  max-height: calc(100vh - clamp(56px, 8vh, 96px));
  margin: 0 !important;
  border: 0 !important;
  border: 1px solid rgba(203, 218, 232, 0.66);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 44% 56%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 40, 70, 0.11);
}

.rsdms-login-shell.auth-box:before,
.rsdms-login-shell .left:before,
.rsdms-login-shell .right:before {
  display: none;
}

.rsdms-login-panel,
.rsdms-login-showcase {
  min-height: 0;
}

.rsdms-login-panel.left {
  width: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 5vh, 52px) clamp(48px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 14%, rgba(13, 143, 240, 0.035), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.rsdms-login-panel .content {
  width: min(100%, 392px) !important;
  padding: 0 !important;
  transform: none;
}

.rsdms-login-brand,
.rsdms-login-logo,
.rsdms-login-kicker,
.rsdms-login-subtitle {
  display: none;
}

.rsdms-login-panel .header {
  margin-bottom: 22px;
  text-align: center;
}

.rsdms-login-panel .lead {
  margin: 0;
  color: #1f2937;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: 0;
  text-align: center;
}

.rsdms-login-hint {
  margin: 9px 0 0;
  color: #7b8798;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0;
  text-align: center;
}

.login-message {
  margin-bottom: 18px;
}

.login-message:empty {
  display: none;
}

.login-message .alert,
.login-message.alert {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.rsdms-login-panel .form-group {
  margin-bottom: 18px;
}

.rsdms-login-panel .control-label {
  display: block;
  margin-bottom: 9px;
  color: #202936;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3;
}

.rsdms-input-wrap {
  position: relative;
}

.rsdms-input-wrap i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa7b8;
  font-size: 16px;
  pointer-events: none;
}

.rsdms-input-wrap .form-control {
  width: 100%;
  height: 48px !important;
  padding: 12px 18px 12px 48px;
  border: 1px solid #d4dce7;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(21, 39, 63, 0.035);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.rsdms-input-wrap .form-control::placeholder {
  color: #98a4b5;
}

.rsdms-input-wrap .form-control:focus {
  border-color: #0c8ff0;
  box-shadow: 0 0 0 4px rgba(12, 143, 240, 0.13), 0 12px 28px rgba(21, 39, 63, 0.06);
}

.rsdms-login-options {
  margin-top: -2px;
  margin-bottom: 24px !important;
}

.rsdms-show-password {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #8e9aaa;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2;
  cursor: pointer;
}

.rsdms-show-password input {
  width: 18px;
  height: 18px;
  margin: 0;
  border-color: #cfd7e2;
}

.rsdms-login-button.btn {
  height: 48px !important;
  margin-top: 0;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #18bed1 0%, #087ff0 100%) !important;
  color: #fff !important;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(8, 127, 240, 0.18);
}

.rsdms-login-button.btn:hover,
.rsdms-login-button.btn:focus {
  background: linear-gradient(135deg, #12b4c7 0%, #0672da 100%) !important;
  box-shadow: 0 14px 30px rgba(8, 127, 240, 0.24);
}

.rsdms-login-panel .bottom {
  margin-top: 26px;
  text-align: center;
}

.rsdms-login-panel .helper-text {
  color: #8b96a5;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
}

.rsdms-login-panel .helper-text a {
  color: #087ff0;
  font-weight: 500;
}

.rsdms-login-panel .helper-text i {
  margin-right: 6px;
  color: #8d98a7;
}

.rsdms-login-showcase.right {
  position: relative;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px clamp(42px, 4vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 154, 197, 0.2), rgba(0, 129, 217, 0.46)),
    url("../images/rsdms-login-water-bg.jpg") left center / cover no-repeat;
}

.rsdms-login-shell .rsdms-login-showcase .content {
  position: relative;
  z-index: 2;
  width: min(100%, 560px) !important;
  padding: 0 !important;
  transform: none;
}

.rsdms-login-shell .rsdms-login-showcase .heading {
  max-width: 560px;
  margin: 0 auto 14px;
  color: #fff;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.22;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 2px rgba(5, 40, 74, 0.14);
}

.rsdms-login-shell .rsdms-showcase-subtitle {
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.95);
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0;
}

.rsdms-dmv-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 0px 14px;
  align-items: center;
  width: min(100%, 540px) !important;
  margin: 30px auto;
  padding: 30px 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #202936;
  text-align: left;
  box-shadow: 0 18px 44px rgba(5, 45, 82, 0.17);
  backdrop-filter: blur(5px);
}

.rsdms-dmv-icon {
  grid-row: span 2;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #edf7ff 0%, #e1f1ff 100%);
  color: #1588f2;
  font-size: 29px;
}

.rsdms-dmv-copy h3 {
  margin: 0 0 10px;
  color: #1f2937;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
  letter-spacing: 0;
}

.rsdms-dmv-copy p {
  margin: 0;
  color: #405067;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0;
}

.rsdms-dmv-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #d7dde5;
  color: #087ff0;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-align: center;
}

.rsdms-dmv-link:hover,
.rsdms-dmv-link:focus {
  color: #066ccc;
  text-decoration: none;
}

.rsdms-water-drop {
  display: none;
}

.rsdms-recovery-modal {
  align-items: center;
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 2000;
}

.rsdms-recovery-modal.is-open {
  display: flex;
}

.rsdms-recovery-backdrop {
  background: rgba(15, 31, 52, 0.54);
  inset: 0;
  position: absolute;
}

.rsdms-recovery-dialog {
  background: #fff;
  border: 1px solid rgba(198, 215, 231, 0.78);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(15, 40, 70, 0.22);
  color: #1f2937;
  max-width: 440px;
  padding: 34px 36px 32px;
  position: relative;
  width: min(100%, 440px);
}

.rsdms-recovery-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.rsdms-recovery-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #8a98aa;
  display: flex;
  font-size: 28px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: static;
  width: 34px;
}

.rsdms-recovery-icon {
  align-items: center;
  background: linear-gradient(180deg, #edf7ff 0%, #e2f2ff 100%);
  border-radius: 50%;
  color: #0b86ef;
  display: flex;
  font-size: 24px;
  height: 62px;
  justify-content: center;
  margin: 0;
  width: 62px;
}

.rsdms-recovery-icon .fa {
  display: block;
  line-height: 1;
}

.rsdms-recovery-dialog h2 {
  color: #1f2937;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 10px;
}

.rsdms-recovery-dialog p {
  color: #64748b;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.rsdms-recovery-dialog label {
  color: #1f2937;
  display: block;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.rsdms-recovery-dialog .form-control {
  border: 1px solid #d4dce7;
  border-radius: 6px;
  box-shadow: none;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px;
  height: 48px;
  margin-bottom: 18px;
}

.rsdms-recovery-submit {
  background: linear-gradient(135deg, #18bed1 0%, #087ff0 100%) !important;
  border: 0;
  border-radius: 6px;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 15px;
  font-weight: 600;
  height: 48px;
}

.rsdms-recovery-message:empty {
  display: none;
}

.rsdms-recovery-message.alert {
  border-radius: 8px;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 13px;
  margin: 0 0 16px;
  padding: 11px 13px;
}

.rsdms-recovery-done {
  display: none;
}

.rsdms-recovery-secondary {
  background: transparent;
  border: 0;
  color: #087ff0;
  display: block;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  margin: 4px auto 16px;
  padding: 0;
}

.rsdms-recovery-secondary:hover,
.rsdms-recovery-secondary:focus {
  color: #066ccc;
  text-decoration: underline;
}

.rsdms-reset-page {
  align-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(24, 190, 209, 0.12), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 100%);
  display: flex;
  min-height: 100vh;
  padding: 32px 18px;
}

.rsdms-reset-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(198, 215, 231, 0.86);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(21, 39, 63, 0.14);
  color: #102545;
  margin: 0 auto;
  max-width: 460px;
  padding: 34px 38px 30px;
  width: 100%;
}

.rsdms-reset-card .rsdms-recovery-icon {
  margin: 0 0 18px;
}

.rsdms-reset-card h1 {
  color: #0b1f3e;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
}

.rsdms-reset-card p {
  color: #61708a;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.rsdms-reset-card label {
  color: #102545;
  display: block;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}

.rsdms-reset-card .form-control {
  border: 1px solid #cfdbea;
  border-radius: 7px;
  box-shadow: none;
  color: #102545;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px;
  height: 48px;
  margin-bottom: 18px;
}

.rsdms-reset-card .form-control:focus {
  border-color: #0b86ef;
  box-shadow: 0 0 0 3px rgba(11, 134, 239, 0.12);
}

.rsdms-reset-back {
  color: #087ff0;
  display: inline-block;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
  text-align: center;
  width: 100%;
}

.rsdms-reset-back:hover,
.rsdms-reset-back:focus {
  color: #066ccc;
  text-decoration: none;
}

.auth-password-hint {
  color: #64748b !important;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  margin: -4px 0 10px !important;
}

.auth-password-rules {
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.auth-password-rules li {
  color: #7a8798;
  font-family: Inter, Roboto, Arial, sans-serif !important;
  font-size: 12px;
  line-height: 1.35;
  padding-left: 18px;
  position: relative;
}

.auth-password-rules li::before {
  background: #cbd5e1;
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 7px;
}

.auth-password-rules li.ok {
  color: #0f8a58;
}

.auth-password-rules li.ok::before {
  background: #0fba75;
}

@media screen and (max-width: 1200px) {
  .rsdms-login-panel.left {
    padding: 40px 44px;
  }

  .rsdms-login-showcase.right {
    padding: 40px 42px;
  }

  .rsdms-dmv-card {
    grid-template-columns: 76px 1fr;
    gap: 8px 26px;
    padding: 28px 32px 23px;
  }

  .rsdms-dmv-icon {
    width: 76px;
    height: 76px;
    font-size: 29px;
  }

  .rsdms-dmv-copy h3 {
    font-size: 17px !important;
  }

  .rsdms-dmv-copy p {
    font-size: 15px !important;
  }
}

@media screen and (max-width: 980px) {
  html.fullscreen-bg,
  html.fullscreen-bg body,
  body {
    overflow: auto;
  }

  .rsdms-login-page {
    min-height: 100vh;
    height: auto;
    padding: 24px;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    overflow: auto;
  }

  .rsdms-login-shell.auth-box {
    display: block;
    width: min(100%, 560px);
    max-width: 560px !important;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(21, 39, 63, 0.12);
  }

  .rsdms-login-panel.left {
    padding: 48px 34px;
  }

  .rsdms-login-panel .content {
    transform: none;
  }

  .rsdms-login-showcase.right {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  .rsdms-login-page {
    padding: 16px;
  }

  .rsdms-login-panel.left {
    padding: 38px 22px;
  }

  .rsdms-login-panel .lead {
    font-size: 24px;
  }

  .rsdms-login-panel .form-group {
    margin-bottom: 23px;
  }

  .rsdms-input-wrap .form-control,
  .rsdms-login-button.btn {
    height: 56px;
  }

  .rsdms-login-panel .bottom {
    margin-top: 26px;
  }
}
