/* AST-specific overrides on top of EasyAdmin main.css */

/* Booking status badges */
.ast-status-SCHEDULED   { background-color: #6c757d; color: #fff; }
.ast-status-ASSIGNED    { background-color: #0dcaf0; color: #000; }
.ast-status-IN_PROGRESS { background-color: #ffc107; color: #000; }
.ast-status-COMPLETED   { background-color: #198754; color: #fff; }
.ast-status-CANCELLED   { background-color: #dc3545; color: #fff; }

/* Booking workflow stepper */
.booking-steps {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 8px 4px 4px;
    margin-bottom: 1.25rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}
.booking-steps .step {
    flex: 1 1 0;
    min-width: 110px;
    padding: 10px 8px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    transition: background 0.15s;
}
.booking-steps .step + .step::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 50%;
    width: 8px;
    height: 2px;
    background: #cbd5e1;
}
.booking-steps .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}
.booking-steps .step-label {
    font-weight: 500;
    line-height: 1.2;
}
.booking-steps .step-phase {
    font-size: 10px;
    background: #cbd5e1;
    color: #475569;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.booking-steps .step.step-done { color: #16a34a; }
.booking-steps .step.step-done .step-num { background: #16a34a; color: #fff; }
.booking-steps .step.step-active { background: #dbeafe; color: #1e40af; }
.booking-steps .step.step-active .step-num { background: #2563eb; color: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.booking-steps .step.step-active .step-label { font-weight: 600; }
.booking-steps .step.step-locked { opacity: 0.55; }
.booking-steps .step.step-locked .step-num { background: #e2e8f0; color: #94a3b8; }

/* Print mode: hide chrome, keep content */
@media print {
    .header, .sidebar, .footer, .page-header .btn,
    .mobile-search, .mobile-header-menu, .sidebar-overlay,
    .back-to-top, form .btn { display: none !important; }
    .main, .main-content { margin-left: 0 !important; padding: 0 !important; }
    body { background: #fff; }
}
