:root{
  --oa-bg:#0f172a;           /* page bg (slate-900) */
  --oa-card:#0b1225;         /* card bg */
  --oa-sub:#94a3b8;          /* muted text */
  --oa-text:#e5e7eb;         /* body text */
  --oa-accent:#22d3ee;       /* cyan accent */
  --oa-accent-2:#38bdf8;     /* blue accent */
  --oa-border:#1f2937;       /* borders */
  --oa-radius:14px;
  --oa-gap:14px;
}

.oa-wrap{
  max-width:1100px;margin:24px auto;padding:16px;
}

.oa-hero{
  text-align:center;margin-bottom:16px;
}
.oa-hero h1{
  margin:0 0 6px;font-size:28px;line-height:1.2;color:#fff;
}
.oa-hero-sub{color:var(--oa-sub);margin:0}

.oa-card{
  background:linear-gradient(145deg, var(--oa-card), #0a1022);
  border:1px solid var(--oa-border);
  border-radius:var(--oa-radius);
  box-shadow:0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.02);
  padding:16px;
  color:var(--oa-text);
}
.oa-card-sub{
  background:rgba(255,255,255,.02);
  border:1px solid var(--oa-border);
  border-radius:12px;
  padding:14px;
}

.oa-section{margin-bottom:16px}
.oa-section-title{
  margin:0 0 10px;font-size:16px;color:#fff;letter-spacing:.2px
}

.oa-grid{display:grid;grid-template-columns:1fr;gap:var(--oa-gap)}
.oa-grid-2{display:grid;grid-template-columns:1fr;gap:var(--oa-gap)}

.oa-field{display:flex;flex-direction:column;gap:6px}
.oa-field > span{font-size:16px;color:var(--oa-sub)}
.oa-field input,
.oa-field select{
  height:44px;border-radius:10px;border:1px solid var(--oa-border);
  background:#0b0f1d;color:#fff;padding:0 12px;outline:none;
  transition:all .2s ease;
}
.oa-field input:focus,
.oa-field select:focus{
  border-color:var(--oa-accent);
  box-shadow:0 0 0 3px rgba(34,211,238,.18), inset 0 1px 0 rgba(255,255,255,.06);
}

.oa-footer{
  display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:14px
}
.oa-price{display:flex;gap:10px;align-items:baseline}
.oa-price span{color:var(--oa-sub);font-size:13px}
.oa-price strong{font-size:22px;color:#fff}

.oa-btn{
  height:46px;border:none;border-radius:12px;padding:0 18px;
  font-weight:600;cursor:pointer;transition:transform .08s ease, box-shadow .2s ease;
}
.oa-btn-primary{
  background:linear-gradient(135deg, var(--oa-accent), var(--oa-accent-2));
  color:#001018;box-shadow:0 8px 20px rgba(56,189,248,.25);
}
.oa-btn-primary:hover{transform:translateY(-1px)}
.oa-btn-primary:active{transform:translateY(0)}

/* ===== Floating labels ===== */
.oa-float{
  position:relative; display:block;
}
.oa-float input,
.oa-float select,
.oa-float textarea{
  width:100%; height:48px; border-radius:10px;
  border:1px solid var(--oa-border); background:#0b0f1d; color:#fff;
  padding:20px 12px 10px; outline:none; transition:border-color .2s, box-shadow .2s;
}
.oa-float textarea{ height:auto; min-height:90px; padding-top:28px; resize:vertical; }
.oa-float input:focus,
.oa-float select:focus,
.oa-float textarea:focus{
  border-color:var(--oa-accent);
  box-shadow:0 0 0 3px rgba(34,211,238,.18), inset 0 1px 0 rgba(255,255,255,.05);
}

/* the label text */
.oa-float > span{
  position:absolute; left:12px; top:16px;
  color:var(--oa-sub); pointer-events:none;
  transform-origin:left top; transition:transform .18s ease, color .18s ease, background .18s ease;
  padding:0 6px; background:transparent;
}

/* float when focused or has content */
.oa-float input:focus + span,
.oa-float input:not(:placeholder-shown) + span,
.oa-float textarea:focus + span,
.oa-float textarea:not(:placeholder-shown) + span{
  transform:translateY(-25px) scale(.88);
  background:linear-gradient(145deg, var(--oa-card), #0a1022);
  color:var(--oa-accent);
}

/* SELECT floating (JS toggles .has-value) */
.oa-float-select select{ padding-top:20px; }
.oa-float-select.has-value > span,
.oa-float-select select:focus + span{
  transform:translateY(-12px) scale(.88);
  background:linear-gradient(145deg, var(--oa-card), #0a1022);
  color:var(--oa-accent);
}

/* spacing helpers to match your layout */
.oa-form .oa-grid{ gap:14px; }
.oa-form .oa-grid-2{ gap:14px; }

@media (min-width:640px){
  .oa-doctor-grid{ grid-template-columns:1fr 1fr; }
}

@media (min-width:640px){
  .oa-grid{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:900px){
  .oa-grid-2{grid-template-columns:1fr 1fr}
}

/* -------------------------------------- */
/* ===== Grid ===== */
.oa-doctor-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin:14px 0 24px;
}
@media (min-width:640px){
  .oa-doctor-grid{ grid-template-columns:1fr 1fr 1fr; } /* 3 per row */
}

/* ===== Card ===== */
.oa-doc-card{
  background:linear-gradient(145deg, var(--oa-card, #0e1430), #0a1022);
  border:1px solid var(--oa-border, #1b2242);
  border-radius:16px;
  padding:12px;
  transition:transform .15s ease, box-shadow .2s ease, border-color .2s;
}
.oa-doc-card:hover{
  transform:translateY(-2px);
  border-color:rgba(34,211,238,.35);
  box-shadow:0 12px 26px rgba(0,0,0,.28);
}

/* Layout: image + content */
.thumb-body{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

/* Thumb 1:1 */
.oa-doc-thumb{
  width:50%; min-width:50%; height: 50%; aspect-ratio:1/1;
  overflow:hidden; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:#0f1a3a;
}
.oa-doc-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.oa-thumb-fallback{ color:#89a; font-weight:700; letter-spacing:.08em; }

/* Body */
.oa-doc-body{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#cfd6ff;
}

.oa-doc-title{
  margin:0;
  font-size:18px;
  color:#fff;
}

.oa-doc-meta{
  display:flex; flex-wrap:wrap; gap:8px;
}
.oa-badge{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(34,211,238,.12);
  color:#9de3f0;
  font-size:12px;
  border:1px solid rgba(34,211,238,.25);
}

/* Info lines */
.oa-line{
  display:flex; gap:8px; align-items:baseline; flex-wrap:wrap;
}
.oa-line small{
  color:#8ea2d0; font-size:12px; min-width:88px;
}
.oa-line span{
  color:#e6eeff; font-size:14px;
}

/* Rating */
.oa-stars{
  display:flex; align-items:center; gap:6px; margin-top:2px;
}
.star{ font-size:16px; line-height:1; }
.star--full{ color:#ffd56a; text-shadow:0 0 6px rgba(255,213,106,.35); }
.star--half{
  color:#ffd56a;
  position:relative;
}
.star--empty{ color:#3b466f; }
.oa-rating-num{
  font-size:13px; color:#a9b6e8; margin-left:2px;
}

/* Prices */
.oa-price-row{
  display:flex; gap:14px; margin-top:4px;
}
.oa-price-row > div{
  display:flex; flex-direction:column; gap:2px;
}
.oa-price-row small{
  color:#9aa4cf; font-size:12px;
}
.oa-price{
  color:#fff; font-weight:700;
}

/* CTA */
.oa-doc-actions{
  margin-top:8px; display:flex; gap:10px;
}
.oa-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:38px; padding:0 14px; border-radius:10px; text-decoration:none; font-weight:600;
}
.oa-btn-primary{
  width:100%;
  background:linear-gradient(135deg, #22d3ee, #38bdf8);
  color:#001018;
  border:1px solid rgba(255,255,255,.07);
  box-shadow:0 8px 20px rgba(56,189,248,.22);
  transition:filter .15s ease, transform .08s ease;
}
.oa-btn-primary:hover{ filter:brightness(1.06); transform:translateY(-1px); }
.oa-btn-primary:active{ transform:translateY(0); }

/* Mobile stacks naturally */
@media (max-width:640px){
  .thumb-body{ align-items:flex-start; }
}

/* -------------------------------------------- */
/* =====================
   FILTER BAR STYLING
   ===================== */
.oa-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  padding: 14px;
  background: #0f1221;
  border: 1px solid #2b2f44;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Selects */
.oa-filter select {
  flex: 1 1 180px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #2b2f44;
  background: #0b0f1d;
  color: #e5e7eb;
  font-size: 14px;
  transition: all 0.2s ease;
}

.oa-filter select:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34,211,238,.18);
  outline: none;
}

/* Button */
.oa-filter button {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #001018;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .2s ease;
}

.oa-filter button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(34,211,238,0.35);
}

.oa-filter button:active {
  transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 300px) {
  .oa-filter {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ...................................... */
/* brief pulse highlight on form */
.oa-pulse {
  animation: oaPulse 0.7s ease;
}
@keyframes oaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(56,189,248,.45); }
  100% { box-shadow: 0 0 0 18px rgba(56,189,248,0); }
}
/* book appointment end not working rightnow */

/* ---------------------------------------------- */
/* ===== Dummy Payment / Confirm Page ===== */
:root{
  --oa-bg:#0f172a;
  --oa-card:#0b1225;
  --oa-border:#1f2937;
  --oa-text:#e5e7eb;
  --oa-sub:#94a3b8;
  --oa-accent:#22d3ee;
  --oa-accent-2:#38bdf8;
  --oa-radius:14px;
}

.oa-wrap{max-width:1100px;margin:28px auto;padding:16px}

.oa-confirm__head{margin-bottom:18px;text-align:center}
.oa-confirm__head h1{
  margin:0 0 6px;color:#fff;font-size:26px;line-height:1.2
}
.oa-confirm__head .oa-sub{margin:0;color:var(--oa-sub);font-size:14px}

.oa-confirm__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.oa-card{
  background:linear-gradient(145deg, var(--oa-card), #0a1022);
  border:1px solid var(--oa-border);
  border-radius:var(--oa-radius);
  box-shadow:0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.02);
  padding:16px;
  color:var(--oa-text);
}

.oa-card__title{
  margin:0 0 10px;color:#fff;font-weight:700;font-size:16px
}

/* Summary list as two-column rows */
.oa-summary{
  list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px
}
.oa-summary li{
  display:flex;justify-content:space-between;gap:14px;
  padding:12px;border:1px solid var(--oa-border);border-radius:12px;
  background:rgba(255,255,255,.02)
}
.oa-summary li span{color:var(--oa-sub);font-size:13px}
.oa-summary li strong{color:#fff;font-weight:600}

/* Payment aside */
.oa-card--pay{
  display:flex;flex-direction:column;gap:14px;align-self:start
}
.oa-total{
  display:flex;align-items:baseline;justify-content:space-between;
  padding:14px;border:1px solid var(--oa-border);border-radius:12px;
  background:rgba(255,255,255,.03)
}
.oa-total span{color:var(--oa-sub);font-size:13px}
.oa-total strong{color:#fff;font-size:26px;letter-spacing:.2px}

.oa-pay-form{display:flex;gap:10px;flex-wrap:wrap; justify-content: space-between;}
.oa-btn{
  height:46px;border:none;border-radius:12px;padding:0 18px;
  font-weight:600;cursor:pointer;transition:transform .08s ease, box-shadow .2s ease
}
.oa-btn-lg{height:52px;padding:0 22px;font-size:16px}
.oa-btn-primary{
  background:linear-gradient(135deg, var(--oa-accent), var(--oa-accent-2));
  color:#001018;box-shadow:0 8px 20px rgba(56,189,248,.25)
}
.oa-btn-primary:hover{transform:translateY(-1px)}
.oa-btn-ghost{
  background:transparent !important;
  color:#cbd5e1 !important;
  border:1px solid var(--oa-border) !important;
  text-decoration:none !important;
  display:inline-flex !important;
  align-items:center!important;
  padding: 28px;
}
.oa-btn-ghost:hover{border-color:#334155}

.oa-note{margin:0;color:var(--oa-sub);font-size:12px;line-height:1.5}

/* Target only the calendar icon */
#appointment_date::-webkit-calendar-picker-indicator {
  filter: invert(1); /* inverts colors, turning dark icon to white */
  cursor: pointer;
}

/* Optional: change background */
#appointment_date::-webkit-calendar-picker-indicator {
  background-color: transparent; /* keep transparent background */
}


/* Responsive: put summary and pay side-by-side on md+ */
@media (min-width: 900px){
  .oa-confirm__grid{
    grid-template-columns: 1.2fr .8fr;
    align-items:start;
  }
}

/* ===== Pay Now Button ===== */
.oa-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: .3px !important;
  border: none !important;
  cursor: pointer !important;

  background: linear-gradient(135deg, #22d3ee, #3b82f6) !important; /* cyan → blue */
  color: #001018 !important;

  box-shadow: 0 6px 16px rgba(34, 211, 238, 0.35), 0 0 0 1px rgba(59,130,246,.3) inset !important;
  transition: all .2s ease !important;
}

.oa-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(34, 211, 238, 0.45), 0 0 0 1px rgba(59,130,246,.5) inset !important;
}

.oa-btn-primary:active {
  transform: scale(.97);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

.oa-btn-primary:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* thank u page */
.oa-thank-you {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.oa-thank-you h2 {
    text-align: center;
    font-size: 28px;
    color: #2e7d32;
    margin-bottom: 15px;
}

.oa-thank-you h3 {
    margin-top: 25px;
    font-size: 20px;
    color: #444;
    border-bottom: 2px solid #2e7d32;
    padding-bottom: 6px;
}

.oa-thank-you p {
    text-align: center;
    font-size: 16px;
    margin: 15px 0;
}

.oa-thank-you ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.oa-thank-you ul li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.oa-thank-you ul li strong {
    color: #2e7d32;
    margin-right: 6px;
}

/* ---------------------------------------------- */
/* ================================
   SINGLE DOCTOR (matches form theme)
   ================================ */

:root{
  /* reuse your form palette */
  --oa-bg:#0f172a;
  --oa-card:#0b1225;
  --oa-sub:#94a3b8;
  --oa-text:#e5e7eb;
  --oa-accent:#22d3ee;
  --oa-accent-2:#38bdf8;
  --oa-border:#1f2937;
  --oa-radius:14px;
  --oa-gap:16px;
}

body.single-doctor #inner-body {
  background: linear-gradient(145deg, #0E1430, #090c1e) !important; 
  min-height: 100vh !important;
}

/* Wrap */
.oa-sd-wrap{
  max-width:1100px;
  margin:28px auto;
  padding:16px;
  color:var(--oa-text);
}

/* Head grid */
.oa-sd-head{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:20px;
  margin-bottom:16px;
}

.oa-sd-media{
  background:linear-gradient(145deg, var(--oa-card), #0a1022);
  border:1px solid var(--oa-border);
  border-radius:var(--oa-radius);
  padding:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.02);
}
.oa-sd-media img{
  width:100%;height:auto;display:block;border-radius:12px;
}

.oa-sd-title{
  margin:0 0 8px;
  font-size:28px;line-height:1.2;color:#fff;
}

/* Categories */
.oa-sd-cats{
  display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 6px;
}
.oa-sd-badge{
  background:rgba(255,255,255,.04);
  border:1px solid var(--oa-border);
  color:#cfe9ff;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
}

/* Key-values under title */
.oa-sd-kv{
  display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 2px;
}
.oa-sd-kv span{
  background:rgba(255,255,255,.03);
  border:1px solid var(--oa-border);
  border-radius:10px;
  padding:6px 10px;
  font-size:13px;
  color:var(--oa-sub);
}

/* 3 stat boxes: online, physical, rating */
.oa-sd-nums{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:var(--oa-gap);
  margin-top:12px;
}
.oa-sd-box{
  background:linear-gradient(145deg, var(--oa-card), #0a1022);
  border:1px solid var(--oa-border);
  border-radius:12px;
  padding:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.02);
}
.oa-sd-box small{
  display:block;margin-bottom:6px;color:var(--oa-sub);letter-spacing:.2px
}
.oa-sd-price{
  font-weight:700;font-size:20px;color:#a6ffcb;
}
.oa-sd-stars{
  font-size:16px;color:#ffd166; /* star tint */
}
.oa-sd-empty{ opacity:.6 }

/* Meta row: experience, education, CTA */
.oa-sd-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--oa-gap);
  margin:16px 0 0;
}
.oa-sd-meta .oa-sd-box{ background:#0b1620; }

/* CTA button (match form primary) */
.oa-sd-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:12px;
  font-weight:700;text-decoration:none;
  background:linear-gradient(135deg, var(--oa-accent), var(--oa-accent-2));
  color:#001018; box-shadow:0 8px 20px rgba(56,189,248,.25);
  transition:transform .08s ease, box-shadow .2s ease, filter .2s ease;
}
.oa-sd-btn:hover{ transform:translateY(-1px); filter:brightness(0.98); }
.oa-sd-btn:active{ transform:translateY(0); }

/* Body sections */
.oa-sd-body{ margin-top:22px; }
.oa-sd-section{ margin:22px 0; }
.oa-sd-section h3{
  margin:0 0 10px;font-size:18px;color:#fff;letter-spacing:.2px
}
.oa-sd-content p{ margin:0 0 10px; color:var(--oa-text) }

/* Availability tables */
.oa-sd-table{
  width:100%;
  /* border-collapse:separate; */
  border-spacing:0;
  overflow:hidden;
  border-radius:12px;
  border:1px solid var(--oa-border);
  background:linear-gradient(145deg, var(--oa-card), #0a1022);
}
.oa-sd-table th,
.oa-sd-table td{
  padding:12px 14px;
  font-size:14px; vertical-align:top;
  border-bottom:1px solid var(--oa-border);
  color:var(--oa-text);
}
.oa-sd-table th{
  width:160px;color:#d7e0ea;background:rgba(255,255,255,.02); border-color: #ffffff00;
}
.oa-sd-table tr:last-child th,
.oa-sd-table tr:last-child td{ border-bottom:none }

/* Responsive */
@media (max-width: 900px){
  .oa-sd-head{ grid-template-columns:1fr; }
  .oa-sd-meta{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .oa-sd-nums{ grid-template-columns:1fr 1fr; }
}

/* ---------------------------------------------- */
/* Single Doctor Booking Form CSS */

.oa-single-appt{margin:24px auto;padding:16px;border:1px solid #1f2937;border-radius:14px;background:#0b1225; max-width: 1100px;}
.oa-single-appt h2{margin:0 0 12px;color:#fff}
.oa-grid-2{display:grid;gap:5px}
@media(min-width:768px){.oa-grid-2{grid-template-columns:1fr 1fr}}
@media (max-width: 640px){
  .oa-single-appt{margin:15px;}
}
.oa-float{position:relative;display:block}
.oa-float input,.oa-float select{width:100%;height:48px;border-radius:10px;border:1px solid #1f2937;background:#0b0f1d;color:#fff;padding:20px 12px 10px;outline:none}
.oa-float>span{position:absolute;left:12px;top:16px;color:#94a3b8;pointer-events:none;transform-origin:left top;transition:.18s;padding:0 6px;background:transparent}
.oa-float input:focus,.oa-float select:focus{border-color:#22d3ee;box-shadow:0 0 0 3px rgba(34,211,238,.18)}
.oa-float input:focus+span,.oa-float input:not(:placeholder-shown)+span{transform:translateY(-25px) scale(.88);background:#0b1225;color:#22d3ee}
.oa-float-select.has-value>span,.oa-float-select select:focus+span{transform:translateY(-12px) scale(.88);background:#0b1225;color:#22d3ee}
.oa-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:14px}
.oa-btn.oa-btn-primary{height:46px;border:none;border-radius:12px;padding:0 18px;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#22d3ee,#38bdf8);color:#001018;box-shadow:0 8px 20px rgba(56,189,248,.25)}