/* ============================================================
   eiq360 – Reset Password  |  reset-password.css
   All class names prefixed with "e-"
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
}

:root {
  --e-rps-blue:          #1289C9;
  --e-rps-blue-hover:    #0f74aa;
  --e-rps-green:         #2DA44E;
  --e-rps-green-bg:      #E6F4EA;
  --e-rps-orange:        #C75B21;
  --e-rps-orange-bg:     #FEF0E7;
  --e-rps-orange-dot:    #E07540;
  --e-rps-text-dark:     #191918;
  --e-rps-text-mid:      #37352F;
  --e-rps-text-muted:    #787774;
  --e-rps-placeholder:   #9B9A97;
  --e-rps-border:        #E8E7E4;
  --e-rps-white:         #ffffff;
  --e-rps-rule-idle:     #BFBFBC;
  --e-rps-rule-done:     #2DA44E;
}

/* ── Wrapper ── */
.e-cus-rps-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

/* ── Two-column body ── */
.e-rps-body {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* ── LEFT panel ── */
.e-rps-left {
  width: 45%;
  flex-shrink: 0;
  position: relative;
  background: white;
  overflow: hidden;
  height: 100vh;
  border-right: 1px solid var(--e-rps-border);
}

/* Gradient blobs */
.e-rps-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(40px);
}
.e-rps-blob--blue {
  width: 620px; height: 380px;
  left: 50px; top: 110px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(74,156,232,0.55) 0%, rgba(74,156,232,0) 100%);
}
.e-rps-blob--orange {
  width: 380px; height: 360px;
  left: -30px; top: 320px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(255,155,85,0.55) 0%, rgba(255,155,85,0) 100%);
}
.e-rps-blob--pink {
  width: 620px; height: 360px;
  left: 100px; top: 480px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(255,183,200,0.55) 0%, rgba(255,183,200,0) 100%);
}

/* Frosted card */
.e-rps-left-card {
  position: absolute;
  width: 560px; height: 500px;
  left: 80px; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.50);
  border-radius: 12px;
  outline: 1px rgba(255,255,255,0.70) solid;
  outline-offset: -1px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.e-rps-left-card-placeholder {
  color: #787774;
  font-size: 14px;
  font-weight: 700;
}

/* ── RIGHT column ── */
.e-rps-right-col {
  width: 55%;
  display: flex;
  flex-direction: column;
  background: var(--e-rps-white);
  height: 100vh;
  overflow-y: auto;
}

/* ── Nav ── */
.e-rps-nav {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid var(--e-rps-border);
  flex-shrink: 0;
}
.e-rps-nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.e-rps-nav-logo-svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.e-rps-nav-logo-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--e-rps-text-dark);
  letter-spacing: -0.2px;
}
.e-rps-nav-logo-text strong { font-weight: 700; }

/* ── Form area ── */
.e-rps-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  overflow-y: auto;
}

/* ── Footer ── */
.e-rps-footer {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-top: 1px solid var(--e-rps-border);
  flex-shrink: 0;
}
.e-rps-footer-copy {
  color: var(--e-rps-text-muted);
  font-size: 12px;
  font-weight: 400;
}
.e-rps-footer-links { display: flex; gap: 20px; }
.e-rps-footer-link {
  color: var(--e-rps-text-muted);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}
.e-rps-footer-link:hover { color: var(--e-rps-text-dark); }

/* ── Screen base ── */
.e-rps-screen { display: none; }
.e-rps-screen.e-rps-screen--active {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 448px;
}

/* ── Back link ── */
.e-rps-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--e-rps-blue);
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
  text-decoration: none;
  cursor: pointer;
}
.e-rps-back-link:hover { text-decoration: underline; }
.e-rps-back-icon {
  width: 8px; height: 8px;
  border-left: 1.5px solid var(--e-rps-blue);
  border-bottom: 1.5px solid var(--e-rps-blue);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Badge ── */
.e-rps-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  width: fit-content;
}
.e-rps-badge--green {
  background: var(--e-rps-green-bg);
  color: var(--e-rps-green);
}
.e-rps-badge--orange {
  background: var(--e-rps-orange-bg);
  color: var(--e-rps-orange);
}
.e-rps-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.e-rps-badge--green .e-rps-badge-dot { background: var(--e-rps-green); }
.e-rps-badge--orange .e-rps-badge-dot { background: var(--e-rps-orange-dot); }

/* green badge uses checkmark svg instead of dot */
.e-rps-badge-check {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* ── Heading block ── */
.e-rps-heading-block { display: flex; flex-direction: column; gap: 8px; }
.e-rps-title {
  color: var(--e-rps-text-dark);
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
}
.e-rps-subtitle {
  color: var(--e-rps-text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

/* ── Field group ── */
.e-rps-field-group { display: flex; flex-direction: column; gap: 8px; }
.e-rps-fields-stack { display: flex; flex-direction: column; gap: 16px; }
.e-rps-label {
  color: var(--e-rps-text-mid);
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
}

/* ── Input wrapper (for eye icon) ── */
.e-rps-input-wrap {
  position: relative;
  width: 100%;
}

.e-rps-body .e-rps-right .e-rps-input {
  width: 100% !important;
  height: 47px !important;
  min-height: 47px !important;
  padding: 10px 44px 10px 16px !important;
  background: var(--e-rps-white) !important;
  border-radius: 8px !important;
  border: 1px solid var(--e-rps-border) !important;
  outline: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--e-rps-text-dark) !important;
  line-height: 22px !important;
  transition: border-color 0.18s ease !important;
}

.e-rps-input::placeholder { color: var(--e-rps-placeholder); }
.e-rps-input:focus {
  border-color: var(--e-rps-blue);
  box-shadow: 0 0 0 3px rgba(18,137,201,0.12);
}
.e-rps-input.e-rps-input--error { border-color: #d93025; }

/* Eye toggle */
.e-rps-eye-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--e-rps-text-muted);
  line-height: 0;
}
.e-rps-eye-btn:hover { color: var(--e-rps-text-dark); }
.e-rps-eye-btn svg { width: 18px; height: 18px; }

/* ── Password rules ── */
.e-rps-rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.e-rps-rules-title {
  color: var(--e-rps-text-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 21px;
  margin-bottom: 0 !important;
}
.e-rps-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 21px;
  color: var(--e-rps-text-muted);
  transition: color 0.2s ease;
}
.e-rps-rule.e-rps-rule--met { color: var(--e-rps-text-dark); }

/* Rule icon: circle or filled check */
.e-rps-rule-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--e-rps-rule-idle);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.e-rps-rule.e-rps-rule--met .e-rps-rule-icon {
  background: var(--e-rps-green);
  border-color: var(--e-rps-green);
}
.e-rps-rule-icon svg {
  display: none;
  width: 10px; height: 10px;
}
.e-rps-rule.e-rps-rule--met .e-rps-rule-icon svg { display: block; }

/* ── CTA block ── */
.e-rps-action-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.e-rps-btn-primary {
  width: 100%;
  height: 47px;
  background: var(--e-rps-blue);
  border: none;
  border-radius: 8px;
  color: var(--e-rps-white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.e-rps-btn-primary:hover {
  background: var(--e-rps-blue-hover);
  box-shadow: 0 4px 12px rgba(18,137,201,0.28);
}
.e-rps-btn-primary:active { background: #0c629e; }
.e-rps-btn-primary:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.e-rps-btn-outline {
  width: 100%;
  height: 47px;
  background: var(--e-rps-white);
  border: 1px solid var(--e-rps-border);
  border-radius: 8px;
  color: var(--e-rps-text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.e-rps-btn-outline:hover {
  border-color: #c8c7c4;
  background: #fafaf9;
}

.e-rps-security-note {
  color: var(--e-rps-text-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}

/* ── Inline link row ── */
.e-rps-link-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 21px;
}
.e-rps-text-muted {
  color: var(--e-rps-text-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 21px;
}
.e-rps-link {
  color: var(--e-rps-blue);
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
}
.e-rps-link:hover { color: var(--e-rps-blue-hover); }

/* ── Success screen ── */
.e-rps-success-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Spinner */
.e-rps-spinner-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--e-rps-blue);
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
}
.e-rps-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(18,137,201,0.25);
  border-top-color: var(--e-rps-blue);
  border-radius: 50%;
  animation: e-rps-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes e-rps-spin {
  to { transform: rotate(360deg); }
}

/* ── Expired screen gap override ── */
.e-rps-screen--expired {
  gap: 20px !important;
}
.e-rps-expired-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

div#e-rps-screen-set {
    margin-top: 12rem;
}

.top-navigation {
  display: none;
}

.responsive-css main,
.one-column,
.pfm-layout-col {
  padding: 0 !important;
}

.responsive-css main {
  height: calc(100vh - 0px) !important;
}

button:focus,
button:focus-visible {
  outline: none !important;
}

.e-rps-left-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .e-rps-left {
    display: none;
  }

  .e-rps-right-col {
    width: 100%;
  }

  .e-rps-right {
    padding: 24px 20px;
  }

  .e-rps-nav {
    padding: 0 20px;
  }

  div#e-rps-screen-set {
    margin-top: 2rem;
  }

  .e-rps-footer {
    padding: 16px 20px;
    height: auto;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .e-rps-footer-links {
    gap: 16px;
  }
}
