* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f8f9fa;
}

/* Header Styles */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-small {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    color: #FF0000;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #4A90E2;
}

.header-actions {
    display: flex;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
    text-decoration: none;
    color: inherit;
}

.user-profile:hover {
    background: #f0f0f0;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.dropdown-arrow {
    font-size: 12px;
    color: #666;
}

/* Bookings Page Section */
.bookings-page-section {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.btn-new-booking {
    padding: 12px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab:hover {
    border-color: #4A90E2;
    color: #4A90E2;
}

.filter-tab.active {
    background: #4A90E2;
    border-color: #4A90E2;
    color: white;
}

/* Bookings Container */
.bookings-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Booking Card */
.booking-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.booking-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-upcoming {
    background: #FFF3CD;
    color: #856404;
}

.status-active {
    background: #D1ECF1;
    color: #0C5460;
}

.status-completed {
    background: #D4EDDA;
    color: #155724;
}

.status-cancelled {
    background: #F8D7DA;
    color: #721C24;
}

.booking-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    padding: 5px;
}

.booking-content {
    padding: 20px;
}

.booking-car-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.booking-car-image {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.booking-car-details h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.booking-id {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.booking-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.booking-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.booking-info-item i {
    color: #4A90E2;
    font-size: 16px;
    margin-top: 3px;
}

.booking-info-item div {
    flex: 1;
}

.booking-info-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.booking-info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.total-label {
    font-size: 14px;
    color: #666;
}

.total-amount {
    font-size: 24px;
    font-weight: bold;
    color: #4A90E2;
}

.booking-actions {
    display: flex;
    gap: 10px;
}

.btn-view-details {
    flex: 1;
    padding: 10px;
    font-weight: 500;
}

.btn-cancel-booking {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-cancel-booking:hover {
    background: #c82333;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.modal-body {
    padding: 30px;
}

.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.detail-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.booking-extras {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.extras-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.extras-list li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.extras-list li i {
    color: #4A90E2;
}

/* Footer */
.main-footer {
    background: #1F2937;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .bookings-container {
        grid-template-columns: 1fr;
    }

    .booking-info-grid {
        grid-template-columns: 1fr;
    }

    .booking-details-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }
}