/* ============================================================
   InsureBuddy — Register Page Styles
   ============================================================ */

/* ─── Auth Page Wrapper (wider for register) ─────────────── */
.auth-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 48px;
  background: var(--navy-light);
}

/* ─── Mobile: pull section up to remove gap behind fixed header ── */
@media(max-width: 768px) {
  .auth-register-section {
    margin-top: -68px;
  }
}

@media(max-width: 480px) {
  .auth-register-section {
    margin-top: -68px;
  }
}

@media(max-width: 768px) {
  .mobile-logo {
    margin-top: 55px;
  }
}

@media(max-width: 480px) {
  .mobile-logo {
    margin-top: 55px;
  }
}


.auth-box {
  width: 100%;
  max-width: 500px;
}

.auth-logo-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo-wrap .logo {
  justify-content: center;
  margin-bottom: 8px;
}

.auth-logo-wrap h2 {
  margin-top: 20px;
}

.auth-logo-wrap p {
  font-size: 15px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

/* ─── Trust Badges Row ───────────────────────────────────── */
.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

/* ─── Name Fields Grid ───────────────────────────────────── */
.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media(max-width:480px) {
  .name-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Terms Checkbox ─────────────────────────────────────── */
.terms-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.terms-label input[type="checkbox"] {
  accent-color: var(--emerald);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.terms-label span {
  font-size: 13px;
  color: var(--gray-500);
}

.terms-label a {
  color: var(--emerald);
}

.terms-label a:hover {
  color: var(--emerald-dk);
}

/* ─── Auth Footer Link ───────────────────────────────────── */
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray-400);
}

.auth-switch a {
  color: var(--emerald);
  font-weight: 600;
}

.auth-switch a:hover {
  color: var(--emerald-dk);
}
/* ── Disease Tag Picker ─────────────────────────────── */
.disease-picker { position: relative; }
.disease-tags-wrap {
  min-height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  cursor: text;
  transition: border-color 0.15s;
}
.disease-tags-wrap:focus-within { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.disease-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.disease-tag .dtag-remove {
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  color: #93C5FD;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
}
.disease-tag .dtag-remove:hover { color: #1D4ED8; }
.disease-search-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 4px 4px !important;
  font-size: 13px !important;
  min-width: 120px;
  flex: 1;
  background: transparent !important;
}
.disease-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 999;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}
.disease-dropdown.open { display: block; }
.disease-dropdown-item {
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.1s;
}
.disease-dropdown-item:hover,
.disease-dropdown-item.highlighted { background: #EFF6FF; color: #1D4ED8; }
.disease-dropdown-item.add-custom {
  color: var(--pri);
  font-weight: 600;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: #fff;
}
.disease-dropdown-item.add-custom:hover { background: #EFF6FF; }
.disease-hidden-input { display: none; }
.disease-none-tag {
  background: #F0FDF4;
  color: #15803D;
}