* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background-color: #fff4e4;
  color: #222;
}

/* NAVBAR */
.navbar {
  background-color: #4A0505;
  color: #fff;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar h1 {
  font-size: 22px;
}




.navbar nav a {
  background-color: #ffffff;
  color: #4A0505;              
  margin-left: 15px;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.35s ease;
}

/* HOVER EFFECT */
.navbar nav a:hover {
  background-color: #ff8b2c;
  color:#ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.50);
}



/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 1px;
  text-decoration: none;
}

.servitech-logo {
  width: 50px;       /* adjust size if needed */
  height: auto;
}

.logo h1 {
  font-size: 22px;
  color: #fff;
}


/* HERO */
.hero {
  background: linear-gradient(180deg, #ff772e, #ffbc48); 
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

}

/* HERO CARDS CONTAINER */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 180px);
  gap: 50px;
  justify-content: center;
  margin-top: 40px;
}

/* HERO CARD */
.hero-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 12px rgba(0,0,0,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

/* HERO ICON (SMALLER NA!) */
.hero-icon {
  width: 85px;        /* ?? PALIIT */
  height: 85px;
  margin: 15px;
}

/* HERO TEXT */
.hero-card h4 {
  color: #333;
  font-style: italic;
}


.hero-card,
.hero-card:hover,
.hero-card:focus,
.hero-card:visited {
  text-decoration: none;
  color: inherit;
}

.detail-card p {
  font-size: 14px;
  line-height: 1.4;
}

.detail-card strong {
  font-weight: 600;
}




/* `SERVICES SECTION */
.services {
  padding: 70px 70px;
}

.services h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
}

.services p {
  text-align: center;
  
}
/* CATEGORY */
.service-category {
  margin-bottom: 60px;
}

.service-category h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: #0f172a;
}

/* CARD GRID */
.service-category {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* SERVICE CARD */
.card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}



/* SERVICE TYPE CARDS (TOP) */
.service-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 400px); 
  gap: 40px;
  justify-content: center;
  margin: 50px 0 80px;
}

.service-type-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.service-type-card img {
  width: 250px;
  margin-bottom: 15px;
}

.service-type-card h3 {
  color: #4A0505;
  font-size: 18px;
}

/* SERVICE DETAILS */
.service-details {
  display: none;
}
.modal-content.service-modal {
  width: min(980px, 92vw);
  max-height: 82vh;
  overflow-y: auto;
  padding: 28px;
  border-radius: 18px;
}

.service-modal .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 24px;
}

.service-modal .detail-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-modal .detail-card.clickable {
  cursor: pointer;
}

.service-modal .detail-card.clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.service-modal .more-details {
  margin-top: auto;
  color: #AF6C09;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .service-modal .service-grid {
    grid-template-columns: 1fr;
  }
}

body.modal-open {
  overflow: hidden;
}

.service-details h3 {
  font-size: 22px;
  margin-bottom: 25px;
  color: #4A0505;
}

/* SERVICE GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* DETAIL CARD */
.detail-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.detail-card h4 {
  margin-bottom: 10px;
  color: #4A0505;
}

.detail-card span {
  font-weight: 600;
}

/* H4 HIGHLIGHT LINE ? CENTERED LINE ONLY */
.detail-card h4 {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 12px;
  text-align: left; /* IMPORTANT: text stays left */
}

/* FINAL ? LONGER & BALANCED UNDERLINE */
.detail-card h4::after {
  content: "";
  display: block;
  width: 100%;              /* MAS MAHABA */
  max-width: 260px;        /* pero hindi OA */
  height: 2px;
  background-color: #FAB12F;
  margin: 8px auto 0;      /* centered line only */
}





.more-details {
  margin-top: 10px;
  font-style: italic;
  color: #AF6C09;
  font-size: 14px;
}

.detail-card.clickable {
  cursor: pointer;
}

.service-type-card[role="button"]:focus-visible {
  outline: 3px solid #ff8b2c;
  outline-offset: 4px;
}

.modal-content.service-modal {
  width: min(960px, calc(100vw - 32px));
  min-height: min(620px, calc(100vh - 64px));
  max-height: calc(100vh - 32px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  border: 1px solid rgba(175, 108, 9, 0.18);
  background: linear-gradient(180deg, #fffdf9 0%, #fff5e8 100%);
  box-shadow: 0 24px 60px rgba(36, 18, 15, 0.26);
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.service-modal__close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5b3310;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.service-modal__close:hover {
  background: rgba(255, 139, 44, 0.14);
  transform: rotate(90deg);
}

.service-modal__header {
  padding-right: 48px;
}

.service-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 139, 44, 0.14);
  color: #9a4f08;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-modal__title {
  margin: 14px 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  color: #4A0505;
}

.service-modal__description {
  margin: 0;
  color: #5f5448;
  font-size: 15px;
  line-height: 1.6;
}

.service-modal__divider {
  width: 88px;
  height: 4px;
  margin: 18px 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8b2c 0%, #fab12f 100%);
}

.service-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

.service-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(74, 5, 5, 0.08);
}

.service-modal__action {
  min-width: 140px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.service-modal__action:hover {
  transform: translateY(-2px);
}

.service-modal__action--secondary {
  background: #4A0505;
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(74, 5, 5, 0.18);
}

.service-modal__action--secondary:hover {
  background: #6a0f0f;
}

.service-modal__action--ghost {
  background: #ffffff;
  color: #4A0505;
  border-color: rgba(74, 5, 5, 0.16);
}

.service-modal .service-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-modal .detail-card,
.service-option-card {
  min-height: 220px;
  height: 100%;
}

.service-option-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(175, 108, 9, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #fff8ef 100%);
  box-shadow: 0 12px 28px rgba(36, 18, 15, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-option-card.clickable:hover,
.service-option-card.clickable:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(255, 139, 44, 0.18);
  border-color: rgba(255, 139, 44, 0.55);
  outline: none;
}

.service-option-card__top,
.service-option-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-option-card__content {
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
}

.service-option-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffedd5 0%, #fde68a 100%);
  color: #9a4f08;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-option-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-option-card__badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(154, 79, 8, 0.08);
  color: #9a4f08;
  font-size: 12px;
  font-weight: 700;
}

.service-option-card h4 {
  margin: 0;
  padding-bottom: 10px;
  color: #4A0505;
  font-size: 18px;
}

.service-option-card h4::after {
  max-width: none;
  margin: 10px 0 0;
}

.service-option-card p {
  margin: 0;
  color: #4b443c;
  line-height: 1.55;
}

.service-option-card__cta {
  font-size: 13px;
  font-weight: 700;
  color: #9a4f08;
}

.service-option-card__cta--muted {
  color: #8d857d;
}

.service-modal__body::-webkit-scrollbar {
  width: 10px;
}

.service-modal__body::-webkit-scrollbar-track {
  background: rgba(74, 5, 5, 0.06);
  border-radius: 999px;
}

.service-modal__body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff8b2c 0%, #c26a0a 100%);
  border-radius: 999px;
}




.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  width: 330px;
  padding: 25px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Ensure .modal used in pages matches existing .modal-content look */
.modal {
  background: #fff;
  max-width: 420px;
  width: 90%;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  position: relative;
  text-align: center;
}

.modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.modal .btn-primary {
  background: #24120f;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.modal .btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #4A0505;
  cursor: pointer;
}

.modal-divider {
  width: 60px;
  height: 3px;
  background: #AF6C09;
  margin: 10px 0 15px;
}

.modal-text p {
  font-size: 14px;
  margin-bottom: 4px;
}


/* Click for more details ? hover cue */
.detail-card.clickable .more-details {
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.detail-card.clickable:hover .more-details {
  color: #D97706;

}

/* Service Status: queue lists and cards */
#activeQueueList, #onlinePrintList {
  padding: 12px 6px;
}

.queue-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.queue-card:focus,
.queue-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  outline: none;
}

.queue-card p { margin: 6px 0; color: #333; }
.queue-card .badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: #f59e0b; /* default amber */
}

.muted { color:#6b7280; padding: 18px 6px; text-align:center; }

/* Detail modal overlay + content */
#detailModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
}

#detailModal .modal {
  max-width: 520px;
  width: 92%;
  padding: 20px 22px;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(2,6,23,0.35);
  text-align: left;
}

#detailModal h3 { margin-bottom: 6px; color: #111827; }
#detailModal .modal-body { margin-top: 10px; color: #374151; font-size: 14px; }
#detailModal .modal-body small { color:#6b7280; }

@media (max-width: 520px){
  .hero-cards { grid-template-columns: repeat(1, 1fr); }
  .service-type-cards { grid-template-columns: 1fr; }
}
 


/* FOOTER */
.footer {
  background-color: #4A0505;
  color: #ffffff;
  padding: 30px 40px 20px;
  margin-top: 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.footer-left h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-item img {
  width: 22px;
  height: 22px;
}

.contact-item a,
.contact-item span {
  color: #ffffff;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* FOOTER LOGO */
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  justify-content: flex-end;
}

/* FOOTER LOGO IMAGE */
.footer-servitech-logo {
  width: 50px;    
  height: auto;
}

/* FOOTER LOGO TEXT */
.footer-logo-link h1 {
  font-size: 20px;
  color: #ffffff;
  font-weight: 600;
  font-style: italic;
}

/* BOTTOM TEXT */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
  opacity: 0.8;
  font-size: 13px;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

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

  .contact-item {
    justify-content: center;
  }
}

.modal {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.modal-close {
  background: none;
  border: none;
  font-size: 18px;
  position: absolute;
  right: 18px;
  top: 12px;
  cursor: pointer;
}




/* ===================== */
/* AUTH CONTAINER (LOGIN/REGISTER) */
/* ===================== */
.auth-container {
  width: 350px;
  max-width: 90%;
  margin: 80px auto;
  padding: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff772e, #ffbc48);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  color: #fff;
}

.auth-container h1 {
  margin-bottom: 30px;
  font-size: 28px;
  
}

/* .auth-container label {
  color: #4A0505;
} */

/* INPUT FIELDS */
.auth-container label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
}

.auth-container input[type="text"],
.auth-container input[type="email"],
.auth-container input[type="password"],
.auth-container input[type="tel"] {
  width: 100%;
  padding: 10px ;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  outline: none;
  font-size: 14px;
}

/* PLACEHOLDER OPACITY */
.auth-container input::placeholder {
  opacity: 0.5;
  font-style: italic;
}



/* BUTTON */
.auth-container button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #4A0505; /* MAROON */
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.auth-container button:hover {
  background-color: #6e0000; /* darker maroon */
}

/* FORGOT PASSWORD LINK */
.auth-container .forgot {
  display: block;
  margin-bottom: 20px;
  color: #4A0505;
  text-decoration: underline;
  font-size: 12px;
  text-align: right;
  cursor: pointer;
}

/* BACK TO LOGIN LINK */
.auth-container .back-login {
  display: block;
  margin-top: 20px;          /* layo from button */
  text-align: center;
  font-size: 13px;
  color: #4A0505;
  text-decoration: underline;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.auth-container .back-login:hover {
  opacity: 1;
  transform: translateY(-2px);
}




/* ===================== */
/* CUSTOMER DASHBOARD */
/* ===================== */


.customer-hero h2,
.customer-hero p {
  margin-top: 0;
}

.customer-hero {
  background: linear-gradient(180deg, #ff772e, #ffbc48);
  padding: 40px 40px;
  color: #4A0505;
}

.customer-hero > * {
  max-width: 1200px;
  margin: 0 auto;
}


.customer-dashboard {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding: 40px 60px 20px;
}


.dashboard-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.dashboard-card.wide {
  grid-column: span 1;
}

.dashboard-card h3 {
  color: #4A0505;
}

.divider {
  width: 100%;
  height: 2px;
  background: #FAB12F;
  margin: 10px 0 15px;
}

.queue-number {
  font-size: 26px;
  font-weight: bold;
}

.status {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.status.pending {
  background: #FAB12F;
  color: #4A0505;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* QUICK ACCESS */
.quick-access {
  padding: 40px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}


.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */
.quick-card {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.quick-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}




/* ICON BACKGROUND (same as PENDING) */
.quick-icon-box {
  width: 48px;
  height: 48px;
  background: #FAB12F;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ICON IMAGE */
.quick-icon {
  width: 26px;
  height: 26px;
}

/* TITLE */
.quick-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #4A0505;
}

/* DESCRIPTION */
.quick-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  font-weight: normal;
}

/* QUEUE HEADER (QUEUE NO + STATUS) */
.queue-header {
  display: flex;
  align-items: center;
  gap: 14px;          /* space between #P-001 and PENDING */
  margin-bottom: 10px;
}

.queue-number {
  font-size: 26px;
  font-weight: bold;
  color: #000;
}




/* ===================== */
/* PLACE QUEUE ? CHOOSE SERVICE */
/* ===================== */

.choose-service {
  background: linear-gradient(180deg, #ff9f2e, #ff7a2e);
  padding: 60px;
  text-align: center;
  border-radius: 20px;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.choose-service h2 {
  color: #4A0505;
  margin-bottom: 40px;
  font-size: 22px;
  font-weight: bold;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.choose-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-decoration: none;
  color: #000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

.choose-card img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
}

.choose-card span {
  display: block;
  font-weight: bold;
  font-size: 16px;
}





/* ===================== */
/* PRINTING OPTION PAGE */
/* ===================== */

.form-page {
  padding: 60px 80px;
  background: transparent;
  min-height: calc(100vh - 200px);
}

/* TITLES */
.page-title {
  font-size: 26px;
  margin-bottom: 5px;
  color: #000;
}

.page-subtitle {
  margin-bottom: 30px;
  color: #555;
}

/* WRAPPER (CARD + BUTTONS SAME WIDTH) */
.form-wrapper {
  max-width: 900px;
}

/* FORM CARD */
.form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* STEP TITLE */
.step-title {
  font-size: 18px;
  color: #f59e0b;
  margin-bottom: 20px;
  font-weight: 700;
}

/* LABEL */
.form-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.required {
  color: red;
}

/* SELECT */
.form-select {
  width: 320px;
  padding: 10px 14px;
  font-size: 16px;
  border: 1.5px solid #000;
  border-radius: 6px;
  cursor: pointer;
}

select.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 14px 9px;
  padding-right: 40px;
}

select.form-select::-ms-expand {
  display: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper .dropdown-arrow {
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* ACTION BUTTONS */
.form-actions {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BUTTON BASE */
.btn-back,
.btn-next {
  text-decoration: none;
  padding: 14px 48px;
  font-size: 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* BACK */
.btn-back {
  background: #000;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

/* NEXT */
.btn-next {
  background: #fbbf24;
  color: #000;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* HOVER */
.btn-back:hover,
.btn-next:hover {
  transform: translateY(-2px);
}



/* ===== DOCUMENT PRINTING FORM ===== */

.form-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

.static-text {
  font-weight: 600;
  margin-bottom: 20px;
}

.form-input {
  width: 120px;
  padding: 8px;
  margin-bottom: 20px;
}

.form-textarea {
  width: 100%;
  height: 90px;
  padding: 10px;
  resize: none;
}

/* Small two-column section inside form-card (for Rush ID additional edits) */
.two-col-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 16px 0 18px;
}

.radio-vertical label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-card .static-text {
  margin-bottom: 12px;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.sub-label {
  font-size: 14px;
  margin-bottom: 8px;
}

.form-file {
  margin-top: 10px;
}

.file-note {
  font-size: 13px;
  color: #555;
  margin-top: 5px;
}

/* SUMMARY */
.summary-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 30px;
  margin-top: 30px;
  border: 2px solid #ccc;
}

.summary-title {
  color: #f59e0b;
  font-weight: 700;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-divider {
  height: 2px;
  background: #ccc;
  margin: 15px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
}





/* ===================== */
/* EDIT PROFILE PAGE */
/* ===================== */

.sub-hero{
  background: linear-gradient(180deg, #ff772e, #ffbc48);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.back-btn{
  font-size: 26px;
  text-decoration: none;
  color: #4A0505;
  font-weight: 800;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 10px;
}

.back-btn:hover{
  background: rgba(255,255,255,0.25);
}

.sub-hero h2{
  margin: 0;
  font-size: 22px;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.page-shell{
  padding: 80px 20px 70px; 
}


.profile-card{
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}

.profile-card__header{
  padding: 28px 24px 18px;
  text-align: center;
}

.profile-card__header h1{
  margin: 0;
  color: #4A0505;
  font-size: 22px;
  font-weight: 800;
}

.profile-card__header p{
  margin: 10px 0 0;
  color: #777;
  font-size: 14px;
}

.profile-divider{
  height: 1px;
  background: rgba(0,0,0,0.12);
  width: 100%;
}

.profile-divider.thick{
  height: 2px;
  background: rgba(0,0,0,0.5);
  width: 92%;
  margin: 10px auto 22px;
}

.profile-form{
  padding: 26px 70px 44px;
}

.field{
  display: block;
  margin: 0 0 18px;
}

.field > span{
  display: block;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.input-with-icon{
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2f2f2;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.08);
}

.input-with-icon .icon{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #4A0505;
  background: rgba(255,255,255,0.7);
  font-size: 16px;
}

.input-with-icon input{
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  padding: 6px 4px;
}

.hint{
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 12px;
}

.profile-actions{
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 30px;
}

.btn-save{
  min-width: 220px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  background: #ff9b2e;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-save:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.22);
}

.btn-cancel{
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: #111;
  background: #e8e8e8;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-cancel:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.16);
}

@media (max-width: 900px){
  .profile-form{
    padding: 24px 22px 40px;
  }
  .sub-hero{
    padding: 16px 20px;
  }
}

.status.ongoing {
  background: #2563eb; /* blue */
  color: #ffffff;
}

.status.ready {
  background: #16a34a; /* green */
  color: #ffffff;
}

/* ===================== */
/* GLOBAL RESPONSIVE HARDENING */
/* ===================== */
img,
svg,
video {
  max-width: 100%;
  height: auto;
}

html,
body {
  overflow-x: hidden;
}

.navbar {
  padding: 16px clamp(14px, 4vw, 50px);
  gap: 12px;
  flex-wrap: wrap;
}

.navbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.navbar nav a {
  margin-left: 0;
}

.hero {
  padding: clamp(56px, 10vw, 100px) 20px;
}

.hero h2 {
  font-size: clamp(26px, 5vw, 36px);
}

.hero p {
  font-size: clamp(15px, 3vw, 18px);
}

.hero-cards {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 780px;
  margin-inline: auto;
  margin-top: 40px;
}

.services {
  padding: clamp(40px, 6vw, 70px) clamp(16px, 6vw, 70px);
}

.service-type-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-type-card img {
  width: min(100%, 250px);
}

.customer-dashboard {
  padding: 32px clamp(14px, 5vw, 60px) 20px;
}

.quick-access {
  padding: 40px clamp(14px, 5vw, 40px) 80px;
}

.choose-service {
  width: min(100%, 900px);
  margin: clamp(20px, 5vw, 60px) auto;
  padding: clamp(24px, 6vw, 60px);
}

.choose-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}

.form-page {
  padding: clamp(28px, 5vw, 60px) clamp(14px, 6vw, 80px);
}

.form-select {
  width: 100%;
  max-width: 420px;
}

.form-input {
  width: 100%;
  max-width: 160px;
}

.profile-actions {
  flex-wrap: wrap;
}

.modal-content {
  width: min(94vw, 560px);
}

.auth-container {
  margin: clamp(30px, 8vh, 80px) auto;
}

@media (max-width: 900px) {
  .customer-dashboard {
    grid-template-columns: 1fr;
  }

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

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

  .queue-header {
    flex-wrap: wrap;
  }

  .quick-access {
    padding: 28px 14px 56px;
  }
}

@media (max-width: 680px) {
  .navbar {
    align-items: flex-start;
  }

  .navbar nav {
    width: 100%;
    justify-content: flex-start;
  }

  .logo h1 {
    font-size: 18px;
  }

  .servitech-logo {
    width: 42px;
  }

  .navbar nav a {
    font-size: 13px;
    padding: 7px 14px;
  }

  .modal-content.service-modal {
    width: min(100vw - 20px, 960px);
    min-height: min(540px, calc(100vh - 20px));
    max-height: calc(100vh - 20px);
    padding: 20px 16px;
  }

  .service-modal__footer {
    flex-direction: column-reverse;
  }

  .service-modal__action {
    width: 100%;
    min-width: 0;
  }

  .service-modal .service-grid {
    grid-template-columns: 1fr;
  }

  .service-option-card {
    min-height: 0;
  }

  .form-card {
    padding: 22px 16px;
  }

  .summary-card {
    padding: 18px 14px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-back,
  .btn-next {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .btn-save,
  .btn-cancel {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-cards,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .choose-card {
    padding: 22px 16px;
  }

  .choose-card img {
    width: 96px;
  }

  .queue-number {
    font-size: 22px;
  }
}

/* ===================== */
/* CUSTOMER RESPONSIVE REFINEMENTS */
/* ===================== */

.logo {
  min-width: 0;
  flex: 0 1 auto;
}

.logo h1 {
  line-height: 1.1;
}

.navbar nav {
  flex: 1 1 auto;
  min-width: 0;
}

.navbar nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.footer-left,
.footer-right,
.dashboard-card,
.quick-card,
.quick-card-link,
.choose-card,
.form-card,
.summary-card,
.profile-card {
  min-width: 0;
}

.contact-item {
  flex-wrap: wrap;
}

.contact-item a,
.contact-item span {
  overflow-wrap: anywhere;
}

.footer-logo-link {
  flex-wrap: wrap;
}

.customer-hero {
  padding: clamp(28px, 5vw, 40px) clamp(14px, 5vw, 40px);
}

.customer-hero h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.customer-hero p {
  font-size: clamp(15px, 2.2vw, 18px);
}

.customer-dashboard {
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 30px);
}

.dashboard-card p,
.summary-row strong,
.summary-total strong,
.queue-number {
  overflow-wrap: anywhere;
}

.queue-header {
  justify-content: space-between;
}

.quick-card,
.quick-card-link,
.choose-card {
  height: 100%;
}

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

.choose-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.form-page > * {
  width: min(100%, 960px);
  margin-inline: auto;
}

.form-card,
.summary-card {
  width: 100%;
}

.form-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
}

.form-grid > * {
  min-width: 0;
}

.form-card .form-select,
.form-card .form-textarea,
.form-card .form-file {
  width: 100%;
  max-width: 100%;
}

.form-card .form-input {
  width: min(100%, 180px);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 20px;
}

.radio-group label,
.radio-vertical label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.form-actions {
  gap: 16px;
  flex-wrap: wrap;
}

.btn-back,
.btn-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  white-space: normal;
}

.summary-row,
.summary-total {
  gap: 16px;
  align-items: flex-start;
}

.summary-row span,
.summary-row strong,
.summary-total span,
.summary-total strong {
  min-width: 0;
}

.summary-row strong,
.summary-total strong {
  text-align: right;
}

.file-note {
  line-height: 1.5;
}

.modal-overlay {
  padding: 16px;
}

.modal .modal-actions {
  flex-wrap: wrap;
}

.modal .modal-actions > * {
  flex: 1 1 160px;
}

.queue-modal-overlay {
  background: rgba(0,0,0,0.35);
  z-index: 9999;
}

.queue-success-modal {
  width: min(100%, 420px);
}

.queue-success-modal__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8fbef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.queue-success-modal__title {
  margin: 6px 0 4px;
  font-size: 20px;
  color: #222;
}

.queue-success-modal__label {
  margin: 0 0 18px;
  color: #666;
}

.queue-success-modal__code {
  font-weight: 700;
  font-size: clamp(24px, 5vw, 28px);
  color: #f28c2b;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.queue-success-modal__actions {
  margin-top: 0;
}

.status-page {
  min-height: 60vh;
}

.status-shell {
  width: min(100%, 1000px);
  margin: 24px auto 0;
}

.status-page-header {
  background: #ff9f2e;
  padding: 14px 18px;
  border-radius: 16px 16px 0 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-page-back {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  flex-shrink: 0;
}

.status-page-back:hover {
  background: rgba(255,255,255,0.18);
}

.status-panel {
  background: #fff;
  border-radius: 0 0 16px 16px;
  padding: clamp(18px, 4vw, 28px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.status-section-title {
  color: #b03a00;
  border-bottom: 2px solid #e8b27a;
  padding-bottom: 8px;
  margin-bottom: 18px;
}

.queue-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.queue-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.queue-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.queue-card__code {
  font-weight: 700;
  font-size: 20px;
  color: #111827;
  overflow-wrap: anywhere;
}

.queue-card__badge {
  background: #f59e0b;
  color: #fff;
  padding: 6px 10px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 12px;
}

.queue-card__divider {
  border: none;
  height: 2px;
  background: #f3c27a;
  margin: 12px 0;
  border-radius: 2px;
}

.queue-card__meta {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.35;
}

.queue-card__meta small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
}

#detailModal .modal,
.status-modal {
  width: min(100%, 560px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.status-modal .modal-title {
  margin: 0;
  padding-right: 40px;
  text-align: left;
  color: #1f2937;
}

.status-modal .modal-divider {
  width: 76px;
  height: 4px;
  margin: 12px 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c26a0a 0%, #f3c27a 100%);
}

.status-modal .modal-body {
  display: grid;
  gap: 14px;
}

.status-detail-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
  row-gap: 4px;
  padding: 2px 0;
}

.status-detail-label {
  font-weight: 700;
  color: #374151;
}

.status-detail-label::after {
  content: ":";
}

.status-detail-value {
  min-width: 0;
  line-height: 1.5;
  color: #1f2937;
}

#modalExtra {
  display: grid;
  gap: 12px;
}

.status-notes {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.status-modal label {
  display: block;
  font-weight: 700;
  margin: 0;
  color: #374151;
}

.status-modal textarea {
  width: 100%;
  min-height: 118px;
  padding: 14px;
  border: 1px solid #e2cfb3;
  border-radius: 14px;
  resize: vertical;
  background: #fffdfa;
  color: #1f2937;
  line-height: 1.55;
  box-shadow: inset 0 1px 2px rgba(36, 18, 15, 0.05);
}

.file-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.file-entry {
  display: block;
  max-width: 100%;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.status-detail-row--files {
  align-items: start;
}

.status-detail-row--files .file-list {
  padding-top: 1px;
}

.status-detail-row--files a {
  color: #9a4f08;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-price,
.modal-status {
  margin: 0;
}

.modal-status {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 16px 18px;
  border: 1px solid #ead7bd;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf4 0%, #fff4e5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.modal-status .status-detail-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5a24;
}

.modal-status .status-detail-label::after {
  content: "";
}

.modal-status #modalStatus {
  justify-self: start;
  width: auto;
  max-width: 100%;
}

#modalStatus {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f59e0b;
  color: #fff;
  box-shadow: 0 8px 18px rgba(154, 79, 8, 0.18);
}

.status-modal .modal-close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #5b3310;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.status-modal .modal-close:hover {
  background: rgba(154, 79, 8, 0.08);
  color: #7c3f06;
  transform: rotate(90deg);
}

.modal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 13px 18px;
  border: none;
  border-radius: 12px;
  background: #24120f;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(36, 18, 15, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-back:hover {
  background: #3a1d17;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(36, 18, 15, 0.22);
}

.modal-back:active {
  transform: translateY(0);
}

body.customer-layout.customer-page--status .status-modal .modal-back {
  display: flex;
  width: 100% !important;
  min-width: 0;
}

.status-modal {
  scrollbar-width: thin;
  scrollbar-color: #9a4f08 #f4e3cc;
}

.status-modal::-webkit-scrollbar {
  width: 12px;
}

.status-modal::-webkit-scrollbar-track {
  background: #f4e3cc;
  border-radius: 999px;
}

.status-modal::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c26a0a 0%, #9a4f08 100%);
  border: 2px solid #f4e3cc;
  border-radius: 999px;
}

.status-modal::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b45309 0%, #7c3f06 100%);
}

.profile-page {
  padding: clamp(28px, 5vw, 80px) 20px 70px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px clamp(16px, 4vw, 32px) 18px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.profile-header h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  color: #4A0505;
}

.back-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #4A0505;
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.back-arrow:hover {
  background: rgba(74,5,5,0.08);
}

.profile-alert {
  margin: 0 clamp(16px, 6vw, 70px) 16px;
  padding: 10px;
  border-radius: 8px;
}

.profile-alert.error {
  background: #ffe1e1;
  border: 1px solid #ffb6b6;
  color: #8b0000;
}

.profile-alert.success {
  background: #e9ffe6;
  border: 1px solid #b8f0b0;
  color: #195b13;
}

.profile-form {
  padding: 26px clamp(16px, 6vw, 70px) 44px;
}

.input-with-icon {
  width: 100%;
  min-width: 0;
}

.input-with-icon input {
  min-width: 0;
}

@media (max-width: 900px) {
  .customer-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .status-detail-row {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }

  .file-list {
    gap: 4px;
  }

  .navbar nav a {
    flex: 1 1 140px;
  }

  .form-card .form-input {
    width: 100%;
    max-width: 100%;
  }

  .summary-row,
  .summary-total {
    flex-direction: column;
  }

  .summary-row strong,
  .summary-total strong {
    text-align: left;
  }

  .status-shell {
    margin-top: 0;
  }

  .status-page-header,
  .status-panel {
    padding-inline: 16px;
  }

  .status-modal .modal-title {
    font-size: 20px;
  }

  .modal-back {
    width: 100%;
  }

  .queue-success-modal__actions > * {
    flex-basis: 100%;
  }

  .footer-logo-link {
    justify-content: center;
  }

  .profile-page {
    padding-inline: 14px;
  }

  .profile-header {
    align-items: flex-start;
  }

  .profile-alert {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 520px) {
  .logo {
    width: 100%;
  }

  .navbar nav a {
    flex-basis: 100%;
  }

  .queue-list {
    grid-template-columns: 1fr;
  }
}


/* Responsive header menu (landing + shared navbar) */
.navbar.has-nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.navbar.has-nav-menu .logo {
  min-width: 0;
  flex: 1 1 auto;
}

.navbar.has-nav-menu .logo h1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar.has-nav-menu nav[data-collapsible-menu] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.navbar.has-nav-menu .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.navbar.has-nav-menu .nav-toggle__bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

@media (max-width: 900px) {
  .navbar.has-nav-menu {
    align-items: center;
    flex-wrap: wrap;
  }

  .navbar.has-nav-menu .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .navbar.has-nav-menu nav[data-collapsible-menu] {
    display: none;
    width: 100%;
    margin: 10px 0 0;
    padding-top: 2px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .navbar.has-nav-menu.is-menu-open nav[data-collapsible-menu] {
    display: flex;
  }

  .navbar.has-nav-menu nav[data-collapsible-menu] a {
    width: 100%;
    margin-left: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/* Header button polish (customer/landing/auth) */
.navbar nav a,
.navbar.has-nav-menu nav[data-collapsible-menu] a {
  border: 1px solid rgba(74, 5, 5, 0.16);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: background-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease, transform 0.18s ease;
}

.navbar nav a:hover,
.navbar.has-nav-menu nav[data-collapsible-menu] a:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.26);
}

.navbar nav a:active,
.navbar.has-nav-menu nav[data-collapsible-menu] a:active {
  transform: translateY(0);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.2);
}

.navbar nav a:focus-visible,
.navbar.has-nav-menu nav[data-collapsible-menu] a:focus-visible {
  outline: 2px solid #ff8b2c;
  outline-offset: 2px;
}

/* Header toggle polish */
.navbar.has-nav-menu .nav-toggle {
  transition: background-color 0.2s ease, transform 0.16s ease, box-shadow 0.2s ease;
}

.navbar.has-nav-menu .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.navbar.has-nav-menu .nav-toggle:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
}

.navbar.has-nav-menu .nav-toggle:focus-visible {
  outline: 2px solid #ff8b2c;
  outline-offset: 2px;
}

/* Hamburger alignment fix (landing/auth/shared navbar) */
.navbar.has-nav-menu .logo {
  width: auto;
}

.navbar.has-nav-menu .nav-toggle {
  align-self: center;
  margin-left: auto;
}

@media (max-width: 520px) {
  .navbar.has-nav-menu .logo {
    width: auto;
  }
}

/* Final header button hardening (landing + shared customer/admin navbar) */
.navbar.has-nav-menu nav[data-collapsible-menu] {
  max-width: 100%;
  min-width: 0;
}

.navbar.has-nav-menu nav[data-collapsible-menu] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

@media (min-width: 901px) {
  .navbar.has-nav-menu {
    flex-wrap: wrap;
  }

  .navbar.has-nav-menu nav[data-collapsible-menu] {
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .navbar.has-nav-menu nav[data-collapsible-menu] {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
  }
}

/* Final mobile alignment fix: logo + hamburger stay on one row */
@media (max-width: 900px) {
  .navbar.has-nav-menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: 10px;
    column-gap: 12px;
  }

  .navbar.has-nav-menu .logo {
    grid-column: 1;
    min-width: 0;
    width: auto;
    flex: 0 1 auto;
  }

  .navbar.has-nav-menu .nav-toggle {
    grid-column: 2;
    justify-self: end;
    margin-left: 0;
    align-self: center;
  }

  .navbar.has-nav-menu nav[data-collapsible-menu] {
    grid-column: 1 / -1;
    margin: 0;
  }
}

/* Final desktop nav-button lock (prevents plain text link fallback) */
.navbar.has-nav-menu nav[data-collapsible-menu] a,
.navbar.has-nav-menu nav[data-collapsible-menu] a:visited {
  background-color: #ffffff;
  color: #4A0505;
  border: 1px solid rgba(74, 5, 5, 0.22);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.navbar.has-nav-menu nav[data-collapsible-menu] a:hover {
  background-color: #ff8b2c;
  color: #ffffff;
  border-color: rgba(255, 139, 44, 0.92);
}

/* Desktop nav button sizing pass */
@media (min-width: 901px) {
  .navbar.has-nav-menu nav[data-collapsible-menu] {
    gap: 12px;
  }

  .navbar.has-nav-menu nav[data-collapsible-menu] a,
  .navbar.has-nav-menu nav[data-collapsible-menu] a:visited {
    min-height: 46px;
    padding: 11px 22px;
    font-size: 15px;
    border-radius: 14px;
  }
}

