/* Booking System Styles - Belina Time Systems */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #1e3d6f;
    --accent-color: #4a90e2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: #f0f2f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

/* ============================================
   HEADER
   ============================================ */
.booking-header {
    background: linear-gradient(135deg, #1e3d6f 0%, #2c5aa0 50%, #4a90e2 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(30, 61, 111, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.booking-header .container {
    padding: 0.75rem 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    height: 38px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.logo-section h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.25);
}

/* Admin Navigation */
.admin-nav {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.admin-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.admin-nav a i {
    font-size: 0.85rem;
}

/* Public Navigation */
.public-nav {
    display: flex;
    gap: 0.75rem;
}

.public-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.public-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-1px);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease;
}

.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-danger, .alert-error { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.alert-warning { background: #fff3cd; color: #856404; border-left: 4px solid #ffc107; }
.alert-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }

.close-alert {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.close-alert:hover { opacity: 1; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BOOKING INTRO
   ============================================ */
.booking-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.booking-intro h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.booking-intro p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   STEP PROGRESS INDICATOR
   ============================================ */
.step-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #adb5bd;
    background: white;
    border: 2px solid #e9ecef;
    transition: var(--transition);
    white-space: nowrap;
}

.step-indicator .step-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: #e9ecef;
    color: #adb5bd;
    transition: var(--transition);
}

.step-indicator .step-label {
    display: inline;
}

.step-indicator.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #e3f2fd;
    box-shadow: 0 2px 12px rgba(44, 90, 160, 0.15);
}

.step-indicator.active .step-num {
    background: var(--primary-color);
    color: white;
}

.step-indicator.completed {
    color: var(--success-color);
    border-color: var(--success-color);
    background: #e8f5e9;
}

.step-indicator.completed .step-num {
    background: var(--success-color);
    color: white;
}

.step-connector {
    width: 40px;
    height: 3px;
    background: #dee2e6;
    border-radius: 2px;
    transition: var(--transition);
    flex-shrink: 0;
    margin: 0 0.25rem;
}

.step-connector.completed {
    background: var(--success-color);
}

/* ============================================
   BOOKING FORM CONTAINER
   ============================================ */
.booking-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Form Steps */
.form-step {
    display: none;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e3f2fd;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.service-option {
    padding: 1.75rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: white;
}

.service-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-option:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-option:hover::before {
    transform: scaleX(1);
}

.service-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    box-shadow: 0 4px 20px rgba(44, 90, 160, 0.2);
}

.service-option.selected::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-option h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.service-option p {
    color: var(--medium-gray);
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.service-option .duration {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   DATE & TIME SELECTION
   ============================================ */
.datetime-selection { margin-bottom: 2rem; }

.date-picker { margin-bottom: 2rem; }

.date-picker label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
}

.date-picker input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: #f8f9fa;
}

.date-picker input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.time-slot {
    padding: 0.85rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
    background: white;
}

.time-slot:hover {
    border-color: var(--accent-color);
    background: #e3f2fd;
    transform: translateY(-2px);
}

.time-slot.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
    transform: translateY(-2px);
}

.time-slot.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f8f9fa;
}

.time-slot.unavailable:hover {
    transform: none;
    border-color: #e9ecef;
    background: #f8f9fa;
}

.time-slots .loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* ============================================
   FORM GROUPS
   ============================================ */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.4rem;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.92rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   FORM NAVIGATION BUTTONS
   ============================================ */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-next,
.btn-back,
.btn-submit {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.btn-next:disabled {
    background: #ced4da;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-back {
    background: white;
    color: var(--medium-gray);
    border: 2px solid #dee2e6;
}

.btn-back:hover {
    background: #f8f9fa;
    color: var(--dark-gray);
    border-color: #adb5bd;
}

/* ============================================
   BOOKING SUMMARY SIDEBAR
   ============================================ */
.booking-summary {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 5rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.booking-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e3f2fd;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.summary-item strong {
    color: var(--medium-gray);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item span {
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    color: var(--white);
    margin-top: 1.25rem;
    font-size: 1.05rem;
    font-weight: 500;
}

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-container {
    max-width: 620px;
    margin: 3rem auto;
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.25rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-container h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    font-weight: 800;
}

.success-container > p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.02rem;
}

.success-info {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.success-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.success-info ul {
    list-style: none;
    padding: 0;
}

.success-info ul li {
    padding: 0.6rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #e9ecef;
}

.success-info ul li:last-child {
    border-bottom: none;
}

.success-info ul li i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.success-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.success-actions a,
.btn-primary,
.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary,
.success-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.btn-secondary,
.success-actions .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.contact-info {
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.contact-info p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ============================================
   VISUAL CALENDAR
   ============================================ */
.visual-calendar {
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cal-nav {
    background: none;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.cal-nav:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.5rem;
}

.cal-weekdays span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--medium-gray);
    text-transform: uppercase;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: default;
    color: #ccc;
    transition: var(--transition);
}

.cal-day.other-month { color: #e0e0e0; }

.cal-day.available {
    background: #e3f2fd;
    color: var(--primary-color);
    cursor: pointer;
}

.cal-day.available:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.cal-day.selected {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.35);
    transform: scale(1.1);
}

.cal-day.today {
    border: 2px solid var(--accent-color);
}

.cal-hint {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ============================================
   FOOTER
   ============================================ */
.booking-footer {
    background-color: #2d3436;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.booking-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.booking-footer .footer-section h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.booking-footer .footer-section p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.9;
}

.booking-footer .footer-section i {
    margin-right: 0.5rem;
    color: #4a90e2;
}

.booking-footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.booking-footer a:hover {
    color: #4a90e2;
}

.booking-footer .footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.booking-footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.booking-footer .footer-social a:hover {
    background-color: #4a90e2;
    transform: translateY(-3px);
}

.booking-footer .footer-social i {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.booking-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
}

.booking-footer .footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
}

/* ============================================
   BOOKING DETAILS (success page inline)
   ============================================ */
.booking-details {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: left;
}

.booking-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.booking-details p {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.booking-details strong {
    color: var(--primary-color);
}


/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dash-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 800;
}

.dash-header p {
    color: var(--medium-gray);
    margin: 0.25rem 0 0;
}

.dash-quick-actions {
    display: flex;
    gap: 0.75rem;
}

.qa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    transition: var(--transition);
    box-shadow: 0 3px 12px rgba(44, 90, 160, 0.25);
}

.qa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.35);
}

.qa-btn.qa-outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.qa-btn.qa-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Stat Cards */
.top-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.top-stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.top-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.top-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.tsi-blue { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #2c5aa0; }
.tsi-amber { background: linear-gradient(135deg, #fff8e1, #ffecb3); color: #f57f17; }
.tsi-green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; }

.top-stat-body {
    display: flex;
    flex-direction: column;
}

.top-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1.2;
}

.top-stat-label {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Dashboard Cards */
.dash-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dash-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.dash-card:hover {
    box-shadow: var(--shadow-hover);
}

.dash-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.dash-card-head h3 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.dash-link {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.dash-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Pipeline Grid */
.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.25rem;
}

.pipe-item {
    text-align: center;
    padding: 1.25rem 0.5rem;
    border-radius: var(--border-radius);
    background: #f8f9fa;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.pipe-item:hover {
    background: #e3f2fd;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: rgba(44, 90, 160, 0.15);
}

.pipe-count {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pipe-label {
    font-size: 0.75rem;
    color: var(--medium-gray);
    text-transform: capitalize;
    font-weight: 500;
}

/* Demo Grid */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.25rem;
}

.demo-item {
    text-align: center;
    padding: 1.25rem 0.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.demo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.demo-pending { background: #fff8e1; }
.demo-confirmed { background: #e8f5e9; }
.demo-completed { background: #e3f2fd; }
.demo-cancelled { background: #fce4ec; }

.demo-count {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-gray);
}

.demo-label {
    font-size: 0.75rem;
    color: var(--medium-gray);
    text-transform: capitalize;
    font-weight: 500;
}

/* Dashboard Tables */
.table-wrap { overflow-x: auto; }

.dash-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-table th {
    text-align: left;
    padding: 0.85rem 1.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
    border-bottom: 1px solid #f0f0f0;
    font-weight: 700;
}

.dash-table td {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid #f8f8f8;
    font-size: 0.9rem;
}

.dash-table tbody tr {
    transition: background 0.2s ease;
}

.dash-table tbody tr:hover {
    background: #f8f9fa;
}

.dash-table a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.dash-table a:hover {
    text-decoration: underline;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.badge-pending, .badge-submitted { background: #fff8e1; color: #f57f17; }
.badge-confirmed, .badge-availability_confirmed { background: #e8f5e9; color: #2e7d32; }
.badge-payment_received { background: #e3f2fd; color: #1565c0; }
.badge-installation_complete { background: #f3e5f5; color: #7b1fa2; }
.badge-food_selection { background: #fff3e0; color: #e65100; }
.badge-complete, .badge-completed { background: #e0f2f1; color: #00695c; }
.badge-cancelled { background: #fce4ec; color: #c62828; }

/* ============================================
   ADMIN BOOKINGS LIST
   ============================================ */
.bookings-header {
    margin-bottom: 2rem;
}

.bookings-header h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bookings-filters {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.bookings-filters form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.filter-group select,
.filter-group input {
    padding: 0.6rem 0.85rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    min-width: 150px;
    transition: var(--transition);
    background: #f8f9fa;
    font-family: inherit;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.bookings-content {
    background: var(--white);
    padding: 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}

.table-container { overflow-x: auto; }

.bookings-table {
    width: 100%;
    border-collapse: collapse;
}

.bookings-table th,
.bookings-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.bookings-table th {
    background: #f8f9fa;
    color: var(--medium-gray);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bookings-table tbody tr {
    transition: background 0.2s ease;
}

.bookings-table tbody tr:hover {
    background: #f8f9fa;
}

.status-badge {
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-completed { background: #d1ecf1; color: #0c5460; }

.btn-small {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 20px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(44, 90, 160, 0.3);
}

.btn-secondary.btn-small {
    background: var(--medium-gray);
}

.btn-secondary.btn-small:hover {
    background: var(--dark-gray);
}

/* ============================================
   ADMIN BOOKING DETAIL
   ============================================ */
.detail-header {
    margin-bottom: 2rem;
}

.detail-header h2 {
    color: var(--primary-color);
    margin-top: 1rem;
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.detail-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.detail-card:hover {
    box-shadow: var(--shadow-hover);
}

.detail-card.full-width {
    grid-column: 1 / -1;
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #e3f2fd;
    padding-bottom: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.detail-row:last-child { border-bottom: none; }
.detail-row strong { color: var(--dark-gray); font-size: 0.92rem; }
.detail-row span { color: var(--medium-gray); font-weight: 500; }
.detail-row a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.detail-row a:hover { text-decoration: underline; }

.detail-content textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: var(--transition);
    background: #f8f9fa;
}

.detail-content textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.detail-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-actions button {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.detail-actions button:hover {
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #34ce57);
    color: var(--white);
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.3);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #e74c5c);
    color: var(--white);
    box-shadow: 0 3px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    background: white;
    color: var(--medium-gray);
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid #dee2e6;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--dark-gray);
    border-color: #adb5bd;
    background: #f8f9fa;
}

/* ============================================
   FOOD SELECTION PAGE
   ============================================ */
.food-page {
    max-width: 700px;
    margin: 2.5rem auto;
    padding: 0 20px;
}

.food-page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.food-page-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
}

.food-page-header p {
    color: var(--medium-gray);
    margin-top: 0.5rem;
}

.food-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.food-alert-box {
    padding: 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.food-alert-box.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.food-alert-box.success {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.food-form-group {
    margin-bottom: 1.5rem;
}

.food-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.food-form-group select,
.food-form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8f9fa;
}

.food-form-group select:focus,
.food-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.food-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.food-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .booking-form-container {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Mobile menu */
    .mobile-menu-toggle {
        display: flex;
    }

    .admin-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.25rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .admin-nav.open {
        display: flex;
    }

    .admin-nav a {
        padding: 0.65rem 1rem;
        border-radius: 8px;
    }

    .public-nav {
        width: 100%;
        justify-content: center;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-logo { height: 34px; }
    .logo-section h1 { font-size: 1.15rem; }

    /* Layout */
    .services-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .time-slots { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .booking-intro h2 { font-size: 1.8rem; }
    .top-stats { grid-template-columns: 1fr; }
    .dash-two-col { grid-template-columns: 1fr; }
    .pipeline-grid, .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-quick-actions { flex-direction: column; width: 100%; }
    .detail-grid { grid-template-columns: 1fr; }

    /* Step progress */
    .step-progress { gap: 0.25rem; }
    .step-indicator { padding: 0.5rem 0.65rem; font-size: 0.78rem; }
    .step-indicator .step-label { display: none; }
    .step-connector { width: 20px; }

    .form-step { padding: 1.5rem; }
    .booking-summary { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 1rem 15px; }
    .success-container { padding: 2rem 1.5rem; }
    .success-actions { flex-direction: column; }
    .success-actions a { width: 100%; justify-content: center; }
}
