/*
Theme Name: Airport Transport Booking.com
Theme URI: https://www.raqeebtech.com
Author: Raqeeb Global Tech Services Ltd
Author URI: https://www.raqeebtech.com
Description: Custom block theme for Airport Transport Booking.com — a private airport transfer booking site. Scaffolded by Studio Code.
Version: 0.5.7
Requires at least: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: johns-airport-express
*/

/* Root block gap reset — sections own their own vertical rhythm via padding */
.wp-site-blocks > * + * { margin-block-start: 0; }

/* === reset === */
/* === header === */
/* === hero === */
/* Hero photo is portrait (1086x1448). Instead of a fixed min-height that
   forces object-fit:cover to crop the top and/or bottom (unavoidable
   when the box's aspect ratio doesn't match the photo's), we make the
   hero box's own aspect ratio match the photo's aspect ratio exactly.
   With matching ratios, object-fit:cover fills edge-to-edge (no gray
   letterbox gaps) AND shows the full photo with zero cropping, top or
   bottom, at any viewport width, permanently. */
.jae-hero-section .wp-block-cover {
	aspect-ratio: 1086 / 1448 !important;
	height: auto !important;
	min-height: 0 !important;
}
.jae-hero-section .wp-block-cover__image-background {
	object-fit: cover;
	object-position: center center;
}
/* === sections === */
/* === buttons === */
/* === footer === */
/* === dashboard === */
.jae-dash-body{margin:0;background:#F4F6FA;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;color:#1A2340}
.jae-dash-shell{display:flex;min-height:100vh}
.jae-sidebar{width:220px;flex-shrink:0;background:#0A1628;color:#fff;padding:1.5rem 1rem;box-sizing:border-box}
.jae-sidebar-brand{display:flex;align-items:center;gap:.6rem;margin-bottom:2rem;font-weight:800;font-size:.95rem}
.jae-sidebar-brand img{width:34px;height:34px;border-radius:8px;object-fit:cover}
.jae-sidebar-nav{display:flex;flex-direction:column;gap:.25rem}
.jae-sidebar-nav a{color:#c7d2e6;text-decoration:none;padding:.65rem .75rem;border-radius:8px;font-size:.85rem;font-weight:600}
.jae-sidebar-nav a:hover{background:rgba(255,255,255,.06);color:#fff}
.jae-sidebar-nav a.active{background:#C9A84C;color:#0A1628}
.jae-sidebar-nav a.jae-nav-locked{color:#5c6b8a;cursor:not-allowed}
.jae-sidebar-nav a.jae-nav-locked:hover{background:rgba(220,38,38,.12);color:#fca5a5}
.jae-dash-main{flex:1;min-width:0}
.jae-topbar{display:flex;align-items:center;justify-content:flex-end;gap:1rem;padding:1rem 1.5rem;background:#fff;border-bottom:1px solid #e8ecf4}
.jae-user-pill{position:relative;background:#F4F6FA;border-radius:999px;padding:.5rem 1rem;font-size:.85rem;font-weight:700;cursor:pointer}
.jae-user-menu{display:none;position:absolute;right:0;top:110%;background:#fff;border:1px solid #e8ecf4;border-radius:10px;box-shadow:0 8px 24px rgba(10,22,40,.12);min-width:130px;z-index:20}
.jae-user-menu.open{display:block}
.jae-user-menu a{display:block;padding:.6rem .9rem;color:#EF4444;text-decoration:none;font-size:.82rem;font-weight:600}
.jae-user-menu a:hover{background:#fef2f2}
.jae-dash-content{padding:1.5rem}
.jae-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:1.25rem}
.jae-stat-card{background:#fff;border-radius:14px;padding:1.1rem;border-top:3px solid var(--c,#C9A84C);box-shadow:0 2px 10px rgba(10,22,40,.05)}
.jae-stat-icon{color:var(--c,#C9A84C);margin-bottom:.5rem}
.jae-stat-label{font-size:.75rem;color:#8898AA;font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.jae-stat-value{font-size:1.6rem;font-weight:800;color:#0A1628}
.jae-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-bottom:1.25rem}
.jae-panel{background:#fff;border-radius:14px;padding:1.25rem;box-shadow:0 2px 10px rgba(10,22,40,.05)}
.jae-panel-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.jae-panel-title{font-weight:800;color:#0A1628;font-size:.95rem}
.jae-panel-link{margin-left:auto;color:#C9A84C;font-size:.8rem;font-weight:700;text-decoration:none}
.jae-empty{padding:1.5rem;text-align:center;color:#9ab0cc;font-size:.85rem}
.jae-schedule-item{display:flex;align-items:center;gap:.75rem;padding:.6rem 0;border-bottom:1px solid #f0f4f8}
.jae-schedule-time{font-weight:800;color:#C9A84C;font-size:.85rem;min-width:44px}
.jae-schedule-name{font-weight:700;font-size:.85rem;color:#0A1628}
.jae-schedule-dest{font-size:.75rem;color:#8898AA}
.jae-notif-item{display:flex;gap:.6rem;padding:.55rem 0;border-bottom:1px solid #f0f4f8;font-size:.82rem}
.jae-notif-dot{width:7px;height:7px;border-radius:50%;background:#C9A84C;margin-top:.4rem;flex-shrink:0}
.jae-notif-unread{font-weight:700;color:#0A1628}
.jae-notif-body{color:#8898AA;font-size:.75rem}
.jae-notif-time{color:#b7c3d6;font-size:.72rem;margin-top:.15rem}
.jae-table{width:100%;border-collapse:collapse;font-size:.82rem}
.jae-table th{text-align:left;color:#8898AA;font-weight:700;padding:.5rem .6rem;border-bottom:2px solid #f0f4f8;font-size:.72rem;text-transform:uppercase;letter-spacing:.03em}
.jae-table td{padding:.65rem .6rem;border-bottom:1px solid #f0f4f8;vertical-align:middle}
.jae-table-name{font-weight:700;color:#0A1628}
.jae-table-sub{color:#9ab0cc;font-size:.75rem}
.jae-pill{display:inline-block;padding:.25rem .6rem;border-radius:999px;font-size:.7rem;font-weight:700}
.jae-pill-pending{background:#fef3c7;color:#b45309}
.jae-pill-confirmed{background:#dbeafe;color:#1d4ed8}
.jae-pill-completed{background:#d1fae5;color:#047857}
.jae-pill-cancelled{background:#fee2e2;color:#b91c1c}
.jae-btn-primary,.jae-btn-secondary,.jae-btn-danger{border:none;border-radius:8px;padding:.6rem 1.1rem;font-weight:700;font-size:.82rem;cursor:pointer;display:inline-block}
.jae-btn-primary{background:#C9A84C;color:#0A1628}
.jae-btn-primary:hover{background:#dbb95c}
.jae-btn-secondary{background:#eef1f7;color:#1A2340}
.jae-btn-secondary:hover{background:#e2e7f0}
.jae-btn-danger{background:#fee2e2;color:#b91c1c}
.jae-btn-danger:hover{background:#fecaca}
.jae-btn-sm{padding:.4rem .75rem;font-size:.75rem}
.jae-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.jae-form-field{display:flex;flex-direction:column;gap:.35rem}
.jae-form-label{font-size:.78rem;font-weight:700;color:#4A5568}
.jae-form-input{padding:.65rem .8rem;border:1.5px solid #e2e7f0;border-radius:8px;font-size:.85rem;font-family:inherit}
.jae-form-input:focus{outline:none;border-color:#C9A84C}
.jae-form-actions{display:flex;gap:.75rem;margin-top:.5rem}
.jae-msg-alert{padding:.8rem 1rem;border-radius:10px;font-size:.85rem;font-weight:600}
.jae-msg-ok{background:#d1fae5;color:#047857}
.jae-msg-err{background:#fee2e2;color:#b91c1c}
.jae-modal{position:fixed;inset:0;background:rgba(10,22,40,.5);display:flex;align-items:center;justify-content:center;z-index:100}
.jae-modal-inner{background:#fff;border-radius:14px;padding:1.5rem;width:90%;max-width:420px}
.jae-modal-inner label{display:block;font-size:.8rem;font-weight:700;color:#4A5568;margin-bottom:1rem}
.jae-modal-inner input[type=text],.jae-modal-inner input[type=number]{width:100%;margin-top:.35rem;padding:.6rem .8rem;border:1.5px solid #e2e7f0;border-radius:8px;font-size:.85rem;box-sizing:border-box}
.jae-price-active-row{display:flex!important;align-items:center;gap:.5rem}
.jae-modal-actions{display:flex;gap:.6rem;justify-content:flex-end;margin-top:.5rem}
/* === login === */
/* === pwa-install === */
/* === alarm-banner === */
.jae-dash-offline-banner{display:none;background:#fef3c7;color:#92400e;font-weight:700;font-size:.85rem;padding:.75rem 1.5rem;border-bottom:1px solid #fde68a}
.jae-alarm-banner{display:none;align-items:center;justify-content:space-between;gap:1rem;background:#EF4444;color:#fff;padding:.85rem 1.5rem;font-weight:700;font-size:.9rem;animation:jaeAlarmPulse 1s ease-in-out infinite}
.jae-alarm-banner button{background:#fff;color:#EF4444;border:none;border-radius:8px;padding:.5rem 1rem;font-weight:800;font-size:.8rem;cursor:pointer;flex-shrink:0}
@keyframes jaeAlarmPulse{0%,100%{background-color:#EF4444}50%{background-color:#dc2626}}
@media(prefers-reduced-motion:reduce){.jae-alarm-banner{animation:none}}
/* === 2fa-nudge-marquee === */
.jae-2fa-nudge{display:block;background:#DC2626;color:#fff;overflow:hidden;white-space:nowrap;text-decoration:none;border-bottom:2px solid #991B1B}
.jae-2fa-nudge-track{display:inline-flex;width:max-content;animation:jaeMarquee 22s linear infinite}
.jae-2fa-nudge-track span{display:inline-block;padding:.65rem 2rem;font-weight:700;font-size:.85rem;letter-spacing:.02em;color:#fff}
.jae-2fa-nudge:hover .jae-2fa-nudge-track{animation-play-state:paused}
@keyframes jaeMarquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
	.jae-2fa-nudge-track{animation:none}
	.jae-2fa-nudge{white-space:normal}
	.jae-2fa-nudge-track span:last-child{display:none}
}
/* === offline notices === */
.jae-alert-offline{background:#fef3c7;color:#92400e;border:1px solid #fde68a;border-radius:10px;padding:.85rem 1.1rem;font-size:.85rem;font-weight:600;margin-bottom:1.25rem}

/* === destinations grid === */
.jae-dest-grid-wrap{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem;max-width:1180px;margin:0 auto}
.jae-dest-card{background:#fff;border-radius:14px;padding:1.5rem;box-shadow:0 2px 14px rgba(10,22,40,.06);border:1px solid #eef1f7}
.jae-dest-card h3{margin:0 0 .5rem;font-size:1.05rem;color:#0A1628;font-family:'Playfair Display',serif}
.jae-dest-card p{margin:0;font-size:.85rem;color:#8898AA}
.jae-dest-card-cta{background:#0A1628;color:#fff;display:flex;flex-direction:column;justify-content:center}
.jae-dest-card-cta h3{color:#fff}
.jae-dest-card-cta p{color:#c7d2e6;margin-bottom:1rem}
.jae-dest-cta-btn{display:inline-block;background:#C9A84C;color:#0A1628;text-decoration:none;padding:.6rem 1.2rem;border-radius:8px;font-weight:700;font-size:.85rem;align-self:flex-start}

/* === responsive === */
