/* Car Service Booking v2.0 — Blacklane Style */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.csb-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; max-width: 680px; padding: 2rem 0; }
.csb-step { display: none; }
.csb-step.active { display: block; }

.csb-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; overflow: hidden; }

.csb-tabs { display: flex; border-bottom: 1px solid #e8e8e8; }
.csb-tab { flex: 1; padding: 14px 0; font-size: 15px; font-weight: 500; text-align: center; cursor: pointer; color: #888; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.csb-tab.active { color: #111; border-bottom-color: #111; }

.csb-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }

.csb-field-row { display: flex; align-items: center; background: #f5f5f5; border: 1px solid #e8e8e8; border-radius: 8px; padding: 0 14px; height: 52px; gap: 10px; transition: border-color .15s; }
.csb-field-row:hover { border-color: #bbb; }
.csb-field-row input { border: none; background: none; font-size: 14px; color: #111; flex: 1; outline: none; height: 100%; }
.csb-field-row input::placeholder { color: #aaa; }
.csb-ico { width: 18px; height: 18px; flex-shrink: 0; color: #aaa; }

.csb-datetime-row { display: flex; align-items: center; background: #f5f5f5; border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; height: 52px; }
.csb-datetime-row:hover { border-color: #bbb; }
.csb-dt-part { display: flex; align-items: center; gap: 10px; padding: 0 14px; flex: 1; height: 100%; }
.csb-dt-part input { border: none; background: none; font-size: 14px; color: #111; flex: 1; outline: none; width: 100%; }
.csb-dt-divider { width: 1px; height: 28px; background: #e8e8e8; flex-shrink: 0; }

.csb-btn-primary { width: 100%; height: 52px; background: #111; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 500; cursor: pointer; transition: opacity .15s; margin-top: 4px; }
.csb-btn-primary:hover { opacity: .85; }
.csb-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.csb-btn-outline { display: inline-block; padding: 12px 28px; background: none; color: #111; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s; }
.csb-btn-outline:hover { background: #f5f5f5; }
.csb-note { font-size: 12px; color: #aaa; text-align: center; padding-top: 2px; }

.csb-back { background: none; border: none; color: #666; font-size: 13px; cursor: pointer; padding: 0; margin-bottom: 1rem; display: flex; align-items: center; gap: 4px; }
.csb-back:hover { color: #111; }

.csb-step2-header { margin-bottom: 1.25rem; }
.csb-route { font-size: 13px; color: #888; margin-bottom: 4px; }
.csb-step-title { font-size: 20px; font-weight: 600; color: #111; margin-bottom: 1rem; }

.csb-loading { padding: 2rem; text-align: center; color: #aaa; font-size: 14px; }

.csb-vehicle-list { display: flex; flex-direction: column; gap: 10px; }
.csb-vehicle-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: border-color .15s; }
.csb-vehicle-card:hover { border-color: #bbb; }
.csb-vehicle-card.selected { border: 2px solid #111; }

.csb-vehicle-left { width: 110px; flex-shrink: 0; }
.csb-vehicle-img { width: 110px; height: 65px; object-fit: contain; border-radius: 6px; }
.csb-img-placeholder { width: 110px; height: 65px; display: flex; align-items: center; justify-content: center; }
.csb-img-placeholder svg { width: 100%; height: 100%; }

.csb-vehicle-info { flex: 1; min-width: 0; }
.csb-vehicle-name { font-size: 15px; font-weight: 600; color: #111; margin-bottom: 3px; }
.csb-vehicle-desc { font-size: 13px; color: #888; margin-bottom: 8px; }
.csb-vehicle-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.csb-tag { font-size: 11px; color: #666; background: #f5f5f5; border: 1px solid #e8e8e8; border-radius: 4px; padding: 2px 8px; }

.csb-vehicle-price { font-size: 17px; font-weight: 600; color: #111; flex-shrink: 0; text-align: right; white-space: nowrap; }
.csb-vehicle-price span { display: block; font-size: 11px; font-weight: 400; color: #aaa; margin-top: 2px; }
.csb-continue { margin-top: 16px; max-width: 260px; }

.csb-form-card { padding: 24px; margin-top: 12px; }
.csb-selected-summary { background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; }
.csb-summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; padding: 3px 0; }
.csb-summary-label { color: #aaa; flex-shrink: 0; }
.csb-summary-val { color: #333; text-align: right; }

.csb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.csb-full-col { grid-column: 1 / -1; }
.csb-form-field { display: flex; flex-direction: column; gap: 6px; }
.csb-form-field label { font-size: 13px; font-weight: 500; color: #333; }
.csb-form-field input, .csb-form-field textarea { padding: 10px 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; color: #111; background: #fafafa; outline: none; transition: border-color .15s; font-family: inherit; }
.csb-form-field input:focus, .csb-form-field textarea:focus { border-color: #111; background: #fff; }
.csb-form-field textarea { min-height: 80px; resize: vertical; }
.csb-form-error { color: #c0392b; font-size: 13px; margin-bottom: 12px; }

.csb-confirm-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 40px 28px; text-align: center; }
.csb-check { width: 52px; height: 52px; border-radius: 50%; background: #111; color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.csb-confirm-title { font-size: 20px; font-weight: 600; color: #111; margin-bottom: 10px; }
.csb-confirm-sub { font-size: 14px; color: #666; margin-bottom: 24px; line-height: 1.6; }

@media (max-width: 600px) {
    .csb-body { padding: 16px; }
    .csb-form-grid { grid-template-columns: 1fr; }
    .csb-vehicle-card { flex-wrap: wrap; }
    .csb-vehicle-price { width: 100%; text-align: left; }
    .csb-continue { max-width: 100%; }
}
