:root {
  --bg: #eef0f4;
  --ink: #181d2b;
  --muted: #5e667d;
  --line: #dfe4ec;
  --card: #f7f8fb;
  --primary: #3a6fd8;
  --primary-2: #5c8ef5;
  --peach: #dbe9ff;
  --sage: #e8eeff;
  --lav: #dce5ff;
  --ok: #2e7a4f;
  --shadow: 0 10px 30px rgba(21, 28, 52, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
  line-height: 1.65;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--primary);
}

.muted {
  color: var(--muted);
}

.msg {
  min-height: 1.2rem;
  color: #3a6fd8;
  font-weight: 600;
}

.msg.error {
  color: #dc3545;
}

.msg.success {
  color: #28a745;
}

.msg.info {
  color: #3a6fd8;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.btn-secondary {
  background: #e9efff;
  color: #2854b4;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(58, 111, 216, 0.35);
  background: rgba(247, 248, 251, 0.7);
  color: #284f9e;
}

.home-view {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(238, 240, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.brand {
  text-decoration: none;
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
}

.menu {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: #2b3248;
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 4.2rem 2rem 3rem;
}

.hero-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 6vw, 4.4rem);
  margin: 0.65rem 0 1rem;
}

.hero-copy p {
  color: #3e4863;
  max-width: 62ch;
  margin-bottom: 0.8rem;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-panel {
  background: rgba(247, 248, 251, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin-bottom: 0.55rem;
}

.hero-panel p {
  margin-bottom: 0.8rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #37405a;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.75;
  z-index: -1;
}

.hero-glow-a {
  width: 430px;
  height: 430px;
  background: var(--peach);
  left: -80px;
  top: 30px;
}

.hero-glow-b {
  width: 420px;
  height: 420px;
  background: var(--sage);
  right: -100px;
  bottom: -50px;
}

.section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.3rem 0;
}

.section-head {
  margin-bottom: 1.1rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 4vw, 2.3rem);
}

.card-grid {
  display: grid;
  gap: 0.75rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.soft {
  background: linear-gradient(135deg, rgba(220, 229, 255, 0.55), rgba(232, 238, 255, 0.7));
}

.timeline {
  display: grid;
  gap: 0.7rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem;
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--lav);
}

.cta {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(220, 229, 255, 0.65), rgba(247, 248, 251, 0.95));
  box-shadow: var(--shadow);
  margin-bottom: 2.2rem;
}

.cta h2 {
  margin-bottom: 0.65rem;
}

.cta p {
  margin-bottom: 1rem;
  color: #404b68;
}

.safel-footer {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.safel-footer-top {
  background: #eef0f4;
  padding: 1.35rem 1.1rem 1.15rem;
}

.safel-footer-grid {
  display: grid;
  grid-template-columns: 25% 50% 25%;
  gap: 0.8rem;
  align-items: start;
}

.footer-col h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: #1f2945;
}

.footer-col p {
  margin: 0.18rem 0;
  color: #4d5874;
}

.safel-socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.safel-socials a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  font-weight: 800;
  color: #1a2340;
  background: #ffffff;
  border: 1px solid #d5dceb;
}

.safel-socials a:hover {
  border-color: #9db4ea;
  color: #2b65c7;
}

.safel-footer-links {
  margin: 0;
  color: #404962;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dotted #9aa5bf;
}

.safel-footer-links a {
  text-decoration: none;
  color: #404962;
  font-weight: 500;
  justify-self: center;
}

.footer-col-left {
  text-align: left;
}

.footer-col-middle {
  text-align: center;
}

.footer-col-right {
  text-align: right;
}

.footer-link-wide {
  grid-column: 1 / -1;
  white-space: nowrap;
  text-align: center;
}

.safel-footer-bottom {
  background: linear-gradient(180deg, #3e547e 0%, #33486f 100%);
  color: #f4f7ff;
  text-align: center;
  padding: 1rem 1rem;
}

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  background: #f0f4f8;
  position: relative;
  overflow: hidden;
}

.login-background-pattern {
  display: none;
}

.login-shell {
  width: min(1000px, 100%);
  background: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(21, 28, 52, 0.12);
  display: flex;
  overflow: hidden;
  position: relative;
  z-index: 10;
  min-height: 600px;
}

.login-art {
  display: none;
}

.login-watermark {
  position: absolute;
  left: 36px;
  top: 28px;
  font-family: "DM Serif Display", serif;
  color: #2b65c7;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.login-card {
  display: flex;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 1200px;
  width: 100%;
  height: 80vh;
  max-height: 800px;
  min-height: 600px;
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.02rem;
  text-align: left;
  text-transform: capitalize;
}

.form-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 2rem;
  text-align: left;
  text-transform: lowercase;
}

.login-title {
  font-size: 3.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: color 0.3s ease;
  align-self: center;
}

.login-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  text-align: center;
  align-self: center;
}

.login-content {
  display: flex;
  flex: 1;
}

.login-left {
  flex: 3;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Specific alignment for forgot password left side */
#forgotView .login-left {
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 3rem;
}

/* Center the forgot password form */
#forgotView #forgotForm {
  width: 100%;
  text-align: left;
}

/* Center form elements */
#forgotView .phone-field,
#forgotView .forgot-otp-row,
#forgotView .password-field,
#forgotView .password-requirements,
#forgotView .actions {
  width: 100%;
}

/* Ensure labels are aligned */
#forgotView label {
  display: block;
  text-align: left;
}

/* Move SafeL title and subtitle higher in forgot password */
#forgotView .login-title {
  margin-top: -1rem;
  margin-bottom: 0.5rem;
}

#forgotView .login-subtitle {
  margin-bottom: 1.5rem;
}

/* Add spacing before New Password section */
#forgotView .forgot-otp-row {
  margin-bottom: 1.5rem;
}

/* Increase space between password fields in forgot password */
#forgotView label[for="forgotNewPassword"] {
  margin-top: 0.5rem;
}

#forgotView label[for="forgotConfirmPassword"] {
  margin-top: 1.5rem;
}

/* OTP 6-slot UI (forgot password) */
#forgotView .otp-field {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
}

#forgotView .otp-slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 0.9rem;
}

#forgotView .otp-slot {
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  font-weight: 600;
  color: #a8b1c2;
  min-height: 28px;
  position: relative;
}

#forgotView .otp-slot.filled {
  color: #111827;
}

#forgotView .otp-slot.active::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 1.15em;
  background: #2b65c7;
  border-radius: 2px;
  opacity: 0.9;
  animation: otpCaretBlink 1s step-end infinite;
}

@keyframes otpCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

#forgotView .otp-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  font: inherit;
  outline: none;
  padding: 0.65rem 0.9rem;
}

#forgotView .otp-field:focus-within {
  outline: 2px solid rgba(47, 111, 100, 0.18);
  border-color: var(--primary);
}

@media (max-width: 767px) {
  .login-view {
    padding: 0.9rem;
    place-items: start;
  }

  .login-shell {
    min-height: auto;
    border-radius: 18px;
  }

  .login-card {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .login-content {
    flex-direction: column;
  }

  .login-right {
    display: flex !important;
    width: 100%;
    min-height: auto;
    padding: 1.25rem 1.1rem;
    border-top: 1px solid var(--line);
  }

  .login-left {
    flex: 1;
    width: 100%;
    padding: 1.25rem 1.1rem;
  }

  /* Mobile alignment for forgot password left side */
  #forgotView .login-left {
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem 1.1rem;
  }

  /* Mobile form alignment */
  #forgotView #forgotForm {
    width: 100%;
    max-width: none;
  }

  .oauth-options {
    margin-bottom: 0.5rem;
  }

  #loginView .login-title {
    font-size: 2.4rem;
    text-align: center;
    align-self: center;
    width: 100%;
  }

  #loginView .login-subtitle {
    margin-bottom: 1.25rem;
    text-align: center;
    align-self: center;
    width: 100%;
  }

  .form-title {
    font-size: 1.4rem;
  }

  .form-subtitle {
    margin-bottom: 1.2rem;
  }

  .illustration-content,
  .forgot-illustration-content,
  .illustration-text,
  .forgot-illustration-text,
  .illustration-progress {
    height: auto;
  }

  .illustration-content,
  .forgot-illustration-content {
    min-height: 260px;
  }

  .illustration-state {
    position: static;
    width: auto;
    height: auto;
  }

  .main-illustration {
    width: 100%;
    height: auto;
    max-width: 320px;
  }
}

.login-right {
  flex: 2;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  min-height: 600px;
}

.login-illustration,
.forgot-illustration {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.illustration-content,
.forgot-illustration-content {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.illustration-text,
.forgot-illustration-text {
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.illustration-progress {
  height: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-state {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.illustration-state.active {
  display: flex;
  opacity: 1;
}

.text-state {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-align: center;
}

.text-state.active {
  display: block;
  opacity: 1;
}

.illustration-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-icon svg {
  max-width: 200px;
  max-height: 200px;
  width: 100%;
  height: auto;
}

.dynamic-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.5rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

 .login-illustration .text-state .dynamic-title {
  color: #000000;
 }

 .login-illustration .text-state h3.dynamic-title {
  font-family: inherit;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #000000;
 }

.dynamic-description {
  font-size: 0.9rem;
  color: #000000;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.4;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.feature-icon {
  color: #3a6fd8;
  font-weight: bold;
}



.progress-dots-container {
  display: flex;
  align-items: center;
  gap: 0;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d9e6;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.progress-dot.active {
  background: #3a6fd8;
  transform: scale(1.2);
}

.progress-dot:hover {
  background: #5c8ef5;
}

.progress-line {
  width: 40px;
  height: 2px;
  background: #d1d9e6;
  position: relative;
  margin: 0 -4px;
  z-index: 1;
}

.progress-line-fill {
  height: 100%;
  background: #3a6fd8;
  width: 0%;
  transition: width 0.1s linear;
}

.illustration-icon {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.main-illustration {
  animation: gentleFloat 8s ease-in-out infinite;
}

 .login-illustration .main-illustration {
  max-width: 420px;
 }

 .forgot-illustration .main-illustration {
  max-width: 340px;
 }

.main-illustration .main-illustration circle:nth-child(1) {
  animation: pulse 4s ease-in-out infinite;
}

.main-illustration g:nth-child(3) {
  animation: documentFloat 6s ease-in-out infinite;
}

.main-illustration g:nth-child(4) {
  animation: keyRotate 10s linear infinite;
}

.main-illustration g:nth-child(5) {
  animation: clockTick 4s ease-in-out infinite;
}

.main-illustration g:nth-child(6) {
  animation: familyPulse 5s ease-in-out infinite;
}

.main-illustration circle:nth-last-child(5),
.main-illustration circle:nth-last-child(4),
.main-illustration circle:nth-last-child(3),
.main-illustration circle:nth-last-child(2) {
  animation: particleFloat 3s ease-in-out infinite;
}

@media (max-width: 767px) {
  .safel-footer {
    border-radius: 0 0 16px 16px;
  }

  .safel-footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-col-left,
  .footer-col-middle,
  .footer-col-right {
    text-align: center;
  }

  .safel-footer-links {
    grid-template-columns: 1fr;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .footer-link-wide {
    white-space: normal;
  }

  .safel-socials a {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes documentFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(2deg); }
}

@keyframes keyRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes clockTick {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

@keyframes familyPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px); opacity: 0.4; }
  50% { transform: translateY(-3px); opacity: 0.6; }
}

.login-illustration h3 {
  font-family: "DM Serif Display", serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
  transition: opacity 0.5s ease-in-out;
}

.login-illustration p {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a6c7d;
  margin-bottom: 1.5rem;
  transition: opacity 0.5s ease-in-out;
}

.forgot-illustration h3 {
  font-family: "DM Serif Display", serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.forgot-illustration p {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a6c7d;
  margin-bottom: 1.5rem;
}

.feature-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: #4a5568;
}

.feature-item span:last-child {
  transition: opacity 0.5s ease-in-out;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #3a6fd8;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.login-title {
  margin: 0;
  font-family: "DM Serif Display", serif;
  color: #2b65c7;
  font-size: 2rem;
}

.login-title.centered {
  text-align: center;
}

.logo-clickable {
  cursor: pointer;
  transition: color 180ms ease;
}

.logo-clickable:hover {
  color: #1a4db8;
}

.login-subtitle {
  font-size: 0.98rem;
  color: #4e5873;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}

.text-btn {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.text-btn-bottom {
  margin-top: 0.35rem;
  justify-self: start;
}

.stack {
  display: grid;
  gap: 0.68rem;
  margin-top: 1rem;
}

.phone-field {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.phone-field.phone-mode {
  grid-template-columns: 1fr;
}

.phone-field:focus-within {
  outline: 2px solid rgba(47, 111, 100, 0.18);
  border-color: var(--primary);
}

.country-code-select {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line);
  width: 96px;
  min-width: 96px;
  padding: 0.82rem 0.55rem;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 700;
  color: #2b65c7;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

}

.country-code-select:focus {
  outline: none;
}

.country-name {
  margin: -0.2rem 0 0.15rem;
  font-size: 0.8rem;
  color: #65708a;
}

.phone-field input {
  border: 0;
  border-radius: 0;
}

 .phone-field .iti {
  width: 100%;
 }

 .phone-field .iti__tel-input,
 .phone-field .iti input[type="tel"] {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0.72rem 0.85rem;
  font: inherit;
 }

 .phone-field .iti__country-container {
  border-right: 1px solid var(--line);
 }

 .phone-field .iti__selected-country {
  padding: 0.72rem 0.55rem;
  background: transparent;
 }

 .phone-field .iti__selected-country:focus {
  outline: none;
 }

 .phone-field .iti__selected-dial-code {
  font-weight: 700;
  color: #2b65c7;
 }

 .phone-field .iti__arrow {
  margin-left: 6px;
 }

 .phone-field .iti__selected-country-primary {
  gap: 10px;
 }

 .phone-field .iti__dropdown-content {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(21, 28, 52, 0.18);
  z-index: 1200;
 }

 .iti--container {
  z-index: 2000;
 }

 .iti--container .iti__dropdown-content {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(21, 28, 52, 0.18);
 }

 .iti--container .iti__country-list {
  max-height: 280px;
 }

 .iti--container .iti__search-input {
  border-radius: 12px;
  border: 1px solid var(--line);
 }

 .iti--container .iti__country,
 .phone-field .iti__country {
  display: flex;
  align-items: center;
  gap: 10px;
 }

 .iti--container .iti__country-name,
 .phone-field .iti__country-name {
  flex: 1 1 auto;
  min-width: 0;
 }

 .iti--container .iti__dial-code,
 .phone-field .iti__dial-code {
  margin-left: auto;
  text-align: right;
  font-variant-numeric: tabular-nums;
 }

 .phone-field .iti__country-list {
  max-height: 280px;
 }

 .phone-field .iti__search-input {
  border-radius: 12px;
  border: 1px solid var(--line);
 }

 .phone-field .iti__country.iti__highlight {
  background: #eaf0ff;
 }

 .phone-field .iti__country.iti__active {
  background: #eaf0ff;
 }

.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.password-field:focus-within {
  outline: 2px solid rgba(47, 111, 100, 0.18);
  border-color: var(--primary);
}

.password-field input {
  border: 0;
  border-radius: 0;
}

.toggle-password {
  border: 0;
  background: #f8f9fb;
  color: var(--muted);
  padding: 0.72rem 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.toggle-password:hover {
  color: var(--primary);
  background: #edf3ff;
}

.toggle-password:focus {
  outline: none;
  background: #edf3ff;
}

.password-requirements {
  margin-top: 0.5rem;
  padding: 1rem;
  background: #f8f9fb;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
  font-size: 0.85rem;
}

.password-requirements.hidden {
  display: none;
}

.requirements-title {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

.requirements-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirement {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
  color: #a8b1c2;
  transition: color 180ms ease;
}

.requirement:last-child {
  margin-bottom: 0;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  border: 1px solid #a8b1c2;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  color: transparent;
  transition: all 180ms ease;
}

.requirement.invalid .check-icon {
  background: transparent;
  border-color: #a8b1c2;
  color: transparent;
}

.requirement.valid .check-icon {
  background: #34a853;
  border-color: #34a853;
  color: #fff;
}

.requirement.valid {
  color: #34a853;
}

.password-mismatch-feedback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fce8e8;
  border: 1px solid #dc3545;
  border-radius: 8px;
  color: #dc3545;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 180ms ease;
}

.password-mismatch-feedback.hidden {
  display: none;
}

.mismatch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
}

.strong-password-test {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #e8f5e8;
  border: 1px solid #34a853;
  border-radius: 8px;
  color: #34a853;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 180ms ease;
}

.btn.faded {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f8f9fb;
  color: #a8b1c2;
  border-color: #e0e4ec;
}

.btn.faded:hover {
  opacity: 0.5;
  background: #f8f9fb;
  color: #a8b1c2;
  border-color: #e0e4ec;
  transform: none;
}

.password-match-feedback {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #e8f5e8;
  border: 1px solid #34a853;
  border-radius: 8px;
  color: #34a853;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 180ms ease;
}

.password-match-feedback.hidden {
  display: none;
}

.match-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #34a853;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn.back {
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider span {
  padding: 0 1rem;
}

.oauth-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-google {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
}

.btn-google:hover {
  background: #f8f9fb;
  border-color: #dadce0;
}

.btn-google:focus {
  outline: none;
  background: #f8f9fb;
  border-color: var(--primary);
}

.login-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4f5570;
}

.remember input {
  width: auto;
}

.forgot {
  color: #5b7ece;
  text-decoration: none;
  font-weight: 600;
}

.login-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.login-actions .btn {
  flex: 1;
}

.otp-inline {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.forgot-card {
  background: linear-gradient(160deg, #f8faff 0%, #f4f7fc 100%);
}

.forgot-otp-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes vaultPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #8f99ae;
  opacity: 0.62;
  letter-spacing: 0.01em;
  transition: opacity 180ms ease, color 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(47, 111, 100, 0.18);
  border-color: var(--primary);
}

input:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0.22;
  color: #a8b1c2;
}

.dashboard-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  background:
    radial-gradient(1200px 480px at 50% -120px, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #e6dfd7 0%, #eee7df 55%, #f2ece5 100%);
}

.boutique-layout {
  width: min(1220px, 100%);
  margin: 0 auto;
  background: #fcf9f6;
  border: 1px solid #e6ddd2;
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow:
    0 24px 48px rgba(33, 26, 18, 0.11),
    0 2px 0 rgba(255, 255, 255, 0.65) inset;
}

.dash-main {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.double-line {
  width: 34px;
  height: 34px;
  border: 1px solid #ddd5cc;
  border-radius: 10px;
  background: #f8f3ec;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  cursor: pointer;
}

.double-line span {
  width: 14px;
  height: 2px;
  background: #5a5650;
  border-radius: 3px;
}

.daily-hero {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: stretch;
  border: 1px solid #e6ddd4;
  background: #f9f6f2;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(33, 26, 18, 0.05);
  min-height: 423px;
}

.daily-hero.overdue {
  border-color: #e6ddd4;
  background: #f9f6f2;
}

.daily-minimal {
  padding: 0.81rem;
  min-height: 100%;
  border-right: 1px solid #e6ddd4;
  background: #f7f3ee;
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 0.5rem;
  position: relative;
}

.daily-spacer {
  background: #f5f1eb;
  border-top-right-radius: 22px;
  border-bottom-right-radius: 22px;
}

.daily-spacer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.76rem;
  padding: 0.81rem;
  align-items: stretch;
  align-content: stretch;
}

.daily-spacer-actions .quick-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 20px;
  border: 1px solid #e1d7cc;
  background: #fffdfa;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  padding: 0.81rem;
}

.daily-spacer-actions .quick-card:hover {
  border-color: rgba(47, 95, 193, 0.4);
  background: #f5f8ff;
}

.daily-spacer-actions .quick-card.active {
  border-color: rgba(47, 95, 193, 0.45);
  background: #edf2ff;
}

.checkin-button {
  position: relative;
  width: min(414px, calc(100% - 1.62rem));
  height: clamp(162px, 40%, 198px);
  min-height: 162px;
  border: 1px solid #e1d7cc;
  background: #fffdfa;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  border-radius: 30px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
}

.checkin-button-label {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(241, 247, 255, 0.2);
  border: 0;
  border-radius: 30px;
}

.checkin-button-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: #3a6fd8;
  transition: width 450ms ease, background-color 550ms ease;
}

.checkin-button-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 1rem;
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.58rem, 3.55vw, 2.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(14, 24, 56, 0.2);
}

.checkin-button.timer-finished .checkin-button-text {
  color: #f5b2b2;
}

.checkin-note {
  margin: 0;
  display: block;
  min-height: 1.3rem;
  align-self: center;
  justify-self: center;
  text-align: center;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: #65708a;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.daily-hero.overdue .checkin-note {
  color: #d78989;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.quick-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 0.65rem;
  align-items: stretch;
  padding: 0.55rem;
  background: #f8f3ee;
  border: 1px solid #e7ddd2;
  border-radius: 0;
  box-shadow: none;
}

.quick-card {
  border: 1px solid #e7ddd2;
  border-radius: 0;
  background: #fffdfa;
  padding: 1rem 0.8rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  min-height: 110px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.35rem;
}

.quick-card.active {
  border-color: rgba(47, 95, 193, 0.45);
  background: #edf2ff;
}

.quick-lead {
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  line-height: 1.05;
  padding-left: 1rem;
}

.quick-icon {
  font-size: 1.45rem;
}

.panel.card {
  border: 1px solid #e7ddd2;
  border-radius: 12px;
  background: #fbf8f4;
  box-shadow: 0 10px 20px rgba(24, 20, 15, 0.05);
}

.ref-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.ref-nav {
  display: flex;
  gap: 0.5rem;
}

.ref-nav-btn,
.ref-icon-btn {
  border: 1px solid #e3dace;
  background: #faf7f2;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.ref-nav-btn.active,
.ref-icon-btn.active {
  background: #eaf0ff;
  border-color: rgba(47, 95, 193, 0.45);
}

.ref-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 36, 0.45);
  display: grid;
  place-items: center;
  z-index: 999;
  padding: 1rem;
}

.modal-card {
  width: min(420px, 100%);
  background: #f8f3ed;
  border: 1px solid #e6ddd2;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(28, 22, 16, 0.18);
  padding: 1rem;
}

.modal-card h3 {
  margin: 0 0 0.4rem;
  font-family: "DM Serif Display", serif;
}

.modal-card p {
  margin: 0;
  color: #5a544c;
}

.modal-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.consent-modal-card {
  width: min(640px, 100%);
}

.consent-modal-subtitle {
  margin-top: 0.2rem;
}

.consent-checklist {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.consent-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: #2a3044;
  line-height: 1.45;
}

.consent-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent-item a {
  color: #2f5fc1;
  text-decoration: underline;
}

.consent-modal-msg {
  min-height: 1.2rem;
  margin-top: 0.5rem;
}

.panel {
  max-width: 1000px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.two-col > button {
  width: fit-content;
  grid-column: 1 / -1;
}

.otp-box {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line);
}

.otp-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.verified {
  margin-top: 0.72rem;
  border: 1px solid #bddcc9;
  background: #ebf7ef;
  color: var(--ok);
  border-radius: 10px;
  padding: 0.6rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .menu {
    display: none;
  }

  .hero-grid,
  .card-grid.three,
  .card-grid.two,
  .dashboard-view,
  .daily-hero,
  .quick-strip,
  .two-col {
    grid-template-columns: 1fr;
  }

  .login-shell {
    display: flex;
    flex-direction: column;
    width: min(600px, 100%);
  }

  .login-card {
    display: flex;
    flex-direction: column;
  }

  .login-left {
    display: flex;
  }

  .login-right {
    display: flex;
    min-height: auto;
  }

  .login-art {
    min-height: 240px;
  }

  .dash-main {
    gap: 0.75rem;
  }

  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem;
  }

  .daily-hero {
    min-height: auto;
  }

  .daily-minimal {
    border-right: 0;
    min-height: 320px;
    padding: 0.75rem;
    grid-template-rows: minmax(150px, 1fr) minmax(70px, auto);
  }

  .checkin-button {
    min-height: 0;
  }

  .checkin-button-label {
    width: 100%;
    height: 100%;
    border-radius: 30px;
  }

  .checkin-button-text {
    font-size: clamp(1.45rem, 8vw, 2.7rem);
  }

  .checkin-note {
    font-size: 1rem;
    white-space: normal;
  }

  .daily-spacer {
    display: grid;
    min-height: 300px;
  }

  .daily-spacer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.75rem;
  }

  .daily-spacer-actions .quick-card {
    min-height: 88px;
    padding: 0.72rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .otp-inline {
    grid-template-columns: 1fr;
  }

  .forgot-otp-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    padding: 0.9rem 1rem;
  }

  .hero {
    padding: 2.1rem 1rem 2.6rem;
  }

  .section {
    width: min(1160px, calc(100% - 1rem));
    padding: 2.5rem 0;
  }

  .dash-header {
    padding: 0.72rem;
  }

  .daily-minimal {
    min-height: 270px;
    padding: 0.65rem;
    grid-template-rows: minmax(130px, 1fr) minmax(64px, auto);
  }

  .checkin-button {
    min-height: 0;
  }

  .checkin-button-label {
    width: 100%;
    max-width: none;
    height: 100%;
    border-radius: 30px;
  }

  .checkin-button-text {
    font-size: clamp(1.3rem, 8.5vw, 2.1rem);
  }

  .checkin-note {
    bottom: 0.82rem;
    font-size: 0.95rem;
  }

  .daily-spacer {
    min-height: 250px;
  }

  .daily-spacer-actions {
    gap: 0.55rem;
    padding: 0.6rem;
  }

  .daily-spacer-actions .quick-card {
    min-height: 74px;
    padding: 0.6rem;
    font-size: 0.9rem;
  }
}

/* Mobile polish overrides */
@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .dashboard-view {
    align-items: flex-start;
    justify-content: center;
    padding: 0.85rem;
  }

  .boutique-layout {
    padding: 0.8rem;
    border-radius: 20px;
  }

  .panel.card {
    padding: 0.9rem;
  }
}

@media (max-width: 680px) {
  .topbar {
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .brand {
    font-size: 1.65rem;
  }

  .topbar .btn {
    padding: 0.62rem 0.95rem;
  }

  .hero {
    padding: 1.6rem 0.8rem 2.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.72rem, 8.4vw, 2.3rem);
  }

  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .section {
    width: min(1160px, calc(100% - 0.85rem));
    padding: 2rem 0;
  }

  .card {
    padding: 0.85rem;
  }

  .login-view {
    padding: 0.8rem;
  }

  .login-shell {
    width: 100%;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
  }

  .login-card {
    display: flex;
    flex-direction: column;
  }

  .login-left {
    display: flex;
  }

  .login-right {
    display: flex;
    min-height: auto;
  }

  .main-illustration {
    width: 100%;
    height: auto;
    max-width: 320px;
  }

  .login-title {
    font-size: 1.65rem;
  }

  .login-actions {
    flex-direction: column;
  }

  .login-actions .btn {
    width: 100%;
  }

  .dashboard-view {
    align-items: flex-start;
    justify-content: center;
    padding: 0.62rem;
  }

  .boutique-layout {
    padding: 0.62rem;
    border-radius: 16px;
  }

  .dash-header {
    padding: 0.4rem 0.2rem;
  }

  .daily-minimal {
    min-height: 250px;
    padding: 0.6rem 0.55rem 4.2rem;
  }

  .checkin-button {
    min-height: 160px;
  }

  .checkin-button-label {
    width: 100%;
    max-width: 520px;
    height: 74px;
    border-radius: 30px;
  }

  .checkin-button-text {
    font-size: clamp(1.18rem, 8.2vw, 1.9rem);
  }

  .checkin-note {
    width: 92%;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.35;
  }

  .daily-spacer {
    min-height: auto;
  }

  .daily-spacer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .daily-spacer-actions .quick-card {
    min-height: 68px;
    font-size: 0.82rem;
    padding: 0.55rem;
    line-height: 1.25;
  }

  .panel {
    max-width: 100%;
  }

  .otp-row {
    flex-direction: column;
    align-items: stretch;
  }

  .otp-row input,
  .otp-row .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding: 0.62rem;
  }

  .login-view {
    padding: 0.5rem;
    place-items: start;
  }

  .login-shell {
    width: 100%;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .login-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .login-left {
    display: flex;
    width: 100%;
    padding: 1.1rem 0.9rem;
  }

  .login-right {
    display: flex;
    width: 100%;
    padding: 1.1rem 0.9rem;
    flex: 1;
    min-height: auto;
    border-top: 1px solid var(--line);
  }

  .main-illustration {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  .illustration-content,
  .forgot-illustration-content {
    min-height: 240px;
  }

  #loginView .login-title {
    text-align: center;
    align-self: center;
    width: 100%;
  }

  #loginView .login-subtitle {
    text-align: center;
    align-self: center;
    width: 100%;
  }

  .brand {
    font-size: 1.48rem;
  }

  .dash-header h2 {
    font-size: 2.1rem;
  }

  .daily-minimal {
    min-height: 220px;
    padding: 0.5rem;
    grid-template-rows: minmax(120px, 1fr) minmax(58px, auto);
  }

  .checkin-button {
    min-height: 0;
  }

  .checkin-button-label {
    width: 100%;
    height: 100%;
  }

  .checkin-button-text {
    font-size: clamp(1.02rem, 7.8vw, 1.45rem);
  }

  .checkin-note {
    font-size: 0.84rem;
  }

  .daily-spacer-actions {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .daily-spacer-actions .quick-card {
    min-height: 58px;
    font-size: 0.86rem;
  }

  .section {
    width: min(1160px, calc(100% - 0.7rem));
  }
}


.login-msg {
  min-height: 1rem;
  margin-top: -0.1rem;
  margin-bottom: 0.05rem;
  font-size: 0.92rem;
}


.dash-user-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid #d9d0c6;
  background: #eef3ff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.dash-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-avatar-fallback {
  font-weight: 800;
  color: #2d5ebd;
  font-size: 1.15rem;
}
