:root {
  --bg: #f3f8ff;
  --surface: #ffffff;
  --surface-soft: #f5f9ff;
  --ink: #102a44;
  --muted: #4f6880;
  --line: #d7e4f2;
  --primary: #1e88e5;
  --primary-deep: #1669b5;
  --accent: #26a69a;
  --danger: #b91c1c;
  --success: #166534;
  --shadow-soft: 0 14px 30px rgba(16, 42, 68, 0.1);
  --shadow-card: 0 18px 42px rgba(16, 42, 68, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: "Open Sans", sans-serif;
  background:
    radial-gradient(circle at 84% 16%, rgba(30, 136, 229, 0.12) 0%, rgba(30, 136, 229, 0) 34%),
    radial-gradient(circle at 15% 10%, rgba(38, 166, 154, 0.12) 0%, rgba(38, 166, 154, 0) 36%),
    linear-gradient(180deg, #f6fbff 0%, var(--bg) 52%, #f3f8ff 100%);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  line-height: 1.1;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(9px);
}

.nav-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  letter-spacing: 0.01em;
}

.brand-mark {
  color: var(--primary);
  font-size: 1.15rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.top-nav a {
  color: #172a30;
  padding: 0.48rem 0.72rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.top-nav a:hover,
.top-nav a.active {
  background: #e9f2fe;
  color: #155ba0;
}

.top-nav .nav-login {
  margin-left: 0.4rem;
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
}

.top-nav .nav-login:hover,
.top-nav .nav-login.active {
  background: var(--primary-deep);
  color: #ffffff;
}

.main-wrap {
  padding: 1.4rem 0 3rem;
}

.flash {
  padding: 0.78rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.flash.success {
  color: var(--success);
  background: #dcfce7;
  border: 1px solid #9de8b7;
}

.flash.error {
  color: var(--danger);
  background: #fee2e2;
  border: 1px solid #f6acac;
}

.hero-shell {
  position: relative;
  border-radius: 26px;
  min-height: min(75vh, 660px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2rem, 4vw, 2.8rem) 1rem 1.4rem;
  overflow: hidden;
  border: 1px solid #cfe1f5;
  background: linear-gradient(130deg, #0b3761 0%, #0f5f90 52%, #12787e 100%);
  box-shadow: var(--shadow-soft);
}

.orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(0.4px);
}

.orb-a {
  width: 350px;
  height: 350px;
  left: -70px;
  top: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(124, 196, 255, 0.35) 0%, rgba(124, 196, 255, 0) 72%);
  animation: floaty 12s ease-in-out infinite;
}

.orb-b {
  width: 430px;
  height: 430px;
  right: -110px;
  bottom: -170px;
  background: radial-gradient(circle at 42% 32%, rgba(126, 247, 225, 0.28) 0%, rgba(126, 247, 225, 0) 72%);
  animation: floaty 14s ease-in-out infinite reverse;
}

.hero-center {
  position: relative;
  z-index: 3;
  width: min(900px, 90%);
  text-align: center;
  padding: 1.7rem 1.2rem 1.9rem;
  border-radius: 20px;
  border: 1px solid rgba(208, 230, 250, 0.58);
  background: rgba(7, 37, 64, 0.3);
  backdrop-filter: blur(3px);
}

.hero-icon {
  display: inline-flex;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #9dd3ff;
}

.hero-center h1 {
  color: #ffffff;
  margin-top: 0.55rem;
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  letter-spacing: -0.03em;
}

.hero-eyebrow {
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c9e8ff;
  font-weight: 700;
  font-size: 0.84rem;
}

.hero-copy {
  margin: 1rem auto 0;
  width: min(700px, 95%);
  color: #e3f2ff;
  font-size: 1.07rem;
  line-height: 1.64;
}

.hero-tagline {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 1.2rem));
  min-height: 58px;
  border-radius: 13px;
  border: 1px solid rgba(200, 228, 250, 0.4);
  background: rgba(7, 35, 59, 0.5);
  overflow: hidden;
}

.hero-tagline-item {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.65rem 1rem;
  color: #edf8ff;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-tagline-item.is-active {
  opacity: 1;
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.08rem;
  border-radius: 12px;
  border: 1px solid #d1dde1;
  color: #0f1f24;
  background: #fdfefe;
  font-weight: 700;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(16, 34, 39, 0.12);
}

.btn.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.btn.primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
}

.btn.light {
  border-color: rgba(215, 233, 252, 0.9);
  color: #0f2d4c;
  background: rgba(245, 251, 255, 0.95);
}

.btn.light:hover {
  border-color: #ffffff;
  background: #ffffff;
}

.btn.small {
  padding: 0.43rem 0.72rem;
  font-size: 0.9rem;
}

.content-section {
  margin-top: 2.1rem;
}

.content-section h2 {
  text-align: center;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.02em;
}

.section-lead {
  text-align: center;
  margin: 0.7rem auto 0;
  width: min(740px, 100%);
  color: var(--muted);
  font-size: 1.1rem;
}

.cards-grid,
.metrics-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid .card {
  border-color: #d5e5f6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.trust-section {
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px solid #d8e7f7;
  background: rgba(255, 255, 255, 0.72);
}

.trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid .card {
  border-color: #d8e7f7;
}

.audience-grid .card {
  border-color: #d6e5f5;
}

.cta-panel {
  padding: clamp(1.2rem, 3.2vw, 2rem);
  text-align: center;
  border: 1px solid #c9def4;
  border-radius: 20px;
  background: linear-gradient(135deg, #edf6ff 0%, #e8fbf9 100%);
  box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.cta-panel p {
  margin-top: 0.8rem;
  color: #33526c;
}

.cta-panel .btn {
  margin-top: 1rem;
}

.nurse-cards-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem;
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-size: 1.15rem;
  margin-top: 0.55rem;
}

.nurse-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nurse-image {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.nurse-image-fallback {
  display: grid;
  place-items: center;
  background: #e8f7f4;
  color: #0e6d62;
  font-weight: 800;
  font-size: 2rem;
}

.profile-image {
  margin-bottom: 0.8rem;
}

.profile-bio {
  margin-top: 0.6rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.selected-nurse {
  margin-top: 0.9rem;
}

.nurse-actions {
  justify-content: flex-start;
}

.card p {
  margin-top: 0.56rem;
  color: var(--muted);
  line-height: 1.6;
}

.metric p {
  margin-top: 0.4rem;
  font-size: 2rem;
  color: var(--primary-deep);
  font-weight: 800;
}

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

.dashboard-header p,
.form-section p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.link-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 35, 42, 0.14);
}

.form-section {
  max-width: 980px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}

.form-section.narrow {
  max-width: 530px;
}

.form-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-grid label,
.form-grid fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid #c9d9de;
  border-radius: 11px;
  background: #fbfdfd;
  padding: 0.62rem 0.68rem;
  color: #13313a;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: #76b5ac;
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 143, 127, 0.12);
}

.form-grid fieldset {
  border: 1px solid #c9d9de;
  border-radius: 11px;
  padding: 0.75rem;
}

.form-grid legend {
  color: var(--muted);
  padding: 0 0.35rem;
}

.full-width {
  grid-column: 1 / -1;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.filter-row {
  margin: 0.9rem 0;
  display: flex;
  gap: 0.65rem;
  align-items: end;
}

.table-shell {
  margin-top: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: auto;
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

th,
td {
  font-size: 0.94rem;
  text-align: left;
  padding: 0.62rem 0.56rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: #f2f8f8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  color: #36545d;
}

.table-form {
  display: grid;
  gap: 0.35rem;
}

.table-form select {
  min-width: 150px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.19rem 0.55rem;
  border-radius: 999px;
  background: #e8f7f4;
  border: 1px solid #c4e7e0;
  color: #0e6d62;
  font-size: 0.81rem;
  font-weight: 700;
}

.inline-form {
  margin: 0;
}

.logout-btn {
  border: 1px solid #f4cccc;
  background: #fff1f1;
  color: #8e1c1c;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.43rem 0.72rem;
  cursor: pointer;
}

.profile-card {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.profile-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.7rem 1rem;
}

.profile-card dt {
  color: #274049;
  font-weight: 700;
}

.profile-card dd {
  margin: 0;
}

.status-page {
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.hint {
  margin-top: 1rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  color: #47606a;
  font-size: 0.9rem;
}

.footer-copy {
  padding: 1rem 0;
}

.footer-meta {
  display: block;
  margin-top: 0.3rem;
  color: #355978;
}

.footer-meta strong {
  color: #134d82;
}

.urgent-support {
  margin-top: 1rem;
  border: 1px solid #cfe0f2;
  border-radius: 14px;
  background: linear-gradient(140deg, #f7fbff 0%, #eef8f4 100%);
  padding: 1rem;
}

.urgent-support h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
}

.urgent-support p {
  margin-top: 0.45rem;
  color: #4f6880;
}

.support-row {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn.whatsapp {
  border-color: #1f9d7a;
  background: #1f9d7a;
  color: #ffffff;
}

.btn.whatsapp:hover {
  border-color: #187d61;
  background: #187d61;
}

.support-number {
  font-weight: 700;
  color: #1a3f5f;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(10px) translateX(7px);
  }
}

@media (max-width: 1040px) {
  .cards-grid,
  .metrics-grid,
  .nurse-cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: 70vh;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    padding: 0.65rem 0;
    align-items: start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
  }

  .top-nav a,
  .top-nav .nav-login {
    font-size: 0.92rem;
  }

  .main-wrap {
    padding-top: 1rem;
  }

  .hero-center {
    padding: 1.4rem 0.8rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-tagline {
    min-height: 52px;
    width: min(760px, calc(100% - 0.8rem));
  }

  .cta-row {
    width: 100%;
  }

  .cta-row .btn {
    flex: 1 1 100%;
  }

  .profile-card dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .hero-tagline-item {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .support-row .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn,
  .link-card,
  .hero-tagline-item,
  .orb-a,
  .orb-b {
    transition: none;
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
  }

  .hero-tagline-item {
    opacity: 0;
  }

  .hero-tagline-item.is-active {
    opacity: 1;
  }
}

/* ============================================================
   PRODUCTION-GRADE VALIDATION STYLES
   ============================================================ */

/* Field error state */
.field-error {
  border-color: var(--danger, #b91c1c) !important;
  background: #fff5f5 !important;
}

.field-error:focus {
  border-color: var(--danger, #b91c1c) !important;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15) !important;
}

/* Field success state */
.field-success {
  border-color: var(--success, #166534) !important;
  background: #f0fdf4 !important;
}

/* Error message */
.field-error-message {
  color: var(--danger, #b91c1c);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Required field indicator */
.required-mark {
  color: var(--danger, #b91c1c);
  margin-left: 0.25rem;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
}

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

/* Success confirmation page */
.success-confirmation {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.success-confirmation .success-icon {
  width: 80px;
  height: 80px;
  background: var(--success, #166534);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: #fff;
}

.success-confirmation h2 {
  color: var(--success, #166534);
  margin-bottom: 1rem;
}

.success-confirmation p {
  color: var(--muted, #4f6880);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Custom duration fields */
.custom-duration-fields {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface-soft, #f5f9ff);
  border-radius: 11px;
  border: 1px solid var(--line, #d7e4f2);
}

.custom-duration-fields.visible {
  display: block;
}

.custom-duration-fields .duration-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.custom-duration-fields input {
  flex: 1;
}

.custom-duration-fields select {
  width: auto;
}

/* Form label improvements */
.form-grid label {
  position: relative;
}

.form-grid label .required-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--danger, #b91c1c);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: super;
}

/* Helper text */
.helper-text {
  display: block;
  font-size: 0.8rem;
  color: var(--muted, #4f6880);
  margin-top: 0.25rem;
  font-weight: 400;
}

/* Improved Submit Button */
.btn-submit {
  height: 52px !important;
  padding: 0.85rem 1.5rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--primary, #1e88e5) 0%, var(--primary-deep, #1669b5) 100%) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.35) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.45) !important;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed !important;
  background: linear-gradient(135deg, #94b9e6 0%, #7aa3cf 100%) !important;
}

.btn-submit.loading {
  pointer-events: none !important;
}

.btn-submit .spinner {
  width: 18px;
  height: 18px;
  border-width: 2.5px;
}

/* Multi-select dropdown styles */
.multiselect-container {
  position: relative;
}

.multiselect-wrapper {
  position: relative;
}

.multiselect-input {
  width: 100%;
  cursor: pointer;
  background: #fbfdfd;
}

.multiselect-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #d7e4f2);
  border-radius: 11px;
  box-shadow: 0 8px 25px rgba(16, 42, 68, 0.15);
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  margin-top: 4px;
}

.multiselect-dropdown.open {
  display: block;
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.multiselect-option:hover {
  background: var(--surface-soft, #f5f9ff);
}

.multiselect-option.selected {
  background: rgba(30, 136, 229, 0.1);
  color: var(--primary, #1e88e5);
}

.multiselect-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary, #1e88e5);
}

.multiselect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.multiselect-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  background: rgba(30, 136, 229, 0.12);
  border: 1px solid rgba(30, 136, 229, 0.25);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary-deep, #1669b5);
  font-weight: 600;
}

.multiselect-tag-remove {
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--primary-deep, #1669b5);
}

.multiselect-tag-remove:hover {
  color: var(--danger, #b91c1c);
}

/* Password field with show toggle */
.password-field-wrapper {
  position: relative;
}

.password-field-wrapper input {
  padding-right: 42px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted, #4f6880);
  padding: 4px;
  font-size: 1.1rem;
}

.password-toggle:hover {
  color: var(--primary, #1e88e5);
}

/* File upload styles */
.file-upload-container {
  border: 2px dashed var(--line, #d7e4f2);
  border-radius: 11px;
  padding: 1rem;
  text-align: center;
  background: var(--surface-soft, #f5f9ff);
  transition: all 0.2s ease;
  cursor: pointer;
}

.file-upload-container:hover {
  border-color: var(--primary, #1e88e5);
  background: rgba(30, 136, 229, 0.05);
}

.file-upload-container.dragover {
  border-color: var(--primary, #1e88e5);
  background: rgba(30, 136, 229, 0.1);
}

.file-upload-container input[type="file"] {
  display: none;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--muted, #4f6880);
}

.file-upload-label .upload-icon {
  font-size: 1.8rem;
  color: var(--primary, #1e88e5);
}

.file-upload-preview {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.file-upload-preview img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line, #d7e4f2);
}

.file-info {
  font-size: 0.85rem;
  color: var(--muted, #4f6880);
}

.file-remove {
  background: none;
  border: none;
  color: var(--danger, #b91c1c);
  cursor: pointer;
  font-size: 1rem;
  padding: 2px;
}

/* Profile completion indicator */
.profile-completion {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  border: 1px solid #ffe082;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.profile-completion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.profile-completion-title {
  font-weight: 700;
  color: #f57c00;
  font-size: 0.95rem;
}

.profile-completion-percent {
  font-weight: 800;
  color: #e65100;
  font-size: 1.1rem;
}

.profile-completion-bar {
  height: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.profile-completion-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff9800 0%, #ff5722 100%);
  border-radius: 5px;
  transition: width 0.5s ease;
}

/* Education level selection */
.education-section {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface-soft, #f5f9ff);
  border-radius: 11px;
  border: 1px solid var(--line, #d7e4f2);
}

.education-section label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* Toggle switch for optional fields */
.toggle-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.toggle-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary, #1e88e5);
}

/* Signup form specific improvements */
.form-section .form-grid {
  margin-top: 1.2rem;
}

/* Additional spinner animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading .btn-text {
  animation: pulse 1s ease-in-out infinite;
}
