
    :root {
        --primary: #4361ee;
        --secondary: #3f37c9;
        --success: #4cc9f0;
        --info: #4895ef;
        --warning: #f72585;
        --danger: #e63946;
        --light: #f8f9fa;
        --dark: #212529;
        --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
        font-family: 'Inter', sans-serif;
        color: #333;
        min-height: 100vh;
    }

    .app {
        display: flex;
        min-height: 100vh;
    }

    .main-content {
        flex: 1;
        padding: 24px;
        transition: var(--transition);
    }

    .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
    }

    .page-title {
        font-size: 28px;
        font-weight: 700;
        color: var(--dark);
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .page-title i {
        color: var(--primary);
        font-size: 32px;
    }

    .card {
        border: none;
        border-radius: 16px;
        box-shadow: var(--card-shadow);
        transition: var(--transition);
        overflow: hidden;
        background: white;
    }

    .card:hover {
        box-shadow: var(--hover-shadow);
        transform: translateY(-5px);
    }

    .card-header {
        background: transparent;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 16px 20px;
        font-weight: 600;
        color: var(--dark);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .card-body {
        padding: 20px;
    }

    .chart-container {
        height: 300px;
        position: relative;
    }

    /* Date Filter Styles */
    .filter-section {
        background: white;
        border-radius: 16px;
        padding: 20px;
        box-shadow: var(--card-shadow);
        margin-bottom: 24px;
    }

    .filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    .filter-title {
        font-size: 18px;
        font-weight: 600;
        color: var(--dark);
    }

    .date-filter {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .drp-toggle {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 10px 16px;
        font-weight: 500;
        color: var(--dark);
        display: flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition);
        cursor: pointer;
        position: relative;
    }

    .drp-toggle:hover {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    }

    .drp-toggle i {
        font-size: 14px;
        transition: var(--transition);
    }

    .drp-toggle.active i {
        transform: rotate(180deg);
    }

    .drp-menu {
        position: absolute;
        top: 35%;
        left: 80%;
        margin-top: 8px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 12px;
        width: 240px;
        z-index: 1000;
        display: none;
        animation: fadeIn 0.2s ease;
    }

    .drp-menu.show {
        display: block;
    }

    .drp-item {
        padding: 10px 12px;
        border-radius: 8px;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 4px;
    }

    .drp-item:hover {
        background: rgba(67, 97, 238, 0.08);
        color: var(--primary);
    }

    .drp-item.active {
        background: rgba(67, 97, 238, 0.12);
        color: var(--primary);
        font-weight: 500;
    }

    .drp-item i {
        font-size: 16px;
        width: 20px;
    }

    .custom-range {
        display: none;
        padding: 16px 0 8px;
        border-top: 1px solid #eee;
        margin-top: 12px;
    }

    .custom-range.show {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .date-inputs {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }

    .date-input-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .date-input-group label {
        font-size: 14px;
        font-weight: 500;
        color: #555;
    }

    .date-input-group input {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 8px 12px;
        font-family: 'Inter', sans-serif;
    }

    .date-input-group input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    }

    .custom-actions {
        display: flex;
        gap: 8px;
    }

    .btn {
        border-radius: 8px;
        padding: 8px 16px;
        font-weight: 500;
        transition: var(--transition);
        border: none;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
    }

    .btn-primary {
        background: var(--primary);
        color: white;
    }

    .btn-primary:hover {
        background: var(--secondary);
        transform: translateY(-2px);
    }

    .btn-outline {
        background: transparent;
        border: 1px solid #e0e0e0;
        color: #666;
    }

    .btn-outline:hover {
        background: #f5f5f5;
    }

    .selected-range {
        margin-top: 12px;
        font-size: 14px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .selected-range i {
        color: var(--primary);
    }

    /* Stats Cards */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
        margin-bottom: 24px;
    }

    .stat-card {
        padding: 24px;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--success));
    }

    .stat-card.booking::before {
        background: linear-gradient(90deg, #e63946, #f72585);
    }

    .stat-card.transit::before {
        background: linear-gradient(90deg, #4895ef, #4cc9f0);
    }

    .stat-card.delivered::before {
        background: linear-gradient(90deg, #2ecc71, #4cc9f0);
    }

    .stat-card.pending::before {
        background: linear-gradient(90deg, #f39c12, #f72585);
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
        font-size: 20px;
        color: white;
    }

    .stat-card.booking .stat-icon {
        background: linear-gradient(135deg, #e63946, #f72585);
    }

    .stat-card.transit .stat-icon {
        background: linear-gradient(135deg, #4895ef, #4cc9f0);
    }

    .stat-card.delivered .stat-icon {
        background: linear-gradient(135deg, #2ecc71, #4cc9f0);
    }

    .stat-card.pending .stat-icon {
        background: linear-gradient(135deg, #f39c12, #f72585);
    }

    .stat-value {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 4px;
        color: var(--dark);
    }

    .stat-label {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

    .stat-change {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        margin-top: 8px;
        color: #2ecc71;
    }

    .stat-change.negative {
        color: #e63946;
    }

    /* Charts Grid */
    .charts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 24px;
        margin-bottom: 24px;
    }

    .chart-card {
        height: 100%;
    }

    .chart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    .chart-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--dark);
    }

    .chart-actions {
        display: flex;
        gap: 8px;
    }

    .chart-action-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        color: #666;
        cursor: pointer;
        transition: var(--transition);
    }

    .chart-action-btn:hover {
        background: #e9e9e9;
        color: var(--dark);
    }

    /* Table Styles */
    .table-card {
        margin-top: 24px;
    }

    .table-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    .table-title {
        font-size: 18px;
        font-weight: 600;
        color: var(--dark);
    }

    .table-actions {
        display: flex;
        gap: 12px;
    }

    .table-container {
        overflow-x: auto;
    }

    .table {
        width: 100%;
        border-collapse: collapse;
    }

    .table th {
        background: #f8f9fa;
        padding: 12px 16px;
        text-align: left;
        font-weight: 600;
        color: #555;
        border-bottom: 1px solid #e9ecef;
        font-size: 14px;
    }

    .table td {
        padding: 12px 16px;
        border-bottom: 1px solid #e9ecef;
        font-size: 14px;
    }

    .table tbody tr {
        transition: var(--transition);
    }

    .table tbody tr:hover {
        background: #f8f9fa;
    }

    .status-badge {
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
    }

    .status-badge.booking {
        background: rgba(230, 57, 70, 0.1);
        color: #e63946;
    }

    .status-badge.transit {
        background: rgba(73, 149, 239, 0.1);
        color: #4895ef;
    }

    .status-badge.delivered {
        background: rgba(46, 204, 113, 0.1);
        color: #2ecc71;
    }

    .status-badge.pending {
        background: rgba(243, 156, 18, 0.1);
        color: #f39c12;
    }

    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive */
    @media (max-width: 1200px) {
        .charts-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .main-content {
            margin-left: 0;
            padding: 16px;
        }

        .stats-grid {
            grid-template-columns: 1fr 1fr;
        }

        .charts-grid {
            grid-template-columns: 1fr;
        }

        .filter-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .date-filter {
            width: 100%;
        }

        .drp-menu {
            width: 100%;
        }
    }

    @media (max-width: 576px) {
        .stats-grid {
            grid-template-columns: 1fr;
        }

        .table-actions {
            flex-direction: column;
            width: 100%;
        }

        .table-actions .btn {
            width: 100%;
        }
    }
