* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #087443;
    --accent: #079455;
    --light-green: #E3F6EC;
    --form-bg-solid: #F0FAF5;
    --input-bg: #FFFFFF;
    --border: #CDE6D8;
    --heading: #173B2D;
    --text-muted: #64796D;
    --error: #DC2626;
    --success: #15803D;
    
    --shadow-sm: 0 2px 8px rgba(0, 105, 65, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 105, 65, 0.08);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 12px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: #E8F2EC; /* Slightly darker so the form pops */
    color: var(--heading);
    min-height: 100vh; 
    line-height: 1.5; 
    -webkit-font-smoothing: antialiased;
}

.page-wrapper { max-width: 580px; margin: 0 auto; padding: 20px 16px 40px; }

/* ==============================
   HERO SECTION
   ============================== */
.hero-card { 
    position: relative; border-radius: var(--radius-lg); overflow: hidden; 
    box-shadow: 0 10px 25px rgba(8, 116, 67, 0.15); margin-bottom: 24px; 
    background: linear-gradient(135deg, var(--primary) 0%, #064e3b 100%);
}
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,116,67,0.95) 0%, rgba(6,78,59,0.9) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; padding: 30px 24px; }
.brand-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.brand-logo { max-height: 38px; width: auto; background: #fff; padding: 6px 12px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.brand-badge { 
    display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 800; 
    background: rgba(255,255,255,0.15); padding: 6px 12px; border-radius: 20px; 
    text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}
.pulse-dot { width: 8px; height: 8px; background: #a3ffb3; border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(163,255,179,0.7); } 70% { box-shadow: 0 0 0 8px rgba(163,255,179,0); } 100% { box-shadow: 0 0 0 0 rgba(163,255,179,0); } }
.hero-title { font-size: 1.7rem; font-weight: 800; line-height: 1.2; margin-bottom: 8px; letter-spacing: -0.5px; }
.hero-subtitle { font-size: 0.9rem; opacity: 0.9; font-weight: 500; }

/* ==============================
   TRUST BAR & PROGRESS
   ============================== */
.trust-bar { 
    display: flex; align-items: center; justify-content: space-around; 
    background: var(--input-bg); padding: 14px 10px; border-radius: var(--radius-md); 
    margin-bottom: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.trust-item i { color: var(--primary); font-size: 1.1rem; }
.trust-item span { font-size: 0.72rem; font-weight: 700; }
.trust-divider { width: 1px; height: 24px; background: var(--border); }

.progress-track { 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 14px 10px; background: var(--input-bg); border-radius: var(--radius-md); 
    margin-bottom: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.progress-step .dot { 
    width: 30px; height: 30px; border-radius: 50%; background: #E3F6EC; color: #64796D; 
    font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all 0.35s ease; 
}
.progress-step .label { font-size: 0.62rem; font-weight: 800; color: #64796D; text-transform: uppercase; }
.progress-step.active .dot, .progress-step.completed .dot { 
    background: var(--primary); color: #fff; transform: scale(1.1); box-shadow: 0 4px 10px rgba(8, 116, 67, 0.3); 
}
.progress-step.active .label, .progress-step.completed .label { color: var(--primary); }
.progress-step.completed .dot { font-size: 0; }
.progress-step.completed .dot::after { content: '\2713'; font-size: 0.95rem; }
.progress-line { flex: 1; height: 3px; background: #E3F6EC; margin: 0 6px; border-radius: 2px; }
.progress-line.active { background: var(--primary); }

/* ==============================
   PREMIUM FORM CARD (Strictly following the design spec)
   ============================== */
.form-card { 
    background: linear-gradient(145deg, #F4FCF7, #E8F7EF);
    border-radius: 22px; 
    padding: 30px 24px; 
    box-shadow: 0 8px 30px rgba(0, 105, 65, 0.08);
    border: 1px solid #CDEBDD;
    position: relative;
}

.step-block { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px dashed #CDEBDD; }
.step-block:last-of-type { border-bottom: none; margin-bottom: 12px; padding-bottom: 0; }
.step-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.step-number { 
    font-size: 0.85rem; font-weight: 800; color: var(--primary); 
    background: #E3F6EC; width: 36px; height: 36px; 
    border-radius: 10px; display: flex; align-items: center; justify-content: center; 
}
.step-heading h2 { font-size: 1.1rem; font-weight: 800; color: var(--heading); margin-bottom: 2px; }
.step-heading p { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ==============================
   ULTRA-PREMIUM DROPDOWN
   ============================== */
.premium-select-container {
    position: relative;
    width: 100%;
}
.premium-select-box {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 15px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #173B2D;
    background-color: #FFFFFF;
    border: 1px solid #C8E4D5;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    
    /* Force hide default browser arrow */
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    
    /* Custom Premium Arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23079455%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E') !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 14px !important;
    transition: all 0.3s ease;
}
.premium-select-box:hover {
    border-color: #079455;
}
.premium-select-box:focus {
    border-color: #079455;
    box-shadow: 0 0 0 4px rgba(7, 148, 85, 0.1);
}

/* ==============================
   INPUTS & FIELDS
   ============================== */
.input-wrapper { position: relative; margin-bottom: 14px; }
.picker-wrap { cursor: pointer; }
.input-wrapper .input-icon { 
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%); 
    color: var(--primary); opacity: 0.9; font-size: 1.1rem; 
}
.input-wrapper:has(textarea) .input-icon { top: 20px; transform: none; }

.input-wrapper input, .input-wrapper textarea { 
    width: 100%; 
    height: 48px;
    padding: 0 16px 0 45px; 
    border: 1px solid #CDE6D8; 
    border-radius: 14px; 
    font-family: inherit; 
    font-size: 15px; 
    font-weight: 600; 
    color: #173B2D;
    background: #FFFFFF; 
    outline: none; 
    transition: 0.25s; 
}
.input-wrapper textarea {
    height: auto;
    min-height: 60px;
    padding-top: 14px;
}
.input-wrapper input::placeholder, .input-wrapper textarea::placeholder { 
    color: #718579; 
    font-weight: 500; 
}
.input-wrapper input:focus, .input-wrapper textarea:focus { 
    border-color: #078B52; 
    box-shadow: 0 0 0 4px rgba(7, 139, 82, 0.1); 
}

/* PERSONS */
.persons-block { 
    margin-top: 18px; padding: 16px; background: #FFFFFF; 
    border-radius: var(--radius-md); border: 1px solid var(--border); 
}
.persons-label { font-size: 0.85rem; font-weight: 800; color: var(--heading); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.persons-label i { color: var(--primary); }
.persons-selector { display: flex; align-items: center; justify-content: center; gap: 24px; }
.person-btn { 
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); 
    background: #F4FCF7; color: var(--primary); font-size: 1.1rem; font-weight: 700; cursor: pointer; 
    transition: 0.2s; 
}
.person-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.person-btn:disabled { opacity: 0.4; cursor: not-allowed; background: #E3F6EC; }
.persons-count { font-size: 1.8rem; font-weight: 800; color: var(--heading); }
.persons-unit { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* COORDS */
.coords-display { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 16px; 
    padding: 12px; background: #FFFFFF; border: 1px dashed var(--border); border-radius: var(--radius-md); 
    transition: 0.3s;
}
.coords-display.filled { background: #F4FCF7; border-style: solid; border-color: var(--accent); }
.coord-item { padding: 8px; background: #F8FCF9; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.coord-label { font-size: 0.65rem; font-weight: 800; color: var(--text-muted); display: block; margin-bottom: 4px; text-transform: uppercase; }
.coord-value { font-size: 0.85rem; font-weight: 800; color: var(--heading); font-family: monospace; word-break: break-all; }

/* BUTTONS */
.btn-location { 
    width: 100%; height: 48px; background: #FFF8E1; border: 1px solid #F5B400; 
    border-radius: 12px; color: #8A5A00; font-weight: 800; cursor: pointer; 
    display: flex; justify-content: center; align-items: center; 
    gap: 8px; font-size: 0.95rem; transition: 0.2s; 
}
.btn-location:hover { background: #FEF3C7; }

.btn-submit { 
    width: 100%; height: 50px; margin-top: 24px; 
    background: linear-gradient(135deg, #087443, #09A66D); border: none; 
    border-radius: 12px; color: #fff; font-size: 1.05rem; font-weight: 800; 
    cursor: pointer; display: flex; justify-content: center; align-items: center; 
    gap: 12px; box-shadow: 0 6px 20px rgba(8, 116, 67, 0.2); transition: 0.3s; 
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(8, 116, 67, 0.3); }
.btn-submit:disabled { background: #94a3b8; box-shadow: none; transform: none; }

.status-line { font-size: 0.8rem; margin-top: 10px; font-weight: 600; text-align: center; }
.status-line.success { color: var(--success); } 
.status-line.error { color: var(--error); }

.trust-footer { 
    text-align: center; font-size: 0.78rem; color: var(--text-muted); 
    margin-top: 20px; display: flex; justify-content: center; gap: 8px; 
    align-items: center; font-weight: 500; 
}
.site-footer { text-align: center; padding: 24px 20px; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ==============================
   RESPONSIVE DESIGN
   ============================== */
@media (max-width: 480px) {
    .page-wrapper { padding: 12px 16px 24px; }
    .hero-title { font-size: 1.5rem; }
    .form-card { padding: 24px 16px; }
    .coords-display { grid-template-columns: 1fr; } 
}

/* Booking update: no-map, GPS/manual pickup, responsive native date/time controls */
.hero-perks { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.hero-perks span { display:inline-flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.12); font-size:.72rem; font-weight:800; }
.hero-perks i { color:#b5ffd0; }
.input-wrapper input[type="date"], .input-wrapper input[type="time"] { display:block; width:100%; min-width:0; min-height:50px; padding:0 12px 0 45px; color:#173B2D; background:#fff; color-scheme:light; }
.input-wrapper input[type="date"]::-webkit-calendar-picker-indicator,
.input-wrapper input[type="time"]::-webkit-calendar-picker-indicator { cursor:pointer; opacity:.85; }
.location-help { color:var(--text-muted); font-size:.75rem; line-height:1.55; margin:10px 2px; }
.btn-location:disabled { opacity:.7; cursor:wait; }
.status-line { overflow-wrap:anywhere; }
.form-card { width:100%; }
input, textarea, select, button { max-width:100%; }
@media (max-width:480px) {
  .page-wrapper { width:100%; padding:12px 10px 24px; }
  .hero-content { padding:24px 18px; }
  .hero-title { font-size:1.45rem; }
  .hero-perks { gap:6px; }
  .hero-perks span { font-size:.67rem; padding:7px 8px; }
  .trust-bar { padding:12px 5px; }
  .trust-item span { font-size:.65rem; text-align:center; }
  .form-card { padding:22px 14px; }
  .input-wrapper input[type="date"], .input-wrapper input[type="time"] { font-size:16px; }
  .coords-display { grid-template-columns:1fr 1fr; gap:8px; }
  .coord-value { font-size:.76rem; }
}

/* WhatsApp Access Code verification additions */
.access-code-card{background:#fff;border:1px solid #d8eadf;border-radius:18px;padding:20px;margin:18px 0;box-shadow:0 8px 24px rgba(11,107,58,.06)}
.access-code-card .step-heading{margin-bottom:16px}
.access-code-card .btn-submit{margin-top:10px}
.otp-panel{margin-top:18px;padding-top:16px;border-top:1px solid #e5eee8}
.otp-instruction{font-size:.86rem;color:#52685c;line-height:1.55;margin:0 0 12px}
.booking-fields[hidden],.otp-panel[hidden]{display:none!important}
.booking-fields{display:block}

/* Access Code step and verified booking form visibility */
[hidden] { display: none !important; }
.access-code-card { border: 1px solid #dcebe2; border-radius: 18px; padding: 18px; margin: 18px 0; background: #fff; }
.access-code-card .step-heading { margin-bottom: 14px; }
.otp-panel { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e8eee9; }
.otp-instruction { color: #52665a; font-size: .9rem; line-height: 1.5; margin: 0 0 12px; }
.access-code-card button:disabled { opacity: .65; cursor: not-allowed; }
.progress-step.completed .dot { background: #087443; color: #fff; }
.status-line.error { color: #b42318; }
.status-line.success { color: #087443; }

/* Post Access-Code verification instruction modal */
.instruction-modal{display:none;position:fixed;inset:0;z-index:99999;align-items:center;justify-content:center;padding:18px;overflow-y:auto}
.instruction-modal.show{display:flex}
.instruction-modal-backdrop{position:fixed;inset:0;background:rgba(8,28,18,.68);backdrop-filter:blur(5px)}
.instruction-modal-card{position:relative;z-index:1;width:min(100%,520px);max-height:calc(100vh - 36px);overflow-y:auto;background:#fff;border-radius:22px;padding:26px 22px;box-shadow:0 24px 80px rgba(0,0,0,.25);text-align:center}
.instruction-modal-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#e7f8ee;color:#087443;font-size:30px}
.instruction-modal-card h2{font-size:1.25rem;margin:8px 0;color:#173c2b}
.instruction-lead{color:#52665b;line-height:1.45;font-size:.9rem;margin:8px 0 14px}
.instruction-list{text-align:left;display:grid;gap:12px;margin:18px 0}
.instruction-list>div{display:flex;gap:12px;align-items:flex-start;background:#f5faf7;border:1px solid #e2eee6;padding:12px;border-radius:13px}
.instruction-list>div>i{color:#087443;font-size:19px;margin-top:2px;min-width:22px}
.instruction-list span{display:grid;gap:3px}
.instruction-list strong{font-size:.9rem;color:#203d2e}
.instruction-list small{font-size:.8rem;line-height:1.45;color:#607267}
.instruction-note{font-size:.82rem;color:#617267;line-height:1.55;margin:12px 0 18px}
body.modal-open{overflow:hidden}

/* Compact verified popup + mobile input sizing */
.instruction-modal-card{padding:22px 20px;border-radius:20px;width:min(100%,420px)}
.verified-tips{display:grid;gap:9px;text-align:left;margin:14px 0 18px}
.verified-tips>div{display:flex;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e1eee6;background:#f6fbf8;border-radius:13px}
.verified-tips>div>i{color:#087443;font-size:19px;width:24px;text-align:center;flex-shrink:0}
.verified-tips span{display:grid;gap:2px}
.verified-tips strong{font-size:.84rem;color:#173b2d}
.verified-tips small{font-size:.76rem;color:#63756a;line-height:1.35}
@media(max-width:480px){
  .access-code-card{padding:16px 13px}
  #phone{height:56px;font-size:17px;padding-left:48px;letter-spacing:.3px;width:100%;min-width:0}
  .instruction-modal{padding:12px}
  .instruction-modal-card{padding:20px 16px;width:100%;max-width:360px}
  .instruction-modal-card h2{font-size:1.16rem}
  .instruction-modal-icon{width:54px;height:54px;font-size:26px;margin-bottom:9px}
  .verified-tips>div{padding:10px}
}

/* Refined OTP layout and calling contact option */
.access-code-card .access-send-btn{height:48px;margin-top:12px;font-size:.92rem;border-radius:11px;gap:9px;}
.otp-actions-row{display:flex;gap:9px;align-items:stretch;margin-top:12px;}
.otp-actions-row button{width:auto;flex:1;height:42px;margin:0!important;font-size:.82rem;border-radius:10px;padding:0 10px;}
.otp-actions-row #verifyAccessCodeBtn{box-shadow:none;}
.otp-actions-row #resendAccessCodeBtn{background:#f3f7f5;border:1px solid #dce8e1;color:#315a45;}
.calling-phone-wrap{margin-top:12px;}
.same-whatsapp-option{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;margin:6px 0 12px 8px;padding:5px 9px;border-radius:999px;background:#f1f8f4;border:1px solid #d9e9df;color:#267046;font-size:.75rem;font-weight:700;cursor:pointer;}
.same-whatsapp-option input{width:14px;height:14px;margin:0;accent-color:#087443;}
#callingPhone[readonly]{background:#f5f8f6;color:#68786f;}
.instruction-modal-card,.instruction-modal-card *{font-weight:700!important;}
.instruction-modal-card .instruction-lead,.instruction-modal-card .verified-tips small{font-weight:700!important;}
.instruction-modal-card .verified-tips strong{font-weight:900!important;}
@media(max-width:480px){
 .otp-actions-row{gap:7px;}
 .otp-actions-row button{height:40px;font-size:.76rem;padding:0 7px;gap:5px;}
 .access-code-card .access-send-btn{font-size:.85rem;height:46px;}
 .same-whatsapp-option{font-size:.72rem;margin-left:3px;}
 .calling-phone-wrap input{font-size:16px;min-width:0;width:100%;}
}

/* Latest form refinement: compact WhatsApp OTP row, schedule columns and placeholder cues */
.access-code-card .input-wrapper:has(#phone){display:flex;align-items:center;gap:8px;min-width:0;}
.access-code-card .input-wrapper:has(#phone) #phone{flex:1;min-width:0;width:0;}
.access-code-card .access-send-btn{flex:0 0 auto!important;width:auto!important;min-width:88px!important;height:44px!important;margin:0!important;padding:0 12px!important;border-radius:10px!important;font-size:.78rem!important;white-space:nowrap;}
.access-code-card .access-send-btn span{display:inline;}
.schedule-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;}
.picker-wrap{position:relative;min-width:0;}
.picker-placeholder{position:absolute;left:45px;top:50%;transform:translateY(-50%);z-index:1;color:#718177;font-size:.88rem;pointer-events:none;}
.picker-wrap input[type=date],.picker-wrap input[type=time]{color:transparent;position:relative;z-index:2;background:transparent;}
.picker-wrap input:focus,.picker-wrap input:valid{color:#173b2d;}
.picker-wrap input:focus + .picker-placeholder{display:none;}
.picker-wrap:has(input:valid) .picker-placeholder{display:none;}
@media(max-width:480px){
 .access-code-card .input-wrapper:has(#phone){gap:6px;}
 .access-code-card .access-send-btn{min-width:78px!important;padding:0 9px!important;height:42px!important;font-size:.75rem!important;}
 .schedule-fields{gap:8px;}
 .picker-placeholder{font-size:.78rem;left:42px;}
 .schedule-fields .input-wrapper{min-width:0;}
 .schedule-fields input[type=date],.schedule-fields input[type=time]{padding-left:42px!important;font-size:14px!important;}
}

/* Final layout polish */
.whatsapp-otp-row{display:flex;align-items:center;gap:10px;width:100%;}
.whatsapp-otp-row .input-wrapper{flex:1;min-width:0;margin:0;}
.whatsapp-otp-row #phone{width:100%;min-width:0;}
.whatsapp-otp-row .access-send-btn{flex:0 0 auto;width:auto!important;min-width:112px!important;height:44px!important;margin:0!important;padding:0 13px!important;border-radius:11px!important;font-size:.76rem!important;letter-spacing:.1px;white-space:nowrap;}
.otp-actions-row{gap:12px!important;}
.otp-actions-row button{flex:1;min-width:0;}
.instruction-modal-card{border:1px solid #d9eee3;background:linear-gradient(180deg,#ffffff 0%,#f8fcf9 100%);}
.instruction-modal-icon{background:linear-gradient(135deg,#d9f8e8,#eefbf3);color:#07834b;box-shadow:0 7px 20px rgba(8,116,67,.12);}
.instruction-modal-card h2{font-weight:900;letter-spacing:-.3px;}
.instruction-lead{font-weight:700;}
.verified-tips>div{box-shadow:0 3px 12px rgba(8,116,67,.035);}
@media(max-width:480px){
 .whatsapp-otp-row{gap:8px;}
 .whatsapp-otp-row .access-send-btn{min-width:106px!important;padding:0 10px!important;font-size:.72rem!important;height:42px!important;}
 .otp-actions-row{gap:10px!important;}
 .otp-actions-row button{font-size:.76rem!important;}
}

/* Requested layout only: OTP button below WhatsApp number; date/time stacked */
.whatsapp-otp-row{flex-direction:column!important;align-items:stretch!important;gap:9px!important;}
.whatsapp-otp-row .input-wrapper{width:100%!important;flex:0 0 auto!important;}
.whatsapp-otp-row .access-send-btn{align-self:flex-start!important;min-width:112px!important;width:auto!important;margin:0!important;}
.schedule-fields{grid-template-columns:1fr!important;gap:12px!important;}
.schedule-fields .input-wrapper{width:100%!important;}
