/* ===== Vehicle Gallery ===== */
.estb-vehicle-gallery { margin-bottom: 28px; }
.estb-gallery-main { border-radius: 8px; overflow: hidden; background: #f1f5f9; margin-bottom: 10px; }
.estb-gallery-main img { width: 100%; max-height: 420px; object-fit: cover; display: block; transition: opacity .25s; }
.estb-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.estb-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: border-color .2s, opacity .2s; opacity: .75; }
.estb-thumb:hover, .estb-thumb-active { border-color: #2271b1; opacity: 1; }

/* ===== Vehicle Grid ===== */
.estb-vehicles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; padding: 16px 0; }

.estb-vehicle-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.estb-vehicle-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }

.estb-vehicle-image img { width: 100%; height: 200px; object-fit: cover; display: block; }

.estb-vehicle-info { padding: 16px; }
.estb-vehicle-name { margin: 0 0 10px; font-size: 18px; }
.estb-vehicle-name a { color: inherit; text-decoration: none; }
.estb-vehicle-name a:hover { color: #2271b1; }

.estb-vehicle-meta-list { list-style: none; padding: 0; margin: 0 0 14px; }
.estb-vehicle-meta-list li { padding: 4px 0; font-size: 14px; color: #555; }
.estb-meta-icon { margin-right: 6px; }

/* ===== Availability Badges ===== */
.estb-avail-badge { background: #d1fae5; color: #065f46; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.estb-full-badge  { background: #fee2e2; color: #991b1b; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }

/* ===== Buttons ===== */
.estb-btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; text-decoration: none; transition: background .2s, opacity .2s; }
.estb-btn-primary  { background: #2271b1; color: #fff; }
.estb-btn-primary:hover { background: #135e96; color: #fff; }
.estb-btn-disabled { background: #d1d5db; color: #6b7280; cursor: not-allowed; }

/* ===== Vehicle Details ===== */
.estb-vehicle-details { margin-top: 24px; }
.estb-vehicle-specs { margin-bottom: 30px; }
.estb-specs-table { width: 100%; max-width: 500px; border-collapse: collapse; }
.estb-specs-table th, .estb-specs-table td { padding: 10px 14px; border: 1px solid #e2e8f0; text-align: left; }
.estb-specs-table th { background: #f8fafc; font-weight: 600; width: 140px; }

/* ===== Booking Form ===== */
.estb-booking-form-wrap { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 28px 32px; margin-top: 24px; max-width: 800px; }
.estb-booking-title { margin-top: 0; font-size: 22px; color: #1e293b; }
.estb-booking-price-info { margin-bottom: 20px; color: #475569; font-size: 15px; }

.estb-form-row { display: flex; gap: 20px; margin-bottom: 4px; flex-wrap: wrap; }
.estb-form-group { flex: 1 1 100%; margin-bottom: 16px; }
.estb-col-half { flex: 1 1 calc(50% - 10px); min-width: 200px; }

.estb-form-group label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.estb-input { width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; box-sizing: border-box; transition: border-color .2s; }
.estb-input:focus { border-color: #2271b1; outline: none; box-shadow: 0 0 0 3px rgba(34,113,177,.15); }
.estb-textarea { min-height: 80px; resize: vertical; }

/* ===== Alerts ===== */
.estb-alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.estb-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.estb-alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ===== No vehicles ===== */
.estb-no-vehicles { text-align: center; padding: 40px; color: #6b7280; font-size: 16px; }

/* ===== Loading spinner ===== */
.estb-slots-loading { font-size: 13px; color: #6b7280; font-style: italic; margin-top: 4px; }

.estb-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 600px) {
    .estb-booking-form-wrap { padding: 20px 16px; }
    .estb-col-half { flex: 1 1 100%; }
}
