/* Bookings Container */
.bookings-container {
    max-width: 1200px;
    margin: 80px auto 2rem;
    padding: 0 1rem;
}

.bookings-container h1 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
}

/* Booking Tabs */
.booking-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Booking Sections */
.booking-section {
    display: none;
}

.booking-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

/* Booking Cards */
.booking-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.booking-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow), 0 5px 15px rgba(0,0,0,0.1);
}

.booking-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.status-active {
    background: #4CAF50;
    color: white;
}

.status-upcoming {
    background: #2196F3;
    color: white;
}

.status-completed {
    background: #9E9E9E;
    color: white;
}

.status-cancelled {
    background: #F44336;
    color: white;
}

.booking-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.booking-info {
    color: var(--text-color);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-info i {
    color: var(--primary-color);
    width: 20px;
}

.booking-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.modal h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.booking-details {
    margin-bottom: 2rem;
}

.detail-group {
    margin-bottom: 1rem;
}

.detail-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.detail-group p {
    color: var(--text-color);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Extension Form */
#extension-form .form-group {
    margin-bottom: 1.5rem;
}

#extension-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

#extension-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: var(--bg-color);
    color: var(--text-color);
}

.extension-cost {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-color);
}

.empty-state i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }
}

/* Dark Theme Adjustments */
[data-theme="dark"] .booking-card {
    background: var(--card-bg);
}

[data-theme="dark"] #extension-form select {
    border-color: #444;
} 