/* ============================================================
   VerifyFirst — UI Styles
   Enterprise SaaS Identity Platform
   Version: 1.0 MVP
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* === ROOT VARIABLES === */
:root {
  --teal:        #0d9488;
  --teal-dark:   #0f766e;
  --teal-light:  #14b8a6;
  --teal-bg:     #f0fdfa;
  --blue-deep:   #1e3a5f;
  --blue-navy:   #152848;
  --blue-link:   #1d4ed8;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-400:    #9ca3af;
  --gray-500:    #6b7280;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --red:         #ef4444;
  --red-soft:    #fef2f2;
  --green:       #10b981;
  --green-soft:  #f0fdf4;
  --amber:       #f59e0b;
  --shadow-card: 0 25px 70px rgba(0,0,0,0.14), 0 8px 30px rgba(0,0,0,0.10);
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.09);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --transition:  all 0.25s ease;
}

/* === BASE RESET === */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-900);
  margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }

/* ============================================================
   LANDING PAGE
   ============================================================ */
#landing-page { min-height: 100vh; }

.landing-wrapper {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  /* Corporate office / teamwork themed background */
  background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

/* Dark blue-teal gradient overlay — trust, security, identity */
.landing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(21, 40, 72, 0.90) 0%,
    rgba(13, 148, 136, 0.84) 100%
  );
  z-index: 0;
}

/* Center white card */
.landing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  animation: cardFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  width: 100%;
}

@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Primary title */
.landing-title {
  font-size: clamp(1.6rem, 3.8vw, 2.35rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 0.8rem;
}

/* Subtitle */
.landing-subtitle {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 1.75rem;
}

/* Decorative divider */
.landing-divider {
  border: none;
  border-top: 1.5px solid rgba(13, 148, 136, 0.18);
  margin: 0 auto 1.75rem;
  width: 55%;
}

/* Slogan section */
.slogan-section { margin-bottom: 2rem; }

.slogan-line {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

.slogan-line:last-child {
  margin-bottom: 0;
  color: var(--blue-deep);
}

/* Auth Links (Register / Login) */
.auth-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin: 1.75rem 0 1.1rem;
}

.auth-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.auth-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2.5px;
  background: var(--teal);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.auth-link:hover { color: var(--teal-dark); }
.auth-link:hover::after { width: 100%; }

/* Note below auth links */
.auth-note {
  font-size: 0.84rem;
  color: var(--gray-500);
  font-weight: 400;
  margin-bottom: 0;
}

/* ============================================================
   STEP INDICATOR (Registration)
   ============================================================ */
.step-indicator {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 2rem;
}

.step-item { display: flex; flex-direction: column; align-items: center; }

.step-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  border: 2px solid var(--gray-200);
  background: var(--gray-100);
  color: var(--gray-400);
  transition: var(--transition);
  position: relative; z-index: 1;
}

.step-circle.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.16);
}

.step-circle.completed {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.step-connector {
  width: 52px; height: 2px;
  background: var(--gray-200);
  margin-top: 16px;
  transition: var(--transition);
}

.step-connector.completed { background: var(--teal); }

.step-label {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-top: 5px;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.step-label.active { color: var(--teal); font-weight: 600; }
.step-label.completed { color: var(--teal); }

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}

.required-star { color: var(--red); margin-left: 2px; }

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  padding: 0.6rem 0.875rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
  outline: none;
}

.form-control.is-invalid { border-color: var(--red); }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14); }
.form-control.is-valid { border-color: var(--green); }

.invalid-feedback {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 500;
  display: none;
}

.invalid-feedback.show { display: block; }

.form-hint {
  font-size: 0.76rem;
  color: var(--gray-500);
  margin-top: 0.3rem;
}

.form-hint.italic-note {
  font-style: italic;
  color: var(--gray-600);
}

/* Phone input with +1 prefix */
.phone-wrapper {
  display: flex;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.phone-wrapper:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

.phone-wrapper.is-invalid { border-color: var(--red); }
.phone-wrapper.is-invalid:focus-within { box-shadow: 0 0 0 3px rgba(239,68,68,0.14); }

.phone-prefix {
  display: flex; align-items: center;
  padding: 0.6rem 0.875rem;
  background: var(--gray-100);
  border-right: 1.5px solid var(--gray-200);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

.phone-input-field {
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.phone-input-field:focus { box-shadow: none !important; }

/* File upload */
.file-upload-zone {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
  position: relative;
}

.file-upload-zone:hover {
  border-color: var(--teal);
  background: var(--teal-bg);
}

.file-upload-zone.has-file {
  border-color: var(--green);
  background: var(--green-soft);
}

.file-upload-zone input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}

.file-upload-icon { font-size: 2.2rem; color: var(--teal); margin-bottom: 0.5rem; }
.file-upload-text { font-size: 0.85rem; color: var(--gray-600); font-weight: 500; }
.file-name-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  word-break: break-all;
}

/* Checkbox custom */
.form-check-input:checked {
  background-color: var(--teal);
  border-color: var(--teal);
}

.form-check-input:focus { box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-teal {
  background: var(--teal);
  border: none; color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 0.875rem;
  padding: 0.625rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-teal:hover:not(:disabled) {
  background: var(--teal-dark); color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.35);
}

.btn-teal:disabled {
  background: var(--gray-300);
  color: var(--gray-400);
  cursor: not-allowed;
  transform: none; box-shadow: none;
}

.btn-teal:focus { box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.3); }

.btn-outline-mid {
  background: transparent;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-mid:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--gray-700);
}

.btn-danger-soft {
  background: var(--red-soft);
  border: 1.5px solid #fecaca;
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-danger-soft:hover {
  background: #fee2e2; border-color: #fca5a5;
  color: var(--red);
}

/* ============================================================
   MODAL BASE
   ============================================================ */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  font-family: 'Poppins', sans-serif;
}

.modal-header {
  border-bottom: 1px solid var(--gray-100);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header .modal-title {
  font-weight: 700; font-size: 1.05rem;
  color: var(--blue-deep);
  display: flex; align-items: center; gap: 0.5rem;
}

.modal-header .modal-title .modal-icon {
  width: 34px; height: 34px;
  background: var(--teal-bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--teal);
  flex-shrink: 0;
}

.modal-body { padding: 1.6rem; }

.modal-footer {
  border-top: 1px solid var(--gray-100);
  padding: 1rem 1.6rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Inline alerts */
.inline-alert {
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  display: none;
  margin-bottom: 1rem;
}

.inline-alert.show { display: flex; align-items: flex-start; gap: 0.5rem; }

.inline-alert-error {
  background: var(--red-soft);
  color: #b91c1c;
  border-left: 3px solid var(--red);
}

.inline-alert-success {
  background: var(--green-soft);
  color: #15803d;
  border-left: 3px solid var(--green);
}

.inline-alert-info {
  background: #eff6ff;
  color: #1d4ed8;
  border-left: 3px solid #3b82f6;
}

.inline-alert-demo {
  background: #fefce8;
  color: #92400e;
  border-left: 3px solid var(--amber);
}

/* ============================================================
   OTP MODAL
   ============================================================ */
.otp-input-wrapper { text-align: center; }

.otp-input {
  width: 220px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.55em;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  font-family: 'Courier New', monospace;
  color: var(--blue-deep);
  transition: var(--transition);
}

.otp-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
  outline: none;
}

.otp-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.75rem; font-size: 0.8rem;
}

.otp-timer { color: var(--gray-500); }
.otp-timer .time { font-weight: 700; color: var(--teal); }
.otp-timer .time.urgent { color: var(--red); }
.otp-attempts { color: var(--gray-400); font-weight: 500; }

/* ============================================================
   CONSENT BOX (Data usage / Verification consent)
   ============================================================ */
.consent-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #eff6ff 100%);
  border: 1px solid #99f6e4;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.privacy-italic-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--gray-500);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--gray-200);
}

/* ============================================================
   RESET PASSWORD
   ============================================================ */
.radio-card {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  margin-bottom: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: var(--gray-700);
}

.radio-card:hover { border-color: var(--teal); background: var(--teal-bg); }
.radio-card.selected { border-color: var(--teal); background: var(--teal-bg); color: var(--teal-dark); }

.radio-card input[type="radio"] { accent-color: var(--teal); flex-shrink: 0; }

/* ============================================================
   QR VERIFICATION MODAL
   ============================================================ */
.qr-container {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: inline-flex;
  align-items: center; justify-content: center;
}

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

.qr-step-item {
  display: flex; align-items: flex-start; gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.qr-step-num {
  min-width: 24px; height: 24px;
  background: var(--teal); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

.qr-step-text { font-size: 0.82rem; color: var(--gray-600); line-height: 1.5; }

.privacy-box {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 1rem;
  border-left: 3px solid var(--teal);
  font-size: 0.76rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.privacy-box p { margin: 0 0 0.35rem; }
.privacy-box p:last-child { margin-bottom: 0; }

.sms-trouble-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.825rem; color: var(--blue-link);
  text-decoration: underline; cursor: pointer;
  font-weight: 500; transition: var(--transition);
}

.sms-trouble-link:hover { color: #1e40af; }

/* ============================================================
   DASHBOARD
   ============================================================ */
#dashboard {
  min-height: 100vh;
  background: #f0f4f8;
  font-family: 'Poppins', sans-serif;
  display: flex; flex-direction: column;
}

.db-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.9rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 200;
  box-shadow: var(--shadow-sm);
}

.db-logo {
  font-size: 0.95rem; font-weight: 800;
  color: var(--blue-deep); letter-spacing: -0.02em;
}

.db-logo span { color: var(--teal); }

.db-uid {
  font-size: 0.72rem; font-weight: 700;
  color: var(--blue-deep);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 0.28rem 0.75rem;
  letter-spacing: 0.06em;
  font-family: 'Courier New', monospace;
}

.db-signout {
  font-size: 0.82rem; font-weight: 600;
  color: var(--teal); text-decoration: none;
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--teal);
  border-radius: 20px;
  transition: var(--transition);
}

.db-signout:hover { background: var(--teal); color: white; }

.db-content {
  flex: 1;
  max-width: 960px; margin: 0 auto;
  width: 100%; padding: 1.75rem 1.25rem 6rem;
}

/* Verification status card */
.db-verify-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--gray-200);
  text-align: center; margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.verify-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%; margin-right: 6px;
  background: var(--red);
  animation: blink-dot 1.8s ease-in-out infinite;
}

.verify-dot.confirmed { background: var(--green); animation: none; }

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.verify-status-label {
  font-size: 0.9rem; font-weight: 600; color: var(--gray-700);
}

.verify-action-link {
  display: block; margin-top: 0.5rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--blue-link); text-decoration: underline;
  cursor: pointer; transition: var(--transition);
}

.verify-action-link:hover { color: #1e40af; }

.verify-action-link.link-done {
  color: var(--green);
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  font-style: italic;
}

/* Info cards */
.db-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--gray-200);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.db-card-head {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gray-400); margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
}

.db-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--gray-50);
  font-size: 0.855rem;
}

.db-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.db-info-label { color: var(--gray-500); font-weight: 500; }
.db-info-value { color: var(--gray-900); font-weight: 600; text-align: right; }

/* LinkedIn-style profile */
.profile-banner {
  height: 72px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--teal) 100%);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: -1.35rem -1.5rem 0;
}

.profile-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--blue-deep) 100%);
  color: white; font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
  margin-top: -34px; margin-left: 0;
}

.profile-anon-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: #eff6ff; color: var(--blue-link);
  border: 1px solid #bfdbfe;
  border-radius: 20px; padding: 0.2rem 0.65rem;
  font-size: 0.72rem; font-weight: 600;
  margin-left: 0.5rem; vertical-align: middle;
}

.profile-sec-heading {
  font-size: 0.88rem; font-weight: 700;
  color: var(--blue-deep);
  margin: 1.1rem 0 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--gray-100);
}

.skill-tag {
  display: inline-block;
  background: var(--teal-bg); color: var(--teal-dark);
  border: 1px solid #99f6e4;
  border-radius: 20px; padding: 0.22rem 0.7rem;
  font-size: 0.76rem; font-weight: 500; margin: 0.2rem;
}

.profile-placeholder-text {
  font-size: 0.82rem; color: var(--gray-400);
  font-style: italic; padding: 0.5rem 0;
}

/* Fixed bottom info banner */
.db-bottom-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #1a3850 100%);
  color: rgba(255,255,255,0.88);
  text-align: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.78rem; font-weight: 400;
  z-index: 500;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Refresh hint */
.refresh-link {
  font-size: 0.78rem; color: var(--teal); font-weight: 600;
  cursor: pointer; text-decoration: underline;
  transition: var(--transition);
}

.refresh-link:hover { color: var(--teal-dark); }

/* DL Data badges */
.dl-data-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--teal-dark);
  background: var(--teal-bg);
  border: 1px solid #5eead4;
  border-radius: 20px; padding: 0.28rem 0.85rem;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .landing-card { padding: 2.5rem 1.75rem; }

  .step-connector { width: 36px; }

  .modal-dialog { margin: 0.5rem; }

  .db-topbar { flex-wrap: wrap; gap: 0.5rem; }
  .db-content { padding: 1.25rem 1rem 6rem; }

  .qr-col-left, .qr-col-right { width: 100%; }
}

@media (max-width: 480px) {
  .landing-card { padding: 2rem 1.25rem; border-radius: var(--radius-lg); }
  .landing-title { font-size: 1.45rem; }
  .auth-links { gap: 1.75rem; }
  .auth-link { font-size: 1rem; }

  .step-connector { width: 24px; }
  .step-circle { width: 30px; height: 30px; font-size: 0.72rem; }

  .modal-body { padding: 1.25rem; }
  .modal-footer { padding: 0.85rem 1.25rem; }

  .db-topbar { padding: 0.75rem 1rem; }
  .db-uid { font-size: 0.65rem; }
}
