:root {
  --main-nav-height: 90px; /* default fallback */
}

:root {
  --brand-yellow: #FFF87F;   /* BusyBees main honey yellow */
  --brand-yellow-soft:  #FFF2C2;   /* soft gold background */
  --brand-yellow-dark:  #E5B300;   /* hover / emphasis */
  --brand-teal: #4CCBBE;
  --brand-navy:         #022E7A;
  --brand-text:         #222222;
}

body{
    font-family: 'Montserrat', sans-serif !important;
}

.modal-auth {
  display: none;               /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* semi-transparent backdrop */
  font-family: 'Montserrat', sans-serif;
  justify-content: center;     /* horizontal center */
  align-items: center;         /* vertical center */
  z-index: 9999;
}

.modal-auth.active {
  display: flex;               /* show modal */
}

.modal-auth .container {
  margin: 0;                   /* remove any browser default margin */
}

/* Typography inside modal */
.modal-auth h1 {
  font-weight: bold;
  margin: 0;
}

.modal-auth h2 {
  text-align: center;
}

.modal-auth p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 20px 0 30px;
}

.modal-auth span {
  font-size: 12px;
}

.modal-auth a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  margin: 15px 0;
}

/* Buttons */
.modal-auth button {
  border-radius: 20px;
  border: 1px solid #FFF87F;
  background-color: #FFF87F;
  color: #222222;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
  cursor: pointer;
}

.modal-auth button:active {
  transform: scale(0.95);
}

.modal-auth button:focus {
  outline: none;
}

.modal-auth button.ghost {
  background-color: #FFF87F;
  border-color: #FFF87F;
  color: #111111;

}

/* Forms */
.modal-auth form {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}

.modal-auth input {
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}

/* Container */
.modal-auth .container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25),
              0 10px 10px rgba(0,0,0,0.22);
  position: relative;
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 480px;
}

.modal-auth .form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.modal-auth .sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.modal-auth .container.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.modal-auth .sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
}

.modal-auth .container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: modal-show 0.6s;
}

@keyframes modal-show {
  0%, 49.99% {
    opacity: 0;
    z-index: 1;
  }
  50%, 100% {
    opacity: 1;
    z-index: 5;
  }
}

/* Overlay */
.modal-auth .overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.modal-auth .container.right-panel-active .overlay-container {
  transform: translateX(-100%);
}

.modal-auth .overlay {
  background: linear-gradient(to right, #4CCBBE, #4CCBBE);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #FFFFFF;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.modal-auth .container.right-panel-active .overlay {
  transform: translateX(50%);
}

.modal-auth .overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.modal-auth .overlay-left {
  transform: translateX(-20%);
}

.modal-auth .container.right-panel-active .overlay-left {
  transform: translateX(0);
}

.modal-auth .overlay-right {
  right: 0;
  transform: translateX(0);
}

.modal-auth .container.right-panel-active .overlay-right {
  transform: translateX(20%);
}

/* Social */
.modal-auth .social-container {
  margin: 20px 0;
}

.modal-auth .social-container a {
  border: 1px solid #DDDDDD;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 40px;
  width: 40px;
}

.modal-auth .mobile-toggle{
    display: none; /* hidden by default */
}

@media (max-width: 768px) {

  /* Container full width/height */
  .modal-auth .container {
    width: 95%;
    max-width: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
  }

  /* Both forms stacked */
  .modal-auth .form-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transition: transform 0.5s ease-in-out;
    opacity: 1 !important;      /* ignore desktop opacity */
    z-index: auto !important;   /* ignore desktop z-index */
  }

  /* Default: sign-in visible, sign-up below */
  .modal-auth .sign-in-container {
    transform: translateY(0);
  }

  .modal-auth .sign-up-container {
    transform: translateY(100%);
  }

  /* When mobile-active is applied, slide up */
  .modal-auth .container.mobile-active .sign-in-container {
    transform: translateY(-100%);
  }

  .modal-auth .container.mobile-active .sign-up-container {
    transform: translateY(0);
  }

  /* Hide overlay on mobile */
  .modal-auth .overlay-container {
    display: none;
  }

  /* Optional: adjust form padding */
  .modal-auth form {
    padding: 30px 20px;
  }

  .modal-auth input, .modal-auth button {
    font-size: 16px;
  }
  .modal-auth .mobile-toggle {
        display: block;       /* show on mobile */
        color: #FF4B2B;
        text-decoration: underline;
        margin-top: 10px;
        cursor: pointer;
        font-size: 14px;
        text-align: center;
    }
  .modal-auth .mobile-toggle:hover {
        color: var(--brand-teal);
    }
}
/* Dropdown wrapper: make it inline like the Sign up button */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button: match Sign up button look */
.dropbtn {
  background-color: var(--brand-teal);
  color: #ffffff;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

/* Dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0; /* align to button’s right edge */
  background-color: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 1000;
}

/* Dropdown links */
.dropdown-content a {
  color: black;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show menu */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Profile step background (applies only to the inner box, not the whole screen) */
.modal-auth.profile-step #container {
  background-size: cover;
  background-position: center;
  border-radius: 12px; /* optional */
}


/* Only style the h3 text, leave modal background intact */
.modal-auth.profile-step #container h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 30px;
    color: #3e3f40; /* text color only */
    text-align: center;
    margin-bottom: 15px;
    margin-top:-3%;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);

    /* optional animation */
    opacity: 0;
    transform: translateY(10px);
    animation: fadeSlide 0.7s ease forwards;

    /* do NOT add background, border, or padding here */
}

.modal-auth.profile-step #container form {
    background-color: transparent !important;
}

@keyframes fadeSlide {
    to { opacity: 1; transform: translateY(0); }
}

.modal-auth.profile-step #container h3 span.indent {
    display: inline-block;
    margin-left: 60px;
    margin-bottom: 15%;
    font-size: 25px;/* adjust indentation */
}


/* Only apply inside step3 modal */
.form-container.step3 h3.modal-step {
  margin-top: -45px;  /* move title upwards */
  margin-bottom: 20px;
  text-align: center;
}

/* Target only the Step 3 form */
/* Step 3: fix radio + label layout only in the modal */
.form-container.step3 form {
  align-items: flex-start;  /* keep the whole form left-aligned */
  text-align: left;
}

/* Radios should not be full width */
.form-container.step3 input[type="radio"] {
  width: auto;              /* override .modal-auth input { width:100% } */
  display: inline-block;
  background: transparent;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #ef5412; /* use your theme color */
}

/* Keep radio and text on one line, left-aligned */
.form-container.step3 label.u-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;                 /* space between dot and text */
  margin: 10px 0 0 20px;    /* slight left indent + spacing down */
  white-space: nowrap;      /* prevent wrapping under the dot on desktop */
  font-size: 15px;   /* bigger text */
  font-weight: bold;
  color: #333;
}
.form-container.step3 hr {
  width: 100%;                /* force it full width of the form */
  border: 0;
  border-top: 1px solid #989898; /* thin gray line */
  margin: 12px 0;             /* spacing above and below */
  align-self: stretch;        /* expand across flex container */
}

.form-container.step3 button[type="submit"] {
  margin-top: 60px;   /* push it down */
  align-self: center; /* keep centered (optional) */
}


/* Allow wrapping on very small screens to avoid overflow */
@media (max-width: 480px) {
  .form-container.step3 label.u-label {
    white-space: normal;
  }
}

/* =========================
   STEP 4 – Two-column layout
   ========================= */
/* =========================
   STEP 4 — force two columns
   ========================= */
.form-container.step4 form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 260px; /* left fields | right photo */
  grid-template-areas:
    "title  title"
    "left   right"
    "actions actions";
  gap: 24px 28px;
  max-width: 860px;
  margin: 0 auto;
  align-items: start;
  text-align: left;
  padding: 0 0 !important;
}

/* place items */
.step4 .modal-title           { grid-area: title; text-align: center; margin-top: 10px !important; font-size: 30px !important; }
.form-container.step4 .col-left  { grid-area: left;  display: flex; flex-direction: column; gap: 10px; }
.form-container.step4 .col-right { grid-area: right; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.form-container.step4 .actions-row { grid-area: actions; display: flex; justify-content: center; gap: 12px; }

/* keep current compact field style (labels inline, inputs narrower) */
.form-container.step4 .col-left .field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}
.form-container.step4 .col-left .field .u-label {
  flex: 0 0 120px;
  font-weight: 600;
  color: #2b2f3a;
  text-align: left;
  padding-left: 20px;
}

.step4 .u-label {
  font-weight: bold !important;
}
/* Phone input group */
.phone-input-group {
  display: flex;
  flex: 1;
  gap: 0;
  width: 220px;
  min-width: 0;
  align-items: center;
}
.phone-input-group #phone_number {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 !important;
}

/* Use full step4 path to beat the generic field select rule */
.form-container.step4 .col-left .field .phone-input-group .country-code-select {
  flex: 0 0 95px;
  width: 95px;
  min-width: 0;
  height: 37px;
  padding: 0 6px;
  border: 1px solid #dee2f2;
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  background-color: #eee !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 5px center !important;
  background-size: 10px 6px !important;
  padding-right: 20px !important;
  color: #2b2f3a !important;
  cursor: pointer;
  box-sizing: border-box;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  margin: 0 !important;
}
.form-container.step4 .col-left .field .phone-input-group #phone_number {
  height: 37px;
  border-radius: 0 8px 8px 0;
  border-left: none;
  padding: 0 10px;
  margin: 0 !important;
}
.form-container.step4 .col-left .field .phone-input-group .country-code-select:focus,
.form-container.step4 .col-left .field .phone-input-group #phone_number:focus {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107,124,255,0.15);
  outline: none;
  z-index: 1;
  position: relative;
}

.form-container.step4 .col-left .field input,
.form-container.step4 .col-left .field select:not(.country-code-select) {
  flex: 1;
  width: 220px;
  padding: 8px 10px;
  border: 1px solid #dee2f2;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}
.form-container.step4 .col-left .field input:focus,
.form-container.step4 .col-left .field select:focus {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107,124,255,0.15);
  outline: none;
}

/* photo area (right) */
.form-container.step4 .photo-drop {
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 2px dashed #cdd3ff;
  background: #f9f9ff;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.form-container.step4 .photo-drop:hover { background: #f0f1ff; border-color: #aeb7ff; }
.form-container.step4 .photo-preview { width: 100% !important; height: 100% !important; overflow: hidden !important; border-radius: inherit; display: grid; place-items: center; }
.form-container.step4 .photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.form-container.step4 .photo-placeholder { font-size: 42px; color: #aeb7ff; }
.form-container.step4 .photo-help { text-align: center; font-size: 13px; color: #666; }

/* responsive: stack only on small screens */
@media (max-width: 720px) {
  .form-container.step4 form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "left"
      "right"
      "actions";
    text-align: center;
  }

  /* Title spacing for Step 4 */
  .form-container.step4 .modal-title {
    margin-top: 10px !important;    /* increase or decrease as you like */
    margin-bottom: 16px; /* keeps balance before the form starts */
    font-size: 22px;     /* optional: consistent with other steps */
    font-weight: 700;
    text-align: center;
    color: #2b2f3a;
  }

  .form-container.step4 .col-left .field { flex-direction: column; align-items: flex-start; max-width: 100%; }
  .form-container.step4 .col-left .field .u-label { text-align: left; flex: none; margin-bottom: 4px; }
  .form-container.step4 .col-left .field input,
  .form-container.step4 .col-left .field select:not(.country-code-select) { width: 100%; max-width: 360px; }
  .phone-input-group { width: 100%; max-width: 360px; }
}

/* Responsive stack for small screens */
@media (max-width: 720px) {
  .form-container.step4 .col-left .field {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-container.step4 .col-left .field .u-label {
    text-align: left;
    flex: none;
    margin-bottom: 4px;
  }
  .form-container.step4 .col-left .field input,
  .form-container.step4 .col-left .field select:not(.country-code-select) {
    width: 100%;
    max-width: 320px;
  }
  .phone-input-group { width: 100%; max-width: 320px; }
}


/* Responsive: stack on small screens (fields first, photo after) */
@media (max-width: 720px) {
  .form-container.step4 form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "left"
      "right"
      "actions";
    text-align: center;
  }
  .step4 .col-left { align-items: center; }
  .step4 .col-left .field input,
  .step4 .col-left .field select { max-width: 420px; }
}



/* shared grid already used earlier */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 16px;
  margin: 8px 0 2px;
}
.checkbox-grid label { display:inline-flex; align-items:center; gap:8px; }

.availability-wrap { overflow-x:auto; }
.availability-table { width:100%; border-collapse: collapse; }
.availability-table th, .availability-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.availability-table thead th { font-weight: 700; color:#444; }
.availability-table tbody th { text-align: left; font-weight: 600; color:#444; }
.muted { color:#777; font-size: 12px; }



.photo-drop{
  display:flex; align-items:center; gap:14px; padding:12px;
  border:1px dashed #cbd5e1; border-radius:12px; background:#f8fafc;
}
.photo-drop.dragover{ background:#eef3ff; border-color:#94a3b8; }

.photo-preview{
  width:96px; height:96px; border-radius:50%;  /* <- circle */
  overflow:hidden;                             /* <- clip image */
  background:#e2e8f0; display:flex; align-items:center; justify-content:center;
  flex:0 0 96px;
}
.photo-preview img{ width:100%; height:100%; object-fit:cover; display:block; } /* fills circle */
.photo-placeholder{ font-size:38px; color:#64748b; line-height:1; }

.photo-actions{ margin-top:8px; }
.linklike{ background:none; border:0; color:#2563eb; cursor:pointer; padding:0; }



/* =========================
   STEP 5 — Location (final)
   Works with: .form-container.step5 (no <form> wrapper)
   ========================= */

/* Make Step 5 fill the modal and keep the title inside the box */
.modal-auth .form-container.step5 {
  position: absolute;   /* inherits absolute from .form-container */
  left: 0;              /* ensure it anchors to the modal’s left edge */
  width: 100%;          /* cover the full modal width */
  padding: 16px 24px;   /* top + side padding to keep title inside */
  box-sizing: border-box;
}

/* Title */
.form-container.step5 .modal-title {
  display: block;
  margin-top: 2px !important;   /* bottom space under the title */
  text-align: left;
  line-height: 1.2;
  font-weight: 700;
  font-size: 25px !important;
}

/* ---------- Country + City on one line ---------- */
.form-container.step5 .row-inline {
  display: flex;
  flex-wrap: nowrap;     /* keep both on the SAME line */
  gap: 16px;
  width: 50%;
}

/* Each field (Country / City) takes ~50% of the row */
.form-container.step5 .row-inline .field {
  flex: 1 1 0;
  min-width: 0;          /* allow shrinking inside the modal */
  display: flex;
  align-items: center;
  gap: 12px;
  color : #0e0e0e;

}

/* Label LEFT, dropdown RIGHT */
.form-container.step5 .row-inline .u-label {
  flex: 0 0 100px;       /* label column (adjust to 90–110px if needed) */
  text-align: right;
  margin-left: -30px;
  font-weight: 700;
}
.form-container.step5 .row-inline select {
  flex: 1 1 0;
  min-width: 0;          /* critical: prevents wrap/overflow */
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
}

/* ---------- Address full width (label left, input right) ---------- */
.form-container.step5 > .field:not(.field-col) {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: #0e0e0e;
}
.form-container.step5 > .field:not(.field-col) .u-label {
  flex: 0 0 100px;
  text-align: right;
  margin-left: -30px;
  font-weight: 700;
}
.form-container.step5 > .field:not(.field-col) input[type="text"] {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
}

/* ---------- Map (label above map), 200px tall, full width ---------- */
.form-container.step5 .field.field-col {
  margin-top: 12px;
  display: block;
}
.form-container.step5 .field.field-col .u-label {
  display: block;
  text-align: left;
  margin: 0 0 6px;
  font-weight: 700;
}
.form-container.step5 #map {
  display: block;
  width: 100%;
  height: 290px;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

/* ---------- Buttons row under everything ---------- */
.form-container.step5 .actions-row {
  margin-top: 10px;
  display: flex;
  justify-content: center !important;
  align-items: center;
  gap: 12px;
}

/* Leaflet image safety (one time) */
.leaflet-container { width: 100%; height: 100%; }
.leaflet-container img,
.leaflet-container .leaflet-tile,
.leaflet-container canvas { max-width: none; }

/* Small screens: let Country/City stack if needed */
@media (max-width: 700px) {
  .form-container.step5 { padding: 16px; }
  .form-container.step5 .row-inline { flex-wrap: wrap; }
  .form-container.step5 .row-inline .field { flex: 1 1 100%; }
  .form-container.step5 .row-inline .u-label,
  .form-container.step5 > .field:not(.field-col) .u-label { text-align: left; flex: 0 0 12px; }
  .form-container.step5 #map { height: 220px; }
}




/* Step 5 — softer, rounded dropdowns */
.form-container.step5 select {
  height: 44px;                     /* comfy touch target */
  padding: 8px 40px 8px 12px;       /* room for a custom arrow */
  border: 1px solid #cfcfcf;
  border-radius: 12px;              /* << change this number to taste */
  background-color: #fff;
  box-sizing: border-box;

  /* remove native styles so radius shows consistently */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* simple custom arrow */
  background-image:
    linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.form-container.step5 select:hover {
  border-color: #b5b5b5;
}

.form-container.step5 select:focus {
  outline: none;
  border-color: #6aa6ff;
  box-shadow: 0 0 0 3px rgba(106, 166, 255, 0.2);
}

/* Disabled style (your City is disabled at first) */
.form-container.step5 select:disabled {
  color: #777;
  background-color: #f6f6f6;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

/* Hide old IE/Edge arrow (harmless elsewhere) */
.form-container.step5 select::-ms-expand {
  display: none;
}


/* Step 5 — make ADDRESS match the rounded dropdown style */
.form-container.step5 input#address {
  height: 44px;                    /* same height as selects */
  padding: 8px 12px;
  width: 100%;
  box-sizing: border-box;

  border: 1px solid #cfcfcf;
  border-radius: 12px;             /* ← match your select radius */
  background-color: #fff;

  appearance: none;                /* keep look consistent */
  -webkit-appearance: none;
  -moz-appearance: none;

  font: inherit;
  color: inherit;
}

/* Hover / focus to match selects */
.form-container.step5 input#address:hover {
  border-color: #b5b5b5;
}
.form-container.step5 input#address:focus {
  outline: none;
  border-color: #6aa6ff;
  box-shadow: 0 0 0 3px rgba(106,166,255,0.2);
}

/* Optional: placeholder tone */
.form-container.step5 input#address::placeholder {
  color: #9aa0a6;
}

/* Optional: disabled look (if you ever disable it) */
.form-container.step5 input#address:disabled {
  color: #777;
  background-color: #f6f6f6;
  border-color: #e0e0e0;
  cursor: not-allowed;
}



/* =========================================================
   STEP 6 — Education & Language (single source of truth)
   ========================================================= */
.form-container.step6 {
  padding: 16px 24px 12px;
  box-sizing: border-box;
  text-align: left;
}
.form-container.step6 .modal-title {
  margin-top: 5%;
  font-weight: 700;
}

/* Row: label (left, fixed) + control (right, flex) */
.form-container.step6 .field {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}
.form-container.step6 .u-label {
  flex: 0 0 150px;         /* widen so "Education level" stays on one line */
  white-space: nowrap;
  text-align: right;
  margin: 0;
  font-weight: 700;
}

/* Rounded select to match Step 5 */
.form-container.step6 select {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 44px;
  padding: 8px 40px 8px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  background: #fff;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.form-container.step6 select:hover { border-color: #b5b5b5; }
.form-container.step6 select:focus {
  outline: none;
  border-color: #6aa6ff;
  box-shadow: 0 0 0 3px rgba(106,166,255,0.2);
}

/* Language chips: compact */
.form-container.step6 .field.field-col { display: block; }
.form-container.step6 .field.field-col .u-label {
  display: block;
  text-align: left;
  margin: 0 0 8px;
}
.form-container.step6 .chips-select {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  min-height: 40px;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
.form-container.step6 .chips-select .chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 13px;          /* smaller */
  line-height: 1.1;
  border-radius: 16px;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
}
.form-container.step6 .chips-select .chip .remove {
  margin-left: 6px;
  font-size: 14px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
}
.form-container.step6 .chips-select > input {
  border: 0; outline: none;
  min-width: 120px;
  height: 24px;             /* shorter input inside chips */
  font: inherit;
}
.form-container.step6 .chips-select .dropdown {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-height: 220px;
  overflow: auto;
  z-index: 20;
}
.form-container.step6 .chips-select .option { padding: 6px 10px; }
.form-container.step6 .chips-select .option:hover,
.form-container.step6 .chips-select .option.active { background: #f3f4f6; }

/* Center buttons */
.form-container.step6 .actions-row,
.form-container.step6 .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
}
.form-container.step6 .actions-row .btn,
.form-container.step6 .actions .btn { min-width: 120px; }

/* Mobile: stack label above control */
@media (max-width: 700px) {
  .form-container.step6 .field { display: block; }
  .form-container.step6 .u-label {
    display: block;
    text-align: left;
    margin: 0 0 6px;
    flex: none;
  }
}


/* Chips container needs positioning for absolute dropdown */
#languagesChips.chips-select { position: relative; }

/* The suggestions panel */
#languagesChips .dropdown {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 50;
}

/* Each option row */
#languagesChips .option {
  padding: 10px 12px;
  cursor: pointer;
  line-height: 1.2;
}
#languagesChips .option:hover,
#languagesChips .option.active {
  background: #f5f7fb;
}

/* Compact chip appearance */
#languagesChips .chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;               /* smaller internal space */
  margin: 3px 4px 3px 0;          /* tighter spacing between chips */
  background: #eef2ff;
  border: 1px solid #dbe1ff;
  border-radius: 9999px;
  font-size: 12px;                /* slightly smaller text */
  line-height: 1.1;
  max-width: 120px;               /* prevents super long chips */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Close (×) button styling */
#languagesChips .chip .remove {
  appearance: none;
  border: none;
  background: #bb0303;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  padding: 0;
  margin-left: 2px;
}

/* Optional: smaller input field inside chips */
#languagesChips input[type="text"] {
  min-width: 100px;
  padding: 4px 6px;
  font-size: 12px;
}



/* =========================
   STEP 7 – Final / Confirmation Form
   ========================= */
/* Make Step 7 form centered inside the modal */
.modal-auth .form-container.step7 {
  position: relative;       /* prevent absolute overflow */
  width: 90%;               /* or 100%, depending on padding */
  max-width: 720px;         /* keeps it neat on large modals */
  margin: 0 auto;
  box-sizing: border-box;
}
.form-container.step7 form {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  align-items: center;   /* centers children horizontally */
  text-align: center;    /* centers inline text inside fields */
}

/* Make each field centered and nicely stacked */
.form-container.step7 .field {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;      /* optional fixed width for balance */
  margin-bottom: 16px;
}

/* Center the label text */
/* Bold labels and question headings in Step 7 */
.form-container.step7 .u-label,
.form-container.step7 .u-label.block,
.form-container.step7 .field > label {
  font-weight: 700 !important;  /* force bold over earlier 400s */
  color: #333;
}

/* Center the radio buttons and space them evenly */
.form-container.step7 .field > label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-right: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

/* Make the text/number input centered and not too wide */
.form-container.step7 .field input[type="text"],
.form-container.step7 .field input[type="number"],
.form-container.step7 .field select,
.form-container.step7 .field textarea {
  width: 100%;
  max-width: 260px;
  text-align: center;
  box-sizing: border-box;
}

/* Center the buttons row too */
.form-container.step7 .actions-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}


/* =========================
   STEP 8 – Activities with images
   ========================= */
.form-container.step8 {
  display: none;                  /* hidden until active */
  padding: 20px 24px;
}

.form-container.step8 h3 {
  text-align: center;
  margin: 0 0 14px;
  font-weight: 700;
}

/* Grid of activity tiles */
.step8 .activity-grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax(140px, 1fr) );
  gap: 14px;
  align-items: stretch;
}

/* Hide the native input but keep it accessible */
.step8 .activity {
  position: relative;
}
.step8 .activity input[type="checkbox"],
.step8 .activity input[type="radio"] {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}

/* The clickable card */
.step8 .activity label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 12px;
  border: 1px solid #e2e6f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  cursor: pointer;
  user-select: none;
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

/* Image wrapper keeps PNG aspect nicely */
.step8 .activity .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;           /* perfect square; adjust if you prefer */
  display: grid;
  place-items: center;
  background: #f8f9ff;           /* subtle pad background */
  border-radius: 10px;
  overflow: hidden;
}
.step8 .activity .thumb img {
  width: 80%;
  height: 80%;
  object-fit: contain;           /* keeps PNG clean with transparency */
  image-rendering: -webkit-optimize-contrast;
}

/* Title */
.step8 .activity .title {
  font-size: 13px;
  font-weight: 600;
  color: #2b2f3a;
  line-height: 1.25;
}

/* Hover & focus */
.step8 .activity label:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.step8 .activity input:focus-visible + label {
  outline: 3px solid rgba(107,124,255,.35);
  outline-offset: 2px;
}

/* Selected state (works for checkbox or radio) */
.step8 .activity input:checked + label {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107,124,255,.15);
}
.step8 .activity input:checked + label .title {
  color: #4a53d9;
}

/* Disabled option (if you ever need it) */
.step8 .activity input:disabled + label {
  opacity: .55;
  cursor: not-allowed;
}

/* Buttons row */
.step8 .actions-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}



/* =========================
   STEP 8 – Activities with PNG icons
   ========================= */
.form-container.step8 {
  display: none;
  padding: 24px;
  text-align: center;
}

.form-container.step8 h3 {
  margin-bottom: 50px !important;
  margin-top: 10px !important;
  font-size: 30px !important;
  font-weight: 700;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  justify-content: center;
}

/* One activity card */
.activity {
  position: relative;
}

.activity input[type="checkbox"],
.activity input[type="radio"] {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}

.activity label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.activity .thumb {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f7ff;
  border-radius: 10px;
  overflow: hidden;
}

.activity .thumb img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.activity .title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

/* Hover & selected styles */
.activity label:hover {
  border-color: #6b7cff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.activity input:checked + label {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107, 124, 255, 0.15);
  background: #f5f7ff;
}

.actions-row {
  margin-top: 5px;
  display: flex;
  justify-content: center;
  gap: 12px;
}



/* =========================
   STEP 8 – Activities grid
   ========================= */
/* =========================
   STEP 8 – Full width + 3-column grid
   ========================= */
.form-container.step8 {
  display: none;
  width: 100% !important;     /* fill the modal horizontally */
  max-width: 100%;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
}

/* Make the form itself expand */
.form-container.step8 form {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Fixed 3-column grid */
.step8 .activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* exactly 3 columns */
  gap: 18px;
  justify-items: center;
  width: 100%;
  margin: 0 auto 20px;
  box-sizing: border-box;
}

/* Card layout */
.step8 .activity {
  position: relative;
  width: 100%;
  max-width: 180px;  /* optional cap for very wide screens */
}

.step8 .activity input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Card styling */
.step8 .activity label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 14px;
  border: 1px solid #e0e4f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.step8 .activity label:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border-color: #cdd3ff;
}

/* Selected card */
.step8 .activity input:checked + label {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107,124,255,0.2);
  background: #f5f7ff;
}
.step8 .activity input:checked + label .title {
  color: #4a53d9;
}

/* Icon */
/* Icon box (smaller square) */
.step8 .activity .thumb {
  width: 50%;               /* ↓ smaller box (was 100%) */
  aspect-ratio: 1 / 1;      /* keep square */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4ff;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;           /* center the box in the card */
}

/* Icon image inside box */
.step8 .activity .thumb img {
  width: 70%;               /* smaller inside the box */
  height: 70%;
  object-fit: contain;
}


/* Text */
.step8 .activity .title {
  font-size: 13px;
  font-weight: 600;
  color: #2b2f3a;
  line-height: 1.25;
  margin-top: 10px !important;
}

/* Buttons */
.step8 .actions-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}



/* =========================
   STEP 9 – Comforts grid
   ========================= */
.form-container.step9 {
  display: none;
  width: 100% !important;
  max-width: 100%;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
}

.form-container.step9 .modal-title {
  font-weight: 700;
  margin-bottom: 50px !important;
  margin-top: 10px !important;
  font-size: 35px !important;
}

/* Fixed 3-column grid */
.step9 .comforts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  justify-items: center;
  width: 100%;
  margin: 0 auto 20px;
  box-sizing: border-box;
}

/* Card */
.step9 .comfort {
  position: relative;
  width: 100%;
  max-width: 180px;   /* optional cap */
}

.step9 .comfort input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Card body */
.step9 .comfort label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 120px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #e0e4f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-align: center;
}

.step9 .comfort label:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border-color: #cdd3ff;
}

/* Selected */
.step9 .comfort input:checked + label {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107,124,255,0.2);
  background: #f5f7ff;
}
.step9 .comfort input:checked + label .title {
  color: #4a53d9;
}

/* Icon box: smaller than full width */
.step9 .comfort .thumb {
  width: 70%;               /* make the image box smaller */
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4ff;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}
.step9 .comfort .thumb img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* Title */
.step9 .comfort .title {
  font-size: 13px;
  font-weight: 600;
  color: #2b2f3a;
  line-height: 1.25;
}

/* Buttons */
.step9 .actions-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}



/* =========================
   STEP 10 – Final icons grid
   ========================= */
.form-container.step10 {
  display: none;
  width: 100%;
  padding: 24px;
  text-align: center;
  box-sizing: border-box;
}

.form-container.step10 .modal-title {
  margin-top: 10px !important;       /* space from top of modal */
  font-size: 25px !important;
  margin-bottom: 50px !important;
}

.step10 .final-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  justify-items: center;
  margin-bottom: 20px;
}

.step10 .final-card {
  position: relative;
  width: 100%;
  max-width: 160px;
}

.step10 .final-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.step10 .final-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e0e4f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.step10 .final-card label:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  border-color: #cdd3ff;
}

.step10 .final-card input:checked + label {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107,124,255,0.2);
  background: #f5f7ff;
}
.step10 .final-card input:checked + label .title {
  color: #4a53d9;
}

/* Smaller icon box */
.step10 .final-card .thumb {
  width: 60%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4ff;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}
.step10 .final-card .thumb img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.step10 .final-card .title {
  font-size: 13px;
  font-weight: 600;
  color: #2b2f3a;
}

.step10 .actions-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.form-container .actions-row {
  margin-bottom: 20px;
}


/* =========================
   STEP 11 — About Yourself
   ========================= */
.form-container.step11 {
  display: none;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
}

/* Title */
.form-container.step11 .modal-title {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  color: #2b2f3a;
  text-align: center;
}

/* Textarea field */
/* Step 11 — wider textarea */
.form-container.step11 textarea {
  width: 100%;
  max-width: 1080px !important;     /* 👈 increased from 520px */
  min-height: 160px;
  padding: 12px 14px;
  border: 1px solid #dee2f2;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}


.form-container.step11 textarea:focus {
  border-color: #6b7cff;
  box-shadow: 0 0 0 3px rgba(107,124,255,0.15);
}

/* Word counter */
.form-container.step11 #aboutCounter {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 13px;
  text-align: right;
  width: 100%;
  max-width: 1080px !important;
  margin-inline: auto;
}

/* Buttons */
.form-container.step11 .actions-row {
  margin-top: 70px;
  margin-bottom: 10px;   /* 👈 bottom spacing you requested */
  display: flex;
  justify-content: center;
  gap: 12px;
}
/* Step 11 – centered stacked layout */
.form-container.step11 .field.field-col {
  width: 100% !important;               /* space between label / input */
}

/* Responsive */
@media (max-width: 600px) {
  .form-container.step11 textarea {
    max-width: 100%;
  }
  .form-container.step11 #aboutCounter {
    text-align: center;
  }
}

.form-container.step12 .modal-title {
  font-size: 30px !important;
}


/* ============ USER DROPDOWN (under username) ============ */
.u-nav-item[aria-haspopup="true"] {
  position: relative; /* make it anchor for popup */
}

.u-nav-item[aria-haspopup="true"] > .u-nav-popup {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 6px 0;

  /* 👇 Adjust width here */
  min-width: 220px;   /* minimum width regardless of username */
  width: auto;        /* expands for longer items if needed */
  max-width: 300px;   /* optional cap so it doesn’t get huge */

  z-index: 1000;
  display: none;
  transition: all 0.2s ease;
}


/* show dropdown on hover */
.u-nav-item[aria-haspopup="true"]:hover > .u-nav-popup {
  display: block;
}

/* each link inside */
.u-nav-popup .u-nav-item a.u-nav-link {
  display: block;
  color: #333;
  padding: 8px 16px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

/* hover effect */
.u-nav-popup .u-nav-item a.u-nav-link:hover {
  background: #f3f6ff;
  color: #2b65d9;
}

/* subtle dividers */
.u-nav-popup .u-nav-item:not(:last-child) a.u-nav-link {
  border-bottom: 1px solid #f0f0f0;
}

/* username/email button styling */
.u-nav-item[aria-haspopup="true"] > a.u-nav-link {
  color: #2b2f3a;
  font-weight: 600;
  padding: 10px 16px;
  position: relative;
}

/* small Font Awesome icon before username */
.u-nav-item[aria-haspopup="true"] > a.u-nav-link::before {
  content: '\f007';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 6px;
  color: #478ac9;
}

/* ========================
   STEP 5B CUSTOMER STYLES
   ======================== */


.step5b-customer h3.modal-title{
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  text-align:center;
}

.step5b-customer .field{
  margin-bottom: 22px;
}

.step5b-customer .u-label{
  font-size:14px;
  font-weight:500;
  color:#4a4a4a;
  margin-bottom:8px;
  display:block;
}

.step5b-customer input[type="number"],
.step5b-customer textarea{
  width:100%;
  border:1px solid #e6e6e6;
  border-radius: 12px;
  padding:12px 14px;
  font-size:15px;
  background:#fafafa;
}

.step5b-customer textarea{
  resize:vertical;
  min-height:100px;
}

.child-ages-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:12px;
}

.child-age-item{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.step5b-customer .actions-row{
  margin-top:35px;
  display:flex;
  justify-content:space-between;
}

.step5b-customer .btn{
  padding: 12px 22px;
  border-radius:10px;
  font-size:15px;
  cursor:pointer;
}

@keyframes appear{
  from{opacity:0;transform:translateY(12px);}
  to{opacity:1;transform:translateY(0);}
}

/* =========================
   STEP 5B — Customer (inside the modal box like step5/6)
   ========================= */

/* Make Step 5B fill the modal content area (same as Step 5) */
.modal-auth .form-container.step5b-customer {
  position: absolute;     /* same positioning model as other steps */
  left: 0;
  width: 100%;            /* cover the modal's inner box */
  padding: 16px 24px;     /* match step5/step6 padding */
  box-sizing: border-box;
  text-align: left;       /* consistent with step6 */
}

/* Title — match other step titles */
.form-container.step5b-customer .modal-title {
  display: block;
  margin: 10px 0 16px;
  line-height: 1.2;
  font-weight: 700;
  font-size: 30px !important;  /* same visual weight as step6/8 */
  text-align: center;
}

/* Neutralize global modal form styles so the form doesn't look like a separate card */
.form-container.step5b-customer form {
  background: transparent !important;  /* override .modal-auth form background */
  padding: 0 !important;               /* override .modal-auth form padding */
  height: auto;                        /* don't force full-height form */
  align-items: stretch;                /* align like other steps */
  text-align: left;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Field row — same structure as step6 rows */
.form-container.step5b-customer .field {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
}

/* Label column (right-aligned like step6) */
.form-container.step5b-customer .u-label {
  flex: 0 0 150px;
  white-space: nowrap;
  text-align: right;
  margin: 0;
  font-weight: 700;
  color: #2b2f3a;
}

/* Inputs (rounded like step5/6 selects) */
.form-container.step5b-customer input[type="number"],
.form-container.step5b-customer textarea {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  height: 44px;                          /* match selects height */
  padding: 8px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  background: #fff;
  font: inherit; color: inherit;
}
.form-container.step5b-customer textarea {
  height: auto;
  min-height: 120px;                      /* comfortable note box */
  line-height: 1.5;
  resize: vertical;
}

/* STEP5B — inline pet description textarea (small, one-line feel) */
.form-container.step5b-customer textarea#petDescription {
  min-height: 36px !important;
  height: 36px !important;
  max-height: 36px !important;

  resize: none !important;
  padding: 6px 10px !important;
  font-size: 13px;
  line-height: 1.3;
  width: 450px;          /* adjust if needed */
}

/* Helper text */
.form-container.step5b-customer .muted {
  color: #777; font-size: 12px;
  margin-top: 4px;
}

/* Children ages block: label above grid (like step5 map label) */
.form-container.step5b-customer .field.field-col {
  display: block;
}
.form-container.step5b-customer .field.field-col .u-label {
  display: block;
  text-align: left;         /* label above grid */
  margin: 0 0 8px;
}

/* Grid of age inputs (compact, stays inside box) */
.form-container.step5b-customer .child-ages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}
.form-container.step5b-customer .child-age-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e6f3;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
}
.form-container.step5b-customer .child-age-item input[type="number"] {
  height: 36px;             /* slightly shorter inside the chip */
  width: 80px;              /* keeps it tidy */
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 6px 8px;
}

/* Buttons row — centered, like step6 */
.form-container.step5b-customer .actions-row {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* Mobile: stack fields like step6 */
@media (max-width: 700px) {
  .modal-auth .form-container.step5b-customer { padding: 16px; }
  .form-container.step5b-customer .field { display: block; }
  .form-container.step5b-customer .u-label {
    display: block;
    text-align: left;
    margin: 0 0 6px;
    flex: none;
  }
}


/* make all steps wider */
.modal-auth .modal-content {
    max-width: 780px !important;   /* 700/750/800 (you can change this) */
}

/* make the step5B container itself full width of that modal */
.modal-auth .form-container.step5b-customer{
    width:100% !important;
    max-width:none !important;
}

/* force same modal inner width like other steps */
.modal-auth .modal-content {
    max-width: 820px !important;   /* this is the width your step6 is already using */
}


/* make child age items smaller in step5b */
.form-container.step5b-customer .child-age-item {
    padding: 4px 8px !important;
    gap: 4px !important;
}

.form-container.step5b-customer .child-age-item input[type="number"]{
    height: 30px !important;
    width: 60px !important;
    font-size: 13px !important;
    padding: 2px 6px !important;
}

.form-container.step5b-customer .child-ages-grid {
    gap: 6px !important;
    grid-template-columns: repeat(auto-fill, minmax(110px,1fr)) !important;
}

/* STEP5B: smaller note textarea */
.form-container.step5b-customer textarea#custSpecialNotes {
    max-height: 80px !important;  /* smaller height */
}

/* STEP5B: reduce space under textarea block */
.form-container.step5b-customer .field.field-col {
    margin-bottom: 10px !important;
}

.form-container.step6 .actions-row {
  margin-top: 20px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
}

.form-container.step5b-customer textarea#custSpecialNotes {
    min-height: 40px !important;
    height: 80px !important;
    max-height: 80px !important;
}

/* Fix: make the chips text box always clickable */
#languagesChips input[type="text"] {
  position: relative;
  z-index: 60;             /* above the dropdown */
}

/* Hide dropdown by default; only show when JS adds .show */
#languagesChips .dropdown {
  display: none;           /* default hidden, avoids covering the input */
}
#languagesChips .dropdown.show {
  display: block;
}

/* =========================
   BusyBees global palette overrides
   ========================= */

/* MAIN BRAND COLORS MAPPING
   - palette-2-base      → teal blocks/buttons
   - palette-2-light-3   → soft yellow section backgrounds
   - palette-2-light-2/1 → accents & borders
*/

/* Background blocks that use palette-2-base
   (footer, colored strips, etc.) */
.u-palette-2-base,
.u-container-style.u-palette-2-base,
.u-section-5.u-palette-2-base,
.u-section-12.u-palette-2-base,
.u-footer.u-palette-2-base {
  background-color: #99D5C3  !important;
  color: #ffffff !important;
}

/* Text that uses palette-2-base (menu links, buttons text, etc.) */
.u-text-palette-2-base,
.u-text-active-palette-2-base,
.u-text-hover-palette-2-base:hover {
  color: #2cccc4  !important;
}



/* Lighter accents & borders */
.u-border-palette-2-light-2,
.u-border-palette-2-light-1 {
  border-color: var(--brand-teal) !important;
}

/* Light text accents (opening hours, contact details, footer note) */
.u-text-palette-2-light-3,
.u-text-palette-2-light-2 {
  color: var(--brand-navy) !important;
}

/* Buttons that use palette-2 variants */
.u-btn.u-palette-2-base,
.u-btn.u-active-palette-2-base,
.u-btn.u-hover-palette-2-base:hover {
  background-color: #ef5412 !important;
  border-color: var(--brand-teal) !important;
  color: #ffffff !important;
}

/* Inputs that use palette-2-light-1 (newsletter input, etc.) */
.u-input.u-palette-2-light-1 {
  background-color: var(--brand-yellow-soft) !important;
  border-color: var(--brand-yellow) !important;
}


/* NAVBAR COLOR OVERRIDE */
.u-header {
    background-color: #99D5C3 !important;
}

/* Optional: adjust menu link colors to match */
.u-header .u-nav-link,
.u-header .u-text-grey-90 {
    color: #022E7A !important;      /* navy (clean contrast) */
}

.u-header .u-nav-link:hover {
    color: #ffffff !important;      /* white on hover */
}

/* Mobile sidenav — match header theme */
.u-sidenav .u-nav-link {
    color: #022E7A !important;
    background: transparent !important;
}

.u-sidenav .u-nav-link:hover {
    color: #ffffff !important;
    background: rgba(2, 46, 122, 0.15) !important;
}

/* Small phones: wrap labels + allow scrolling inside auth modal */
@media (max-width: 480px) {

  /* keep your label wrapping */
  .form-container.step3 label.u-label {
    white-space: normal;
  }

  /* Step 3: keep radio + text inline on very small screens */
  #modalAuth .form-container.step3 label.u-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
    margin: 8px 0 !important;
  }

  #modalAuth .form-container.step3 input[type="radio"] {
    width: auto !important;
    margin: 0 !important;
    flex: 0 0 auto;
  }

  /* Step 3+ mobile: enforce equal Back/Next button sizing (<480px) */
  #modalAuth .form-container:not(.sign-in-container):not(.sign-up-container) .actions-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  #modalAuth .form-container:not(.sign-in-container):not(.sign-up-container) .actions-row .btn,
  #modalAuth .form-container:not(.sign-in-container):not(.sign-up-container) .actions-row button {
    width: 100% !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
  }

  #modalAuth .form-container.step3 button[type="submit"] {
    width: 100% !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
  }

  /* move modal a bit down & allow page to scroll when content is tall */
  .modal-auth {
    align-items: flex-start;
    padding: 16px 8px;
    overflow-y: auto;                 /* scroll the black backdrop */
  }

  /* give the white box a little margin from top/bottom */
  .modal-auth .container {
    margin: 16px auto;
    width: 95%;
    max-width: 100%;
    /* keep min-height and overflow from the 768px rules (for slide effect) */
  }

  /* IMPORTANT: scroll inside each step when fields are taller than 500px */
  .modal-auth .form-container {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;  /* smooth scrolling on mobile */
  }
}

/* Fix upload image section alignment on small screens */
@media (max-width: 480px) {

  /* Make the right column full width + centered */
  .form-container.step4 .col-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center !important;   /* CENTER the image + button */
    justify-content: center;
    margin-top: 10px;
  }

  /* Center the button explicitly */
  .form-container.step4 .col-right .upload-btn,
  .form-container.step4 .col-right button,
  .form-container.step4 .col-right input[type="file"] {
    margin: 10px auto 0 !important;
    display: block !important;
  }

  /* In case the preview image has wrong alignment */
  .form-container.step4 .col-right img {
    display: block;
    margin: 0 auto 10px !important;
  }
}

@media (max-width: 480px) {

  /* Hide only the small camera/file button on the left */
  .form-container.step4 .col-right input[type="file"],
  .form-container.step4 .col-right label[for="photoInput"],
  .form-container.step4 .col-right .file-input-wrapper,
  .form-container.step4 .col-right .file-upload-button {
    display: none !important;
  }
}

@media (max-width: 480px) {

  /* Step 5 — LOCATION LAYOUT FIX */
  .form-container.step5 {
    padding: 10px 12px !important;
  }

  /* Stack fields vertically with normal alignment */
  .form-container.step5 .field,
  .form-container.step5 .row-inline .field {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-bottom: 10px;
  }

  /* Labels should be full width and above inputs */
  .form-container.step5 .u-label {
    margin: 0 0 6px 0 !important;
    text-align: left !important;
    font-size: 14px;
    width: 100%;
  }

  /* Inputs stretch full width */
  .form-container.step5 input,
  .form-container.step5 select {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
    padding: 10px 12px;
  }

  /* Fix the row-inline container */
  .form-container.step5 .row-inline {
    flex-direction: column !important;
    width: 100%;
    gap: 0;
  }

  /* Map reposition + height fix */
  #map {
    width: 100% !important;
    height: 240px !important;
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
  }

  /* Center title */
  .form-container.step5 .modal-title {
    text-align: center !important;
    font-size: 20px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {

  /* Step 6 — Fix header spacing for h3 modal title */
  .form-container.step6 h3 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  /* Optional: prevent extra padding pushing content down */
  .form-container.step6 form {
    padding-top: 0 !important;
  }
}

@media (max-width: 480px) {

  /* Step 7 — Certifications & Experience title fix */
  .form-container.step7 h3 {
    margin-top: -120px !important;      /* closer to top */
    margin-bottom: 10px !important;   /* balanced spacing */
    font-size: 24px !important;       /* smaller title */
    text-align: center !important;
    line-height: 1.2 !important;
  }

  /* Optional improvement: prevent large top padding pushing title down */
  .form-container.step7 form {
    padding-top: 0 !important;
  }
}


@media (max-width: 480px) {

  /* Step 8 — Activity tiles compact layout for small screens */
  .form-container.step8 .activity-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px;
  }

  .form-container.step8 .activity-tile {
    min-height: 90px !important;          /* smaller tile height */
    padding: 10px !important;
    border-radius: 12px;                  /* softer edges */
  }

  /* Icon adjustments */
  .form-container.step8 .activity-tile img,
  .form-container.step8 .activity-tile svg {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 6px !important;
  }

  /* Activity name text */
  .form-container.step8 .activity-tile span,
  .form-container.step8 .activity-tile .activity-label {
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center;
    display: block;
  }
}

@media (max-width: 480px) {

  /* Step 9 — Comforts compact layout (same style as Step 8) */
  .step9 .comforts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px;
  }

  /* card body */
  .step9 .comfort label {
    height: 105px !important;
    padding: 10px;
    border-radius: 12px;
  }

}


@media (max-width: 480px) {

  /* Step 10 — Force uniform icon size for certifications grid */
  .form-container.step10 .cert-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 10px;
  }

  .form-container.step10 .cert-tile {
    min-height: 95px !important;
    padding: 10px !important;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* UNIFY ALL ICON SIZES */
  .form-container.step10 .cert-tile img,
  .form-container.step10 .cert-tile svg {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important; /* keeps proportions */
    margin-bottom: 6px !important;
  }

  /* Label text fixes */
  .form-container.step10 .cert-tile span,
  .form-container.step10 .cert-tile .cert-label {
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    max-width: 90px !important;
    white-space: normal !important;
    display: block;
  }
}

  /* ---------- STEP 12 – Availability ---------- */
@media (max-width: 480px) {
  .form-container.step12 {
    padding: 16px 10px 24px;
  }

  .form-container.step12 .modal-title {
    margin-top: 8px;
    margin-bottom: 16px;
    font-size: 24px;
    text-align: center;
  }

  .availability-table th,
  .availability-table td {
    padding: 6px 4px;
    font-size: 12px;
  }

  .availability-table tbody th {
    font-size: 12px;
    white-space: nowrap;
  }
}
/* =========================
   STEP 8 – Mobile Fix (<480px)
   ========================= */
@media (max-width: 480px) {

  /* Make Step 8 visible space correct */
  .form-container.step8 {
    padding: 16px 18px !important;
  }

  /* FIX the title */
  .form-container.step8 h3 {
    margin-top: 170px !important;    /* move DOWN so it shows */
    margin-bottom: 12px !important;
    font-size: 22px !important;      /* smaller, fits mobile */
    line-height: 1.3;
  }

  /* Make grid more compact on small screens */
  .activity-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
    gap: 10px !important;
  }

  /* Reduce card padding for mobile */
  .activity label {
    padding: 8px !important;
  }

  /* Smaller thumbnails */
  .activity .thumb img {
    width: 65% !important;
    height: 65% !important;
  }

  /* Button spacing fix */
  .step8 .actions-row {
    margin-top: 14px !important;
  }
}


@media (max-width: 480px) {

  /* Step 9 — Comforts compact layout (match Step 8 style) */
  .form-container.step9 .comforts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px;
  }

  /* each comfort card */
  .form-container.step9 .comfort label {
    height: 105px !important;
    padding: 10px !important;
    border-radius: 12px;
  }

  /* icon box */
  .form-container.step9 .comfort .thumb {
    width: 60%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }



  /* text under icon */
  .form-container.step9 .comfort .title {
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}


@media (max-width: 480px) {

  /* Step 9 — Title visibility fix */
  .form-container.step9 h3,
  .step9 .modal-title {
    display: block !important;
    text-align: center !important;
    margin-top: 150px !important;   /* pushes it DOWN like step 8 */
    margin-bottom: 12px !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

}

@media (max-width: 480px) {

  /* Step 9 — Unified icon size */
  .form-container.step9 .comfort .thumb {
    width: 60px !important;
    height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .form-container.step9 .comfort .thumb img,
  .form-container.step9 .comfort .thumb svg {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

}


/* =========================
   STEP 9 – Mobile Fix (<480px)
   ========================= */
@media (max-width: 480px) {
  .modal-auth .form-container.step9 .modal-title {
    margin-top: 470px !important;     /* move it DOWN so it shows */
    margin-bottom: 12px !important;
    font-size: 22px !important;       /* smaller on phones */
    line-height: 1.3;
    text-align: center;
  }
}

/* STEP 10 – uniform icon sizes on small phones */
@media (max-width: 480px) {
  .step10 .final-card .thumb {
    width: 56px !important;
    height: 56px !important;
    aspect-ratio: 1 / 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
  }

  .step10 .final-card .thumb img,
  .step10 .final-card .thumb svg {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
  }
}

/* STEP 12 – Mobile spacing fix */
@media (max-width: 480px) {

  /* space under the availability table */
  .form-container.step12 .availability-table {
    margin-bottom: 24px !important;
  }

  /* increase spacing above buttons */
  .form-container.step12 .actions-row {
    margin-top: 20px !important;
  }
}


/* =========================
   STEP 3 – “Tell us who you are” (desktop > 480px)
   ========================= */
@media (min-width: 481px) {

  /* overall padding + center the block */
  .form-container.step3 {
    padding: 32px 48px;
    box-sizing: border-box;
  }

  /* big friendly title */
  .form-container.step3 h3.modal-step {
    font-family: 'Baloo 2', cursive;
    font-size: 38px;
    font-weight: 700;
    text-align: left;
    margin-top: 0;
    margin-bottom: 26px;
    color: #3e3f40;
  }

  /* keep the form in a nice column, centered in modal */
  .form-container.step3 form {
    align-items: stretch;
    text-align: left;
    max-width: 440px;
    margin: 0 auto;
  }

  /* each option as a soft pill row */
  .form-container.step3 label.u-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #e4e6f3;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: normal;  /* can wrap on desktop if text is long */
  }

  /* radio size + color */
  .form-container.step3 input[type="radio"] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #E5B300; /* honey yellow */
  }

  /* hover feedback */
  .form-container.step3 label.u-label:hover {
    border-color: #d2d6f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  /* divider line between groups */
  .form-container.step3 hr {
    width: 100%;
    margin: 16px 0;
    border: 0;
    border-top: 1px solid #dedede;
  }

  /* keep the CONTINUE button nicely separated */
  .form-container.step3 button[type="submit"],
  .form-container.step3 .actions-row {
    margin-top: 26px;
    display: flex;
    justify-content: center;
  }
}



@media (min-width: 481px) {

  /* Center the entire modal content wrapper */
  .modal-auth .container,
  .modal-auth #container {
    width: 100%;
    max-width: 650px; /* increase from 536 */
    margin: 0 auto;   /* THIS centers the block */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
  }
}

@media (min-width: 481px) {

  /* ensure the form stays centered inside the larger container */
  .form-container.step3 {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .form-container.step3 form {
    width: 100%;
  }
}

/* ============================
   GLOBAL ALERT / TOAST BOX
   ============================ */
.alert-box {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffe1e1;
  color: #b30000;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  display: none;
  z-index: 99999;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
  max-width: 90%;
  text-align: center;
  animation: fadeAlert 0.4s ease;
}

@keyframes fadeAlert {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}


/* Login button: transparent background, colored border */
.button-link.login-btn {
  background-color: transparent;
  border: 2px solid #0D6E6A; /* dark teal */
  color: #0D6E6A !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.button-link.login-btn:hover {
  background-color: #0D6E6A;
  color: white !important;
  text-decoration: none;
}

/* Sign Up button: filled */
.button-link.signup-btn {
  background-color: #0D6E6A;
  border: 2px solid #0D6E6A;
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.button-link.signup-btn:hover {
  background-color: #09504D; /* slightly darker on hover */
  border-color: #09504D;
  text-decoration: none;
}

.social-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
}

.social-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  height: 50px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  min-width: 200px !important;
  transition: 0.2s !important;
}

.social-btn img {
  width: 24px !important;
  height: 24px !important;
  margin-right: 12px !important;
}

.social-text {
  flex: 1 !important;
}

.gmail {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #ccc !important;
}

.facebook {
  background-color: #f1f1f1 !important;
  color: #090808 !important;
  border: none !important;
}


.social-btn:hover {
  opacity: 0.85 !important;
}


.form-container.step3 {
  display: none; /* stays hidden initially */
  background-image: url('/static/images/modal-bg2.jpg'); /* your background */
  background-size: cover;
  background-position: center;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: white; /* for text visibility */
  max-width: 750px; /* limits width */
  font-family: 'Montserrat', sans-serif !important;

}


.form-container.step4 {
  display: none; /* hidden initially */
  background-image: url('/static/images/modal-bg3.jpg'); /* your background */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: white; /* make text readable */
  max-width: 750px; /* width of modal */
  font-family: 'Montserrat', sans-serif !important; /* match modal font */
}


.form-container.step4 {
    text-align: left; /* ensures everything inside is left-aligned */
}

.form-container.step4 label,
.form-container.step4 .u-label {
    display: block;      /* full width */
    text-align: left;    /* left-align text */
    margin-bottom: 5px;  /* spacing below label */
    font-weight: 500;    /* optional */
}

footer#sec-a5be {
    max-height: none;
    overflow: visible;
    height: auto;
}

@media (min-width: 768px) {
  footer#sec-a5be .u-sheet-1 {
    min-height: auto !important;
  }

  footer#sec-a5be .u-layout-wrap-1 {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }

  footer#sec-a5be .u-layout-cell-1,
  footer#sec-a5be .u-layout-cell-2,
  footer#sec-a5be .u-layout-cell-3 {
    min-height: auto !important;
  }

  footer#sec-a5be .u-container-layout-1,
  footer#sec-a5be .u-container-layout-2,
  footer#sec-a5be .u-container-layout-3 {
    padding-top: 14px !important;
    padding-bottom: 10px !important;
  }

  footer#sec-a5be .u-line-2 {
    margin-top: 10px !important;
  }

  footer#sec-a5be .u-text-11 {
    margin-top: 8px !important;
    margin-bottom: 6px !important;
  }
}

/* Center the logo */
.u-image.u-logo.u-image-1 {
    display: block;           /* make it block to use margin auto */
    height: 60px;             /* your desired height */
    width: auto;              /* keep aspect ratio */
}

/* Shrink the image inside */
.u-image.u-logo.u-image-1 img.u-logo-image-1 {
    height: 100%;              /* fit the container height */
    width: auto;               /* keep aspect ratio */
    display: block;
}

.logo-brand-wrapper {
    display: flex;
    align-items: center;        /* vertically center logo and text */
    justify-content: center;    /* horizontally center the whole group */
    gap: 10px;                  /* space between logo and text */
}

.logo-brand-wrapper .brand-text {
    font-size: 24px;            /* adjust size */
    font-weight: 700;           /* bold */
    color: #ffffff;             /* adjust color to match design */
}

footer .u-text {
  margin: 4px 0 !important;   /* was ~16–20px */
  line-height: 1.4;
  color: #000000 !important;
}
footer .u-text a {
  color: #000000 !important;
  text-decoration: none;
}

footer .u-text a:hover {
  color: #000000;
  text-decoration: underline;
}

footer#sec-a5be h4,
footer#sec-a5be .u-text-11 {
  color: #000000 !important;
}

/* Facebook */
.u-social-facebook svg path {
    fill: #4267B2; /* Facebook blue */
}

/* Twitter */
.u-social-twitter svg path {
    fill: #1DA1F2; /* Twitter blue */
}

/* Instagram */
.u-social-instagram svg path {
    fill: #E1306C; /* Instagram pink gradient simplified to pink */
}

/* 1. Add space between address and links */
.u-container-layout p.u-opacity-70 {
    margin-top: 25px !important; /* increase space above the address */
}

/* 2. Reduce space between "Follow us on" title and icons */
.u-social-icons-1 {
    margin-top: 5px !important; /* decrease space above social icons */
}


/* Target steps 3 and onward inside the modal */
.modal-auth .form-container.step3,
.modal-auth .form-container.step4,
.modal-auth .form-container.step5,
.modal-auth .form-container.step5b-customer,
.modal-auth .form-container.step6,
.modal-auth .form-container.step7,
.modal-auth .form-container.step8,
.modal-auth .form-container.step9,
.modal-auth .form-container.step10,
.modal-auth .form-container.step11,
.modal-auth .form-container.step12 {
    width: 900px;       /* Adjust as needed */
    max-width: 100%;     /* Keep responsive on smaller screens */

}

/* Optional: center it */
.modal-auth .form-container {
    margin: 0 auto;
}


/* Step 3 and onward */
.modal-auth #container.step-expanded {
    max-width: 900px;  /* or whatever width you want */
    padding: 0 50px;    /* optional: more inner space */
    height: 600px;
}

/* Optional: override flex alignment for bigger forms */
.modal-auth #container.step-expanded .form-container {
    width: 100%;
}

.form-container.step5 {
  display: none; /* hidden initially */
  background-image: url('/static/images/modal-bg3.jpg'); /* your background */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: white; /* make text readable */
  max-width: 750px; /* width of modal */
  font-family: 'Montserrat', sans-serif !important; /* match modal font */
}



.form-container.step8 {
  display: none; /* hidden initially */
  background-image: url('/static/images/modal-bg3.jpg'); /* your background */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: white; /* make text readable */
  max-width: 750px; /* width of modal */
  font-family: 'Montserrat', sans-serif !important; /* match modal font */
}


.form-container.step6 .field {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}

/* Label column (LEFT side) */
.form-container.step6 .u-label {
  flex: 0 0 160px !important;   /* fixed label width */
  text-align: right !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #333 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Inputs & dropdowns (RIGHT side) */
.form-container.step6 select,
.form-container.step6 input[type="text"],
.form-container.step6 input[type="number"] {
  flex: 1 !important;
  height: 42px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #cfcfcf !important;
  font-size: 14px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

/* Focus state */
.form-container.step6 select:focus,
.form-container.step6 input:focus {
  outline: none !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 2px rgba(79,70,229,0.15) !important;
}

/* ===== Language chips block (label ABOVE only here) ===== */
.form-container.step6 .field.field-col {
  display: block !important;
}

.form-container.step6 .field.field-col .u-label {
  display: block !important;
  text-align: left !important;
  margin-bottom: 6px !important;
}

/* Chips container */
.form-container.step6 .chips-select {
  min-height: 42px !important;
  padding: 6px 8px !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 8px !important;
  background: #fff !important;
}

/* ===== Radio sections ===== */
.form-container.step6 .field span.u-label.block {
  text-align: right !important;
  font-weight: 600 !important;
}

/* Radio + text inline */
.form-container.step6 .field label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-right: 16px !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

/* Radio button itself */
.form-container.step6 input[type="radio"] {
  width: auto !important;
  margin: 0 !important;
  accent-color: #4f46e5 !important;
}

/* Checkbox inputs (language dropdown) — prevent 100% width from base modal rule */
.form-container.step6 input[type="checkbox"] {
  width: auto !important;
  flex: 0 0 auto;
}

/* ===== Buttons row untouched layout, only spacing ===== */
.form-container.step6 .actions-row {
  margin-top: 20px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
}

/* ===== Mobile: stack label above input ===== */
@media (max-width: 600px) {
  .form-container.step6 .field {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .form-container.step6 .u-label {
    text-align: left !important;
    flex: none !important;
  }
}


.form-container.step6 select#education_level {
  max-width: 260px !important;   /* adjust: 220–300px */
  width: 100% !important;
}

.form-container.step6 label[for="education_level"] {
  flex: 0 0 110px !important;
}

.form-container.step6 .field {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Label column (left side) */
.form-container.step6 .u-label {
  flex: 0 0 120px !important;   /* tighter label width */
  text-align: right !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* ---------- LANGUAGE YOU SPEAK ---------- */

/* Make this field row-style (label left, input right) */
.form-container.step6 .field.field-col {
  display: flex !important;
  align-items: flex-start !important;
}

/* Language label on the LEFT */
.form-container.step6 .field.field-col .u-label {
  flex: 0 0 120px !important;
  text-align: right !important;
  margin-top: 8px !important;
}

/* Chips container = text box */
.form-container.step6 #languagesChips {
  max-width: 260px !important;     /* 🔽 narrower textbox */
  width: 100% !important;
  min-height: 42px !important;
  padding: 6px 8px !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  background: #fff !important;
}

/* Force selected languages UNDER the input line */
.form-container.step6 #languagesChips .chip {
  width: 100% !important;          /* 👈 forces chips below */
  max-width: 100% !important;
}

/* ---------- EXPERIENCE & HOURLY RATE ---------- */

/* Reduce width of these inputs only */
.form-container.step6 input#experience,
.form-container.step6 input#hourly_rate {
  max-width: 260px !important;     /* match language width */
  width: 100% !important;
}


/* =========================
   STEP 6 — FORCE first two fields on one line
   ========================= */

/* Make form a grid */
.form-container.step6 form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: 24px !important;
}

/* Default: fields take full width */
.form-container.step6 .field {
  grid-column: span 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* FIRST field: Education level */
.form-container.step6 .field:nth-of-type(1) {
  grid-column: 1 !important;
}

/* SECOND field: Language you speak */
.form-container.step6 .field:nth-of-type(2) {
  grid-column: 2 !important;
  align-items: flex-start !important;
}

/* ---------- Labels ---------- */
.form-container.step6 .u-label {
  flex: 0 0 120px !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* ---------- Education dropdown ---------- */
.form-container.step6 select#education_level {
  max-width: 200px !important;
  width: 100% !important;
  margin-left: 30px;
}

/* ---------- Language chips ---------- */
.form-container.step6 #languagesChips {
  max-width: 220px !important;
  width: 100% !important;
  min-height: 42px !important;
}

/* Put selected languages UNDER the textbox */
.form-container.step6 #languagesChips .chip {
  width: 50% !important;
}

/* ---------- Mobile: stack again ---------- */
@media (max-width: 768px) {
  .form-container.step6 form {
    grid-template-columns: 1fr !important;
  }

  .form-container.step6 .field {
    grid-column: span 1 !important;
  }
}

/* =========================
   STEP 6 — Experience + Hourly rate on one line
   ========================= */

/* Years of experience = 3rd field */
.form-container.step6 .field:nth-of-type(3) {
  grid-column: 1 !important;
}

/* Hourly rate = 4th field */
.form-container.step6 .field:nth-of-type(4) {
  grid-column: 2 !important;
}

/* Keep their inputs narrower */
.form-container.step6 input#experience,
.form-container.step6 input#hourly_rate {
  max-width: 200px !important;
  width: 100% !important;
}

.form-container.step6 input#hourly_rate {
  margin-left: 10px;
}

/* =========================
   STEP 6 — Childcare + Medical on one line
   ========================= */

/* Childcare certification = 5th field */
.form-container.step6 .field:nth-of-type(5) {
  grid-column: 1 !important;
}

/* Medical certificate = 6th field */
.form-container.step6 .field:nth-of-type(6) {
  grid-column: 2 !important;
}

/* Improve radio alignment */
.form-container.step6 .field:nth-of-type(5),
.form-container.step6 .field:nth-of-type(6) {
  align-items: center !important;
}

/* Keep radio labels tidy */
.form-container.step6 .field:nth-of-type(5) label,
.form-container.step6 .field:nth-of-type(6) label {
  margin-right: 14px !important;
  font-size: 14px !important;
}

/* =========================
   STEP 6 — About textarea full width
   ========================= */

/* Make About field span both grid columns */
.form-container.step6 .field:has(#about) {
  grid-column: 1 / -1 !important;
}

/* Increase textarea width */
.form-container.step6 textarea#about {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 140px !important;
  padding: 12px !important;
  border-radius: 10px !important;
  border: 1px solid #cfcfcf !important;
  font-size: 14px !important;
  resize: vertical !important;
  box-sizing: border-box !important;
}

/* Counter styling */
.form-container.step6 #aboutCounter {
  display: block !important;
  margin-top: 6px !important;
  font-size: 12px !important;
  color: #777 !important;
}


/* =========================
   STEP 6 — About textarea with label
   ========================= */

/* Make About field full width */
.form-container.step6 .field:has(#about) {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

/* Label on the LEFT */
.form-container.step6 .field:has(#about) .u-label {
  flex: 0 0 120px !important;
  text-align: right !important;
  font-weight: 600 !important;
  margin-top: 8px !important;
}

/* Textarea wide */
.form-container.step6 textarea#about {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 140px !important;
  padding: 12px !important;
  border-radius: 10px !important;
  border: 1px solid #cfcfcf !important;
  font-size: 14px !important;
  resize: vertical !important;
  box-sizing: border-box !important;
}

/* Counter under textarea */
.form-container.step6 #aboutCounter {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: #777 !important;
}

/* =========================
   STEP 6 — Background styling
   ========================= */

/* STEP 6 background — SAFE VERSION */
.form-container.step6 {
  background-image: url('/static/images/modal-bg3.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;

  color: #090808 !important;
  font-family: 'Montserrat', sans-serif !important;

  padding: 32px !important;
}

.form-container.step6 input,
.form-container.step6 select,
.form-container.step6 textarea,
.form-container.step6 .chips-select {
  background: rgb(241, 241, 241) !important;
  color: #000 !important;
}

.form-container.step6 .u-label,
.form-container.step6 label,
.form-container.step6 small {
  color: #090808 !important;
}


.form-container.step9 {
  background-image: url('/static/images/modal-bg2.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;

  color: #090808 !important;
  font-family: 'Montserrat', sans-serif !important;

  padding: 32px !important;
}

.form-container.step10 {
  background-image: url('/static/images/modal-bg2.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;

  color: #090808 !important;
  font-family: 'Montserrat', sans-serif !important;

  padding: 32px !important;
}

.form-container.step12 {
  background-image: url('/static/images/modal-bg3.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;

  color: #090808 !important;
  font-family: 'Montserrat', sans-serif !important;

  padding: 32px !important;
}

/* =========================
   STEP 6 — center buttons again
   ========================= */

.form-container.step6 .actions-row {
  grid-column: 1 / -1 !important;   /* 👈 span full width */
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
}

/* Restore dropdown arrow for Education level */
.form-container.step6 select#education_level {
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  -moz-appearance: menulist !important;

  background-color: #fff !important;
}

.chips-select {
    display: flex;
    flex-wrap: wrap; /* allow multiple items in multiple lines */
    flex-direction: column; /* stack items vertically */
}

.chips-select .chip {
    order: 1; /* ensures the selected chips come after input */
    margin-top: 5px; /* space between input and chips */
}

#languagesChips * {
    box-sizing: border-box !important;
}

#languagesChips .selected,
#languagesChips .chips-selected,
#languagesChips .values,
#languagesChips .items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
}


.multi-select {
  position: relative;
  width: 100%;
}

.select-box {
  border: 1px solid #ccc;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.checkbox-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 6px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 10;
}

.checkbox-dropdown.open {
  display: block;
}

.checkbox-dropdown label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  flex-wrap: nowrap;
}

.checkbox-dropdown input[type="checkbox"] {
  width: auto;
  flex: 0 0 auto;
}

.checkbox-dropdown label:hover {
  background: #f5f5f5;
}

/* Table styling */
.availability-table {
  width: 100%;
  border-collapse: separate; /* allow spacing */
  border-spacing: 0 15px; /* vertical space between rows */
  font-size: 16px; /* bigger text */
}

/* Remove borders from headers and cells */
.availability-table th,
.availability-table td {
  border: none;
  padding: 12px 16px; /* bigger cells */
  text-align: center;
  vertical-align: middle;
}

/* Larger checkboxes */
.availability-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

/* Optional: header style */
.availability-table th {
  background: transparent; /* remove header background */
  font-weight: 600;
}

/* Space between table and buttons */
.availability-wrap {
  margin-bottom: 30px; /* increase space below table */
}


.form-container.step5b-customer {
  background-image: url('/static/images/modal-bg3.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;

  color: #090808 !important;
  font-family: 'Montserrat', sans-serif !important;

  padding: 32px !important;
}

.form-container.step5b-customer .modal-title {
  margin-top: 5px !important;
}

.form-container.step5b-customer #custChildrenCount {
  width: 120px !important;        /* try 100–140px */
  max-width: 100% !important;
}

/* STEP5B — Child count input should be compact */
.form-container.step5b-customer #custChildrenCount {
  width: 90px !important;
  flex: 0 0 90px !important;
  text-align: center;
}


/* STEP5B — inline radio buttons */
.form-container.step5b-customer .inline-options {
  display: flex;
  gap: 20px;
  align-items: center;
}

.form-container.step5b-customer .inline-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  cursor: pointer;
}

/* Pet description textarea spacing */
.form-container.step5b-customer #petDescriptionField {
  margin-top: 4px;
}

/* === FIX navbar menu stacking issue === */

/* Ensure header creates a stacking context */
.u-header {
  position: relative;
  z-index: 1000;
}

/* Main navigation stays above */
.u-nav-container {
  position: relative;
  z-index: 1001;
}

/* User dropdown must float ABOVE everything */
.u-nav-popup {
  position: absolute;
  z-index: 2000;
}

/* Prevent menu items from dropping under dropdown */
.u-nav > li {
  position: relative;
  z-index: 1001;
}

.u-header {
  position: sticky !important;
  z-index: 3000 !important;
}

/* Allow base navbar dropdowns to overlay profile navbar */
.top-nav,
.top-nav * {
  overflow: visible !important;
}

/* FIX 2: Base navbar dropdown always on top */
.u-header .u-nav-popup,
.u-header .u-nav-dropdown {
  position: absolute;
  z-index: 9999;
}

/* FIX 3: Keep profile navbar below dropdowns */
.top-nav {
  position: relative;
  z-index: 100;
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .u-header .u-logo-image {
    max-height: 55px;
    width: auto;
  }

  .u-footer .u-layout-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .u-footer .u-layout-cell {
    width: 100% !important;
  }

  .u-social-icons-1 {
    justify-content: flex-start;
  }

  #modalAuth .container {
    width: calc(100vw - 20px);
    max-width: 100%;
    min-height: 560px;
  }

  #modalAuth .form-container {
    width: 100%;
    padding: 18px 14px;
  }

  #modalAuth .actions-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #modalAuth .actions-row .btn {
    width: 100%;
  }

  .availability-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .u-header .u-logo-image,
  .u-header .u-logo-image-1 {
    height: 55px !important;
    width: auto !important;
    max-height: 55px !important;
  }
}

@media (max-width: 470px) {
  .u-header {
    min-height: 74px !important;
    display: flex !important;
    align-items: center !important;
  }

  .u-header .u-image-1,
  .u-image.u-logo.u-image-1 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center !important;
  }

  .u-header .u-logo-image,
  .u-header .u-logo-image-1 {
    height: 55px !important;
    width: auto !important;
    max-height: 55px !important;
    display: block !important;
  }

  .u-header .u-menu-1 {
    margin-top: 0 !important;
    align-self: center !important;
  }

  footer#sec-a5be {
    max-height: none !important;
    overflow: visible !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  footer#sec-a5be .u-sheet-1 {
    min-height: auto !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  footer#sec-a5be .u-layout-wrap-1 {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
  }

  footer#sec-a5be .u-layout-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
  }

  footer#sec-a5be .u-layout-cell {
    width: 100% !important;
    min-height: auto !important;
  }

  footer#sec-a5be .u-container-layout {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  footer#sec-a5be .u-text,
  footer#sec-a5be .u-text a {
    font-size: 0.92rem !important;
  }

  footer#sec-a5be .u-text {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    text-align-last: center !important;
  }

  footer#sec-a5be .u-text a {
    text-align: center !important;
  }

  footer#sec-a5be h4,
  footer#sec-a5be .u-text-default {
    text-align: center !important;
  }

  footer#sec-a5be .u-social-icons-1 {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  footer#sec-a5be a[href="/contact"] {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    text-align-last: center !important;
  }

  footer#sec-a5be .u-text-11 {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }
}

/* Modal auth flow - small mobile phones */
@media (max-width: 470px) {
  #modalAuth {
    align-items: flex-start !important;
    padding: 8px 0 !important;
    overflow-y: auto !important;
  }

  #modalAuth .container,
  #modalAuth #container {
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    min-height: 92vh !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
  }

  #modalAuth .form-container {
    width: 100% !important;
    height: 100% !important;
    padding: 10px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #modalAuth form {
    padding: 14px 10px !important;
    height: auto !important;
    min-height: 100% !important;
    align-items: stretch !important;
    text-align: left !important;
  }

  #modalAuth h3,
  #modalAuth h5,
  #modalAuth .modal-title {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
    margin: 4px 0 12px !important;
  }

  #modalAuth input,
  #modalAuth select,
  #modalAuth textarea,
  #modalAuth .chips-select,
  #modalAuth .multi-select .select-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #modalAuth .field,
  #modalAuth .row-inline .field {
    display: block !important;
    width: 100% !important;
  }

  #modalAuth .u-label {
    display: block !important;
    text-align: left !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
  }

  #modalAuth .col-left,
  #modalAuth .col-right {
    width: 100% !important;
  }

  #modalAuth .photo-drop {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto !important;
  }

  #modalAuth #map {
    height: 220px !important;
  }

  #modalAuth .actions-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  #modalAuth .actions-row .btn,
  #modalAuth .actions-row button {
    width: 100% !important;
    min-height: 42px !important;
  }

  #modalAuth .availability-wrap {
    overflow-x: auto !important;
  }

  #modalAuth .availability-table {
    min-width: 520px !important;
    font-size: 12px !important;
  }

  /* Step 3 */
  #modalAuth .form-container.step3 form {
    padding-top: 8px !important;
  }
  #modalAuth .form-container.step3 label.u-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 8px 0 !important;
    font-size: 14px !important;
  }
  #modalAuth .form-container.step3 input[type="radio"] {
    width: auto !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  /* Step 4 */
  #modalAuth .form-container.step4 form {
    display: block !important;
    gap: 10px !important;
  }
  #modalAuth .form-container.step4 .modal-title {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
  }
  #modalAuth .form-container.step4 .col-left .field {
    margin-bottom: 8px !important;
  }

  /* Step 5 */
  #modalAuth .form-container.step5 {
    padding: 10px !important;
  }
  #modalAuth .form-container.step5 .modal-title {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
  }
  #modalAuth .form-container.step5 .row-inline {
    width: 100% !important;
    display: block !important;
  }

  /* Step 6 */
  #modalAuth .form-container.step6 form {
    display: block !important;
  }
  #modalAuth .form-container.step6 .field {
    margin-bottom: 10px !important;
  }
  #modalAuth .form-container.step6 .u-label {
    font-size: 13px !important;
  }

  /* Step 8 */
  #modalAuth .form-container.step8 .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  #modalAuth .form-container.step8 .activity-tile {
    min-height: 84px !important;
  }

  /* Step 9 */
  #modalAuth .form-container.step9 .comforts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  #modalAuth .form-container.step9 .comfort label {
    height: 100px !important;
  }

  /* Step 10 */
  #modalAuth .form-container.step10 .final-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  #modalAuth .form-container.step10 .cert-tile,
  #modalAuth .form-container.step10 .final-item {
    min-height: 84px !important;
  }

  /* Step 12 */
  #modalAuth .form-container.step12 .modal-title {
    margin-bottom: 8px !important;
  }
  #modalAuth .form-container.step12 .availability-table th,
  #modalAuth .form-container.step12 .availability-table td {
    padding: 6px !important;
  }

  /* Keep Step 1 (sign in / sign up) unchanged */
  #modalAuth .form-container.sign-in-container,
  #modalAuth .form-container.sign-up-container {
    padding: 0 !important;
    overflow: hidden !important;
  }

  #modalAuth .form-container.sign-in-container form,
  #modalAuth .form-container.sign-up-container form {
    padding: 30px 20px !important;
    height: 100% !important;
    min-height: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  #modalAuth .form-container.sign-in-container h5,
  #modalAuth .form-container.sign-up-container h5 {
    text-align: center !important;
    margin: 0 0 12px !important;
  }
}

/* Final Step 6 mobile alignment fix (<480px) */
@media (max-width: 480px) {
  #modalAuth .form-container.step6 select#education_level,
  #modalAuth .form-container.step6 input#hourly_rate {
    margin-left: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #modalAuth .form-container.step6 .field:has(#about) {
    display: block !important;
    gap: 0 !important;
  }

  #modalAuth .form-container.step6 .field:has(#about) .u-label {
    margin: 0 0 6px 0 !important;
    text-align: left !important;
    flex: none !important;
  }

  #modalAuth .form-container.step6 textarea#about {
    margin-top: 0 !important;
  }
}

/* Final Step 8 mobile tile sizing fix (<480px) */
@media (max-width: 480px) {
  #modalAuth .form-container.step8 .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  #modalAuth .form-container.step8 .activity {
    display: flex !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  #modalAuth .form-container.step8 .activity label {
    width: 100% !important;
    min-height: 120px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
  }

  #modalAuth .form-container.step8 .activity .thumb {
    height: 64px !important;
    min-height: 64px !important;
    width: 100% !important;
  }

  #modalAuth .form-container.step8 .activity .title {
    min-height: 2.6em !important;     /* reserve same text area for all cards */
    line-height: 1.3 !important;
    width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* cap to 2 lines */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
  }
}

/* Final Step 12 availability spacing fix (<480px) */
@media (max-width: 480px) {
  #modalAuth .form-container.step12 .availability-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-spacing: 1px 4px !important;
    font-size: 10px !important;
  }

  #modalAuth .form-container.step12 .availability-table th,
  #modalAuth .form-container.step12 .availability-table td {
    padding: 2px 1px !important;
    line-height: 1.1 !important;
  }

  #modalAuth .form-container.step12 .availability-table tbody th {
    width: 56px !important;
    font-size: 10px !important;
    white-space: normal !important;
  }

  #modalAuth .form-container.step12 .availability-table input[type="checkbox"] {
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
  }

  #modalAuth .form-container.step12 .availability-wrap {
    overflow-x: hidden !important;
  }
}

/* Step 6 – full mobile fix (<480px) */
@media (max-width: 480px) {
  #modalAuth .form-container.step6 {
    padding: 14px 12px !important;
    overflow-y: auto !important;
  }

  /* Switch form to vertical flex, drop the 2-col grid */
  #modalAuth .form-container.step6 form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* All fields: block, full width, reset any grid-column */
  #modalAuth .form-container.step6 .field,
  #modalAuth .form-container.step6 .field:nth-of-type(1),
  #modalAuth .form-container.step6 .field:nth-of-type(2),
  #modalAuth .form-container.step6 .field:nth-of-type(3),
  #modalAuth .form-container.step6 .field:nth-of-type(4),
  #modalAuth .form-container.step6 .field:nth-of-type(5),
  #modalAuth .form-container.step6 .field:nth-of-type(6) {
    display: block !important;
    grid-column: unset !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  /* Labels: block, left-aligned, no fixed width */
  #modalAuth .form-container.step6 .u-label,
  #modalAuth .form-container.step6 span.u-label {
    display: block !important;
    flex: none !important;
    width: 100% !important;
    text-align: left !important;
    white-space: normal !important;
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }

  /* All inputs full width */
  #modalAuth .form-container.step6 select,
  #modalAuth .form-container.step6 input[type="text"],
  #modalAuth .form-container.step6 input[type="number"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
  }

  /* Radio cert fields: label on top, buttons inline below */
  #modalAuth .form-container.step6 .field:nth-of-type(5),
  #modalAuth .form-container.step6 .field:nth-of-type(6) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
  }
  #modalAuth .form-container.step6 .field:nth-of-type(5) span.u-label,
  #modalAuth .form-container.step6 .field:nth-of-type(6) span.u-label {
    width: 100% !important;
    margin-bottom: 2px !important;
  }
  #modalAuth .form-container.step6 .field:nth-of-type(5) label,
  #modalAuth .form-container.step6 .field:nth-of-type(6) label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 13px !important;
    width: auto !important;
  }
  #modalAuth .form-container.step6 input[type="radio"] {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  /* Language multi-select */
  #modalAuth .form-container.step6 .multi-select {
    width: 100% !important;
    position: relative !important;
  }
  #modalAuth .form-container.step6 .select-box {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    padding: 8px 10px !important;
  }
  #modalAuth .form-container.step6 .checkbox-dropdown {
    position: absolute !important;
    z-index: 9999 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    max-height: 150px !important;
    overflow-y: auto !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  }
  #modalAuth .form-container.step6 .checkbox-dropdown label {
    font-size: 13px !important;
    padding: 7px 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  #modalAuth .form-container.step6 .checkbox-dropdown input[type="checkbox"] {
    width: auto !important;
    flex: 0 0 auto !important;
  }

  /* Textarea */
  #modalAuth .form-container.step6 textarea#about {
    width: 100% !important;
    min-height: 80px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
  }

  /* Actions row */
  #modalAuth .form-container.step6 .actions-row {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  #modalAuth .form-container.step6 .actions-row .btn {
    flex: 1 !important;
    min-height: 40px !important;
  }
}
