/* ==========================================================================
   Unified Booking Cards - Parameterized Booking System
   ========================================================================== */

/* Base booking card class for all selection steps */
.booking-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.booking-card:hover:not(.booked):not(.past) {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Text rows styling for flexible content */
.card-text-rows {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.text-row {
    line-height: 1.2;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color, #007bff);
}

/* Staff avatar styling */
.staff-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.staff-icon {
    color: var(--primary-color, #007bff);
    font-size: 4rem;
}




/* Card body styling */
.booking-card .card-body {
    text-align: center;
    padding: 1.5rem;
}

.booking-card .card-title {
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    font-weight: 600;
}

.booking-card:hover:not(.booked):not(.past) .card-title {
    color: var(--primary-color) !important;
}

.booking-card .card-text {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Book indicator for all card types */
.booking-card .book-indicator {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

.booking-card:hover .book-indicator {
    opacity: 1;
    transform: translateY(0);
}

.booking-card .book-indicator i {
    font-size: 0.75rem;
}


/* Staff card specific overrides */
.booking-card .staff-avatar {
    margin-bottom: 1rem;
}


.booking-card .badge {
    font-size: 0.8rem;
}

/* Booked and past card styling */
.booking-card.booked {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

.booking-card.past {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.booking-card:not(.booked):not(.past) .card {
    border-color: var(--primary-color);
}


/* Mobile responsive */
@media (max-width: 768px) {
    .booking-card {
        margin-bottom: 1rem;
    }
    
    .booking-card .card-body {
        padding: 1rem;
    }
    
    .booking-card .book-indicator {
        bottom: 0.5rem;
        right: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .booking-card:hover:not(.booked):not(.past) {
        transform: translateY(-5px);
    }
}
