
/* ===============================
   Yellow Theme – Complete Styles
   =============================== */

:root {
  --brand:        #f4b418;
  --ink:          #111827;
  --muted:        #6b7280;
  --bg:           #fffdf5;
  --card:         #ffffff;
  --pill-bg:        #f4b418;
  --pill-ink:       #111827;
  --pill-border:    #f4b418;
  --pill-bg-hover:  #e0a710;
  --pill-bg-active: #c68f0c;
  --pill-ink-active:#1f2937;
  --control-border: #f4b418;
  --control-focus:  #c68f0c;
  --btn-bg:         #f4b418;
  --btn-ink:        #111827;
  --btn-border:     #f4b418;
  --btn-bg-hover:   #e0a710;
  --link-border:    #f4b418;
  --link-hover:     #e0a710;
  --shadow-sm:      0 1px 3px rgba(17,24,39,.06), 0 1px 2px rgba(17,24,39,.03);
  --shadow-md:      0 2px 10px rgba(17,24,39,.06);
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0 0 80px 0;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);background:var(--bg)
}
.wrap{max-width:880px;margin:32px auto;padding:0 16px}
h1{font-size:28px;line-height:1.2;margin:0 0 16px;font-weight:800;text-align:center;color:var(--ink)}

.card{
  background:var(--card);border:1px solid var(--y-200);border-radius:14px;
  padding:16px 16px 12px;box-shadow:var(--shadow-md)
}

.service-line{text-align:center;margin-bottom:10px;font-weight:700;color:var(--ink)}
.service-line strong{color:var(--y-700)}

.geo-row{display:flex;align-items:center;gap:10px;justify-content:center;flex-wrap:wrap;margin:8px 0}
.lbl{font-size:14px;color:var(--ink)}
.tz-select{
  padding:10px 12px;border-radius:10px;border:1px solid var(--control-border);
  background:var(--y-50);color:var(--ink);font-size:14px;outline:none;
  transition:border-color .15s,box-shadow .15s,background .15s
}
.tz-select:hover{background:var(--y-100)}
.tz-select:focus{border-color:var(--control-focus);box-shadow:0 0 0 3px rgba(245,158,11,.25)}

.slots{margin-top:8px}
.slots-grid{
  display:grid;grid-template-columns:repeat(2,minmax(200px,1fr));gap:12px
}
@media (max-width:560px){.slots-grid{grid-template-columns:1fr}}

.slot-card{
  border:1px solid var(--pill-border);border-radius:14px;background:var(--pill-bg);
  color:var(--pill-ink);padding:12px 14px;text-align:left;cursor:pointer;
  box-shadow:var(--shadow-sm);
  transition:transform .06s,background .15s,border-color .15s,color .15s
}
.slot-card:hover{transform:translateY(-1px);background:var(--pill-bg-hover);border-color:var(--y-300)}
.slot-card.selected{background:var(--pill-bg-active);border-color:var(--y-500);color:var(--pill-ink-active)}
.slot-card .dow{font-weight:800;font-size:14px;color:var(--ink)}
.slot-card .time{font-size:13px;margin-top:2px;color:#374151}

.footer{margin-top:14px}
.muted{color:var(--muted);font-size:13px;text-align:center}

.tz-result{margin-top:12px}
.tz-result a.tz-slot-link{
  display:block;padding:10px 12px;border-radius:10px;text-decoration:none;margin:8px auto;
  max-width:640px;color:var(--ink);background:var(--y-50);border:1px solid var(--link-border);
  box-shadow:var(--shadow-sm);transition:background .15s,border-color .15s,transform .06s
}
.tz-result a.tz-slot-link:hover{background:var(--y-100);border-color:var(--link-hover);transform:translateY(-1px)}
.tz-result a.tz-slot-link:active{background:var(--y-200);border-color:var(--y-500);transform:translateY(0)}
.tz-result a.tz-slot-link.selected{
  background:var(--pill-bg-active);border-color:var(--y-500);color:var(--pill-ink-active);
  font-weight:600
}

.book-button-container{
  text-align:center;margin-top:16px
}
.book-button{
  padding:12px 24px;border:1px solid var(--btn-border);background:var(--btn-bg);
  border-radius:10px;color:var(--btn-ink);cursor:pointer;font-size:14px;font-weight:600;
  transition:background .15s,border-color .15s,transform .06s;box-shadow:var(--shadow-sm)
}
.book-button:hover{background:var(--btn-bg-hover);transform:translateY(-1px)}
.book-button:active{background:var(--pill-bg-active);transform:translateY(0)}
.geo-row[hidden] { display: none !important; }
#slotsBlock[hidden] { display: none !important; }
.message-container[hidden] { display: none !important; }
#bookButtonContainer[hidden] { display: none !important; }

.message-container {
  border: 1px solid var(--y-300, #f4b418);
  background: var(--y-50, #fff7da);
  color: var(--ink, #111827);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(17,24,39,.06));
}

.message-container.is-error {
  border-color: #b91c1c;
  background: #fef2f2;
  color: #7f1d1d;
}

.message-container.is-success {
  border-color: #059669;
  background: #ecfdf5;
  color: #065f46;
}

.message-container .msg-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.message-container .msg-list {
  margin: 0;
  padding-left: 18px;
}
/* message container is already styled; these enhance the success summary */
.success-summary .kv { margin: 8px 0 12px; }
.success-summary .kv > div { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 4px 0; }
.success-summary dt { font-weight: 600; color: var(--ink); }
.success-summary dd { margin: 0; color: var(--ink); }
.success-summary .actions { display: flex; gap: 10px; margin-top: 10px; }
.btn-link {
  display: inline-block; padding: 8px 12px; border: 1px solid var(--link-border);
  background: var(--y-50, #fff7da); border-radius: 10px; text-decoration: none; color: var(--ink);
}
.btn-link:hover { background: var(--y-100, #fde68a); }
.btn-secondary {
  padding: 8px 12px; border: 1px solid var(--btn-border); background: var(--btn-bg);
  border-radius: 10px; color: var(--btn-ink); cursor: pointer;
}
.btn-secondary:hover { background: var(--btn-bg-hover); }
.mb-2 { margin-bottom: 8px; }

.version-footer {
  text-align: center;
  width: 100%;
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e5e5;
  position: fixed;
  bottom: 0;
  left: 0;
  background: var(--bg);
  z-index: 10;
}

.version-text {
  color: #666;
  font-size: 0.75rem;
  margin: 0;
}

/* loader */
.dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.dot {
  height: 20px;
  width: 20px;
  margin-right: 10px;
  border-radius: 10px;
  background-color: #b3d4fc;
  animation: pulse 1.5s infinite ease-in-out;
}

.dot:last-child {
  margin-right: 0;
}

.dot:nth-child(1) {
  animation-delay: -0.3s;
}

.dot:nth-child(2) {
  animation-delay: -0.1s;
}

.dot:nth-child(3) {
  animation-delay: 0.1s;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    background-color: #b3d4fc;
    box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);
  }

  50% {
    transform: scale(1.2);
    background-color: #6793fb;
    box-shadow: 0 0 0 10px rgba(178, 212, 252, 0);
  }

  100% {
    transform: scale(0.8);
    background-color: #b3d4fc;
    box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);
  }
}
.hidden{
  display: none;
}
/* ===============================
   Slot Availability Styles
   =============================== */

.slots-heading {
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 14px;
    text-align: center;
}

.date-header {
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
    color: var(--ink);
    border-bottom: 1px solid var(--y-200);
    padding-bottom: 6px;
    font-size: 13px;
}

.slot-item {
    margin: 6px 0;
}

.slot-button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: var(--y-50);
    border: 2px solid var(--pill-border);
    border-radius: 12px;
    color: var(--pill-ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.slot-button:hover {
    background: var(--y-100);
    border-color: var(--link-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.slot-button.selected {
    background: var(--pill-bg-active);
    border-color: var(--y-500);
    color: var(--pill-ink-active);
    transform: translateY(0);
}

.no-slots-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--y-50);
    border-radius: 10px;
    margin: 6px 0;
    font-size: 13px;
    border: 1px solid var(--y-200);
}

.date-text {
    color: var(--muted);
    font-weight: 500;
}

.no-slots-text {
    color: var(--muted);
    font-style: italic;
    font-size: 12px;
}

.error-item {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    margin: 6px 0;
    color: #dc2626;
    font-size: 13px;
}

.no-slots-message {
    text-align: center;
    padding: 20px;
    color: var(--muted);
    background: var(--y-50);
    border-radius: 12px;
    border: 1px solid var(--y-200);
    margin: 10px 0;
}

.loading {
    text-align: center;
    padding: 20px;
    color: var(--muted);
    font-style: italic;
    background: var(--y-50);
    border-radius: 12px;
    border: 1px solid var(--y-200);
    margin: 10px 0;
}

/* Ensure the slots block is properly shown/hidden */
#slotsBlock[hidden] {
    display: none !important;
}

#upcomingList {
    margin-top: 12px;
}

/* Responsive adjustments */
@media (max-width: 560px) {
    .slot-button {
        padding: 10px 12px;
        font-size: 13px;
    }

    .no-slots-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .date-header {
        font-size: 12px;
    }
}
.img_header_wrapper{
  margin-left: 60px;
  margin-top: 10px;
  width: 165.09px;
  height: 57.59px;
}
.img_res{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#userInfo{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
#user_name{
  color: #feba00;
}

