    /* ===== BASE STYLES ===== */
    :root {
        /* CST Brand Colors */
        --cst-primary: #00C49A;
        --cst-secondary: #F1F1D3;
        --cst-accent: #00c49a;
        --cst-dark: #1a2b3c;
        --cst-light: #f8f9fa;
        --cst-white: #ffffff;
        
        /* Status Colors */
        --status-pending: #ffc107;
        --status-delivered: #28a745;
        --status-cancelled: #dc3545;
        --status-rescheduled: #ee7600;
        --status-new: #00C49A;
        
        /* Gradient Colors */
        --gradient-primary: linear-gradient(135deg, var(--cst-primary), var(--cst-secondary));
        --gradient-success: linear-gradient(135deg, #28a745, #20c997);
        --gradient-warning: linear-gradient(135deg, #ffc107, #fd7e14);
        --gradient-danger: linear-gradient(135deg, #dc3545, #e83e8c);
        --gradient-info: linear-gradient(135deg, #00c49a, #00a8ff);
        
        /* New Hero Gradient */
        --gradient-hero: linear-gradient(135deg, #00C49A 0%, #4CD964 25%, #5AC8FA 50%, #34AADC 75%, #007AFF 100%);
        --gradient-hero-diagonal: linear-gradient(45deg, #00C49A 0%, #4CD964 25%, #5AC8FA 50%, #34AADC 75%, #007AFF 100%);
        
        /* Shadows */
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
        --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
        --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
        --shadow-hero: 0 20px 40px rgba(0, 196, 154, 0.3);
        
        /* Border Radius */
        --radius-sm: 8px;
        --radius-md: 12px;
        --radius-lg: 16px;
        --radius-xl: 20px;
        --radius-hero: 24px;
        
        /* Transitions */
        --transition-fast: 0.2s ease;
        --transition-normal: 0.3s ease;
        --transition-slow: 0.5s ease;
    }
    
    /* Glass morphism icon background with vibrant green */
.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 196, 154, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 10px 30px rgba(0, 196, 154, 0.5),
        0 0 40px rgba(0, 196, 154, 0.3);
}

/* Circling animation with vibrant colors */
.icon-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    animation: icon-orbit 15s linear infinite;
}

.icon-ring::before,
.icon-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.icon-ring::before {
    width: 18px;
    height: 18px;
    background: #FAD049;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 12px rgba(0, 196, 154, 0.8));
    box-shadow: 0 0 20px rgba(0, 196, 154, 0.8);
}

.icon-ring::after {
    width: 14px;
    height: 14px;
    background: #FAD049;
    bottom: 0;
    right: 25%;
    filter: drop-shadow(0 0 10px rgba(250, 208, 73, 0.8));
    box-shadow: 0 0 15px rgba(250, 208, 73, 0.8);
}

@keyframes icon-orbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

    
    /* Reset margins and padding */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
    
    .data-table-dashboard {
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
        min-height: 100vh;
        margin-left: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* ===== HIDE LEFT MENU ===== */
    .CST--menu--principal,
    .CST--menu,
    [class*="CST--menu"],
    [class*="menu--principal"],
    [class*="sidebar"],
    div[style*="position: fixed"][style*="left: 0"] {
        display: none !important;
    }
    
    /* ===== HERO ICON IMAGE ===== */
    .hero-icon-img {
        width: 60px;
        height: 60px;
        object-fit: contain;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        filter: drop-shadow(0 4px 12px rgba(0, 196, 154, 0.4));
        animation: float 3s ease-in-out infinite;
        border-radius: 12px;
    }
    
    /* Update Hero Header Background - Beige instead of dark */
    .dashboard-hero {
        background: linear-gradient(135deg, rgba(0, 196, 154, 0.95) 0%, rgba(241, 241, 211, 0.95) 100%);
        border-radius: var(--radius-xl);
        padding: 40px;
        position: relative;
        margin-bottom: 40px;
        overflow: hidden;
        min-height: 280px;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 196, 154, 0.3);
        box-shadow: 
            0 8px 32px rgba(0, 196, 154, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        opacity: 0.6;
    }
    
    .hero-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 80%, rgba(0, 196, 154, 0.5) 0%, transparent 60%),
            radial-gradient(circle at 80% 20%, rgba(250, 208, 73, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(0, 196, 154, 0.4) 0%, transparent 40%);
    }
    
    .hero-background::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 40px 40px;
    }
    
    .hero-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 2;
        gap: 40px;
    }
    
    .hero-main {
        display: flex;
        align-items: center;
        gap: 30px;
        flex: 1;
    }
    
    .hero-icon-container {
        position: relative;
        flex-shrink: 0;
    }
    
    .icon-wrapper {
        position: relative;
        width: 100px;
        height: 100px;
    }
    
    .hero-icon {
        font-size: 3.2rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        color: white;
        filter: drop-shadow(0 4px 12px rgba(0, 196, 154, 0.4));
        animation: float 3s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
        50% { transform: translate(-50%, -50%) translateY(-10px); }
    }
    
    .icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(241, 241, 211, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(0, 196, 154, 0.5);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 196, 154, 0.3),
        0 0 40px rgba(0, 196, 154, 0.2);
    }
    
    .hero-title-section {
        flex: 1;
    }
    
    .hero-title {
    color: white;
    font-size: 2.8rem;
    margin: 0 0 8px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #1a2b3c 0%, #00C49A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    }
    
    .hero-subtitle {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}
    
    .user-info {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .welcome-section {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .welcome-icon {
    font-size: 1.6rem;
    background: rgba(0, 196, 154, 0.3);
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 196, 154, 0.5);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #1a2b3c;
    }

    
    .welcome-text {
        display: flex;
        flex-direction: column;
    }
    
    .welcome-greeting {
    color: #1a2b3c;
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    }
    
    .welcome-name {
    color: #00C49A;
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1a2b3c 0%, #00C49A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    }

    
    .company-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 196, 154, 0.3) 0%, rgba(241, 241, 211, 0.6) 100%);
    backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 196, 154, 0.5);
    max-width: fit-content;
    transition: var(--transition-normal);
    box-shadow: 
        0 4px 12px rgba(0, 196, 154, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .company-info:hover {
        background: linear-gradient(135deg, rgba(0, 196, 154, 0.5) 0%, rgba(241, 241, 211, 0.8) 100%);
        border-color: rgba(0, 196, 154, 0.8);
        transform: translateY(-2px);
        box-shadow: 
            0 8px 20px rgba(0, 196, 154, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    
    .company-icon {
    font-size: 1rem;
    color: #1a2b3c;
    }
    
    .company-name {
        color: #1a2b3c;
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        text-shadow: none;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .logout-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(0, 196, 154, 0.4) 0%, rgba(0, 196, 154, 0.2) 100%);
    backdrop-filter: blur(20px);
    color: #1a2b3c !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 196, 154, 0.5);
    box-shadow: 
        0 4px 12px rgba(0, 196, 154, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 0.3px;
    }
    
    .logout-button:hover {
        background: linear-gradient(135deg, rgba(0, 196, 154, 0.6) 0%, rgba(0, 196, 154, 0.4) 100%);
        border-color: rgba(0, 196, 154, 0.8);
        transform: translateY(-2px);
        box-shadow: 
            0 8px 20px rgba(0, 196, 154, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
        color: white !important;
    }
    
    .logout-button .button-icon {
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
    color: #1a2b3c;
    }
    
    .logout-button:hover .button-icon {
        transform: translateX(3px);
        color: #FAD049;
    }
    
    .wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: rgba(0, 196, 154, 0.2);
    opacity: 0.8;
    }
    
    .wave-divider svg {
        width: 100%;
        height: 80px;
        display: block;
    }
    
    .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(241, 241, 211, 0.6) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(0, 196, 154, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(241, 241, 211, 0.5) 0%, transparent 40%);
    }
    
    /* ===== CONTENT SECTIONS ===== */
    .dashboard-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    
    .content-section {
        background: white;
        border-radius: var(--radius-lg);
        padding: 30px;
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 2px solid #f0f2f5;
    }
    
    .section-title h3 {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 0 8px 0;
        color: var(--cst-dark);
        font-size: 1.5rem;
    }
    
    .section-icon {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        color: #666;
        margin: 0;
        font-size: 1rem;
    }
    
    .table-actions {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    
    /* ===== BUTTONS ===== */
    .button {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 20px !important;
        background: var(--cst-primary);
        color: white !important;
        border: none;
        border-radius: var(--radius-sm) !important;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition-normal) !important;
        text-decoration: none;
        font-family: inherit;
        font-size: 0.95rem;
    }
    
    .button:hover {
        background: #009d7a;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    
    .button-icon {
        font-size: 1.1rem;
    }
    
    .apply-button {
        background: var(--cst-primary) !important;
    }
    
    .apply-button:hover {
        background: #009d7a !important;
    }
    
    .clear-button {
        background: #D2D1D1 !important;
    }
    
    .clear-button:hover {
        background: #b1b0b0 !important;
    }
    
    .print-button {
        background: #00C49A !important;
    }
    
    .print-button:hover {
        background: #009d7a !important;
    }
    
    /* ===== FILTERS ===== */
    .filter-form {
        background: #f8f9fa;
        border-radius: var(--radius-md);
        padding: 25px;
        margin-bottom: 25px;
        border: 1px solid #e1e5eb;
    }
    
    .filter-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-group label {
        font-size: 0.9rem;
        font-weight: 500;
        color: #555;
    }
    
    .filter-group input,
    .filter-group select,
    .filter-group textarea {
        padding: 12px 15px;
        border: 2px solid #e1e5eb;
        border-radius: var(--radius-sm);
        font-size: 0.95rem;
        transition: var(--transition-fast);
        background: white;
        width: 100%;
        font-family: inherit;
        box-sizing: border-box;
    }
    
    .filter-group input:focus,
    .filter-group select:focus,
    .filter-group textarea:focus {
        outline: none;
        border-color: var(--cst-primary);
        box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.1);
    }
    
    .filter-group textarea {
        resize: vertical;
        min-height: 80px;
    }
    
    .filter-actions {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 20px;
    }
    
    /* ===== STATUS CARDS ===== */
    .status-summary {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }
    
    .status-card {
        background: white;
        border-radius: var(--radius-md);
        padding: 25px;
        text-decoration: none;
        color: var(--cst-dark);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-top: 4px solid;
        position: relative;
        overflow: hidden;
    }
    
    .status-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }
    
    .status-card.delivered {
        border-top-color: var(--status-delivered);
        background: linear-gradient(135deg, white, #e8f5e9);
    }
    
    .status-card.cancelled {
        border-top-color: var(--status-cancelled);
        background: linear-gradient(135deg, white, #fde8e8);
    }
    
    .status-card-content {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .status-icon {
        font-size: 2.5rem;
        opacity: 0.8;
    }
    
    .status-stats {
        flex: 1;
    }
    
    .status-name {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: var(--cst-dark);
        margin-bottom: 5px;
    }
    
    .status-detail {
        display: block;
        font-size: 0.85rem;
        color: #666;
    }
    
    /* ===== STATUS BADGES ===== */
    .status-badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        text-align: center;
        min-width: 100px;
    }
    
    .status-badge.pendiente {
        background: rgba(255, 193, 7, 0.1);
        color: #ffc107;
        border: 1px solid rgba(255, 193, 7, 0.3);
    }
    
    .status-badge.entregada {
        background: rgba(40, 167, 69, 0.1);
        color: #28a745;
        border: 1px solid rgba(40, 167, 69, 0.3);
    }
    
    .status-badge.cancelada {
        background: rgba(220, 53, 69, 0.1);
        color: #dc3545;
        border: 1px solid rgba(220, 53, 69, 0.3);
    }
    
    .status-badge.reagendada {
        background: rgba(238, 118, 0, 0.1);
        color: #ee7600;
        border: 1px solid rgba(238, 118, 0, 0.3);
    }
    
    /* ===== NOTICES ===== */
    .notice-card {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
        background: #f8f9fa;
        border-radius: var(--radius-md);
        border: 1px solid #e1e5eb;
    }
    
    .notice-card.warning {
        background: #fff3cd;
        border-color: #ffc107;
    }
    
    .notice-icon {
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .notice-content {
        flex: 1;
    }
    
    .notice-content strong {
        display: block;
        margin-bottom: 5px;
        color: var(--cst-dark);
    }
    
    .notice-content p {
        margin: 0 0 10px 0;
        color: #666;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .notice-content p:last-child {
        margin-bottom: 0;
    }
    
    /* ===== MAP INFO SECTION ===== */
    .map-info {
        margin-top: 20px;
    }
    
    .info-card {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
        background: #f0f9ff;
        border-radius: var(--radius-md);
        border: 1px solid rgba(0, 196, 154, 0.2);
    }
    
    .info-icon {
        font-size: 1.2rem;
        color: var(--cst-primary);
    }
    
    .info-content strong {
        display: block;
        margin-bottom: 5px;
        color: var(--cst-dark);
    }
    
    .info-content p {
        margin: 0 0 5px 0;
        color: #666;
        font-size: 0.9rem;
    }
    
    /* Legend items */
    .legend-items {
        display: flex;
        gap: 15px;
        margin: 10px 0;
        flex-wrap: wrap;
    }
    
    .legend-item {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .color-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }
    
    /* ===== LOGO PREVIEW ===== */
    #logo-preview {
        margin-top: 15px;
    }
    
    #logo-preview img {
        max-width: 200px;
        max-height: 200px;
        border: 2px solid var(--cst-primary);
        border-radius: var(--radius-sm);
        padding: 5px;
        background: white;
        box-shadow: var(--shadow-md);
    }
    
    /* ===== HERO LOGO ===== */
    .hero-logo {
        max-width: 80px;
        max-height: 80px;
        object-fit: contain;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
        border-radius: 50%;
        background: white;
        padding: 5px;
        box-shadow: 0 4px 12px rgba(0, 196, 154, 0.4);
        animation: float 3s ease-in-out infinite;
    }
    
    .admin-badge {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 215, 0, 0.2)) !important;
        border-color: gold !important;
    }
    
    .admin-badge .company-icon,
    .admin-badge .company-name {
        color: gold !important;
    }
    
    /* Auto-filled company badge */
    .status-badge.entregada {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 1rem;
        padding: 12px !important;
    }
    
    /* ===== PAYMENT FIELDS ===== */
    #payment-fields .filter-group {
        background: #f9f9f9;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    
    #payment-fields input[type="radio"] {
        width: 18px;
        height: 18px;
        margin: 0;
        cursor: pointer;
        accent-color: #00C49A;
    }
    
    #payment-fields input[type="radio"] + span {
        font-size: 14px;
        color: #444;
        transition: color 0.2s;
    }
    
    #payment-fields input[type="radio"]:checked + span {
        color: #00C49A;
        font-weight: 600;
    }
    
    #payment-fields label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        padding: 8px 0;
        border-radius: 6px;
        transition: background 0.2s;
    }
    
    #payment-fields label:hover {
        background: rgba(0, 196, 154, 0.05);
        padding-left: 10px;
    }
    
    #payment-fields input[type="number"] {
        width: 100%;
        padding: 12px 12px 12px 30px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        box-sizing: border-box;
        transition: all 0.3s;
    }
    
    #payment-fields input[type="number"]:focus {
        border-color: #00C49A;
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.1);
    }
    
    /* ===== RADIO BUTTONS ===== */
    .filter-group input[type="radio"] {
        width: 18px;
        height: 18px;
        margin: 0;
        cursor: pointer;
        accent-color: #00C49A;
    }
    
    .filter-group input[type="radio"] + span {
        font-size: 14px;
        color: #444;
        transition: color 0.2s;
    }
    
    .filter-group input[type="radio"]:checked + span {
        color: #00C49A;
        font-weight: 600;
    }
    
    .filter-group label:has(input[type="radio"]) {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        padding: 8px 0;
        border-radius: 6px;
        transition: background 0.2s;
    }
    
    .filter-group label:has(input[type="radio"]):hover {
        background: rgba(0, 196, 154, 0.05);
        padding-left: 10px;
    }
    
    /* ===== DATE INPUT ===== */
    input[type="date"] {
        min-height: 45px;
        font-family: inherit;
        background-color: white;
        color: #333;
        cursor: pointer;
    }
    
    input[type="date"]::-webkit-calendar-picker-indicator {
        background: transparent;
        padding: 8px;
        cursor: pointer;
        opacity: 0.7;
        width: 20px;
        height: 20px;
    }
    
    input[type="date"]::-webkit-calendar-picker-indicator:hover {
        opacity: 1;
        transform: scale(1.1);
    }
    
    input[type="date"]:not(:disabled) {
        background-color: white;
    }
    
    input[type="date"]:enabled {
        background-color: white;
    }
    
    input[type="date"]::-webkit-datetime-edit {
        padding: 0 5px;
    }
    
    input[type="date"]::-webkit-datetime-edit-fields-wrapper {
        padding: 3px 0;
    }
    
    input[type="date"]::-webkit-datetime-edit-text {
        padding: 0 3px;
    }
    
    ::-webkit-calendar-picker-indicator {
        background-color: rgba(0, 196, 154, 0.1);
        border-radius: 4px;
    }
    
    ::-webkit-calendar-picker-indicator:hover {
        background-color: rgba(0, 196, 154, 0.2);
    }
    
    /* ===== FORM FIELD CONSISTENCY FIXES ===== */

/* Ensure all inputs have consistent height */
.filter-group input,
.filter-group select,
.filter-group textarea {
    width: 100%;
    padding: 12px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    background-color: white !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 44px !important;
}

/* Make textareas consistent but allow resizing */
.filter-group textarea {
    min-height: 44px !important;
    resize: vertical !important;
    padding: 12px !important;
}

/* Fix date input styling */
input[type="date"] {
    width: 100%;
    padding: 12px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    background-color: white !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: normal !important;
    position: relative !important;
}

/* Custom calendar icon */
input[type="date"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2300C49A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 18px !important;
    padding-right: 40px !important;
}

/* Hide default calendar picker but keep it functional */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0 !important;
    position: absolute !important;
    right: 0 !important;
    width: 40px !important;
    height: 100% !important;
    cursor: pointer !important;
    background: transparent !important;
}

/* Firefox support */
input[type="date"]::-moz-calendar-picker-indicator {
    background-color: transparent !important;
    color: #00C49A !important;
    cursor: pointer !important;
}

/* Focus state for all inputs */
.filter-group input:focus,
.filter-group select:focus,
.filter-group textarea:focus,
input[type="date"]:focus {
    outline: none !important;
    border-color: #00C49A !important;
    box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.1) !important;
}

/* Responsive fixes for mobile */
@media (max-width: 768px) {
    .filter-group input,
    .filter-group select,
    .filter-group textarea,
    input[type="date"] {
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 44px !important;
        padding: 12px !important;
    }
    
    /* Adjust calendar icon position for mobile */
    input[type="date"] {
        background-position: right 12px center !important;
        background-size: 18px !important;
        padding-right: 40px !important;
    }
}

/* Disabled/readonly state for office pickup fields */
.office-filled {
    background-color: #f0f7ff !important;
    border-color: #00C49A !important;
    font-weight: 500 !important;
}

.office-filled:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.1) !important;
}

/* Responsive fixes for date input */
@media (max-width: 768px) {
    input[type="date"] {
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 44px !important;
    }
    
    .filter-group input,
    .filter-group select,
    .filter-group textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 44px !important;
    }
}


/* ===== FIX DATE INPUT CALENDAR ICON ===== */

/* Override theme styles for date input */
.logisco-body input[type="date"],
input[type="date"].filter-group input,
#fecha_de_entrega {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2300C49A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 18px !important;
    background-color: white !important;
    padding-right: 40px !important;
    padding: 12px 40px 12px 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Make sure the default calendar picker is hidden but functional */
.logisco-body input[type="date"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0 !important;
    position: absolute !important;
    right: 0 !important;
    width: 40px !important;
    height: 100% !important;
    cursor: pointer !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}

/* Firefox support */
.logisco-body input[type="date"]::-moz-calendar-picker-indicator,
input[type="date"]::-moz-calendar-picker-indicator {
    opacity: 0 !important;
    position: absolute !important;
    right: 0 !important;
    width: 40px !important;
    height: 100% !important;
    cursor: pointer !important;
    background: transparent !important;
}

/* Ensure the input has relative positioning for absolute positioned indicator */
.logisco-body input[type="date"],
input[type="date"] {
    position: relative !important;
}

/* Make sure all inputs have consistent height */
.filter-group input,
.filter-group select,
.filter-group textarea,
.logisco-body input[type="date"] {
    min-height: 45px !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

/* Fix for the date input to match other inputs */
.logisco-body input[type="date"] {
    border: 2px solid #e1e5eb !important;
    border-radius: 8px !important;
    background-color: white !important;
    color: #333 !important;
}

/* Focus state for date input */
.logisco-body input[type="date"]:focus {
    border-color: #00C49A !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.1) !important;
}

/* Hover state for date input */
.logisco-body input[type="date"]:hover {
    border-color: #00C49A !important;
}

/* Make sure the calendar icon is visible on all browsers */
.logisco-body input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

/* Alternative: Add a pseudo-element for the icon (works on all browsers) */
.logisco-body input[type="date"] {
    position: relative;
}

.logisco-body input[type="date"]::after {
    content: "📅";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: #00C49A;
    z-index: 1;
}

/* ===== ULTIMATE FIX FOR DATE INPUT ICON - MUST BE AT THE VERY END ===== */

/* Override user agent styles completely */
input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2300C49A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 18px !important;
    background-color: white !important;
    padding: 12px 40px 12px 12px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    min-height: 45px !important;
    height: auto !important;
    line-height: normal !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    margin: 0 !important;
}

/* Force override for user agent styles */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0 !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
    background: transparent !important;
    color: transparent !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Firefox */
input[type="date"]::-moz-calendar-picker-indicator {
    opacity: 0 !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
    background: transparent !important;
    z-index: 10 !important;
}

/* Remove default border from user agent */
input[type="date"] {
    border-width: 2px !important;
    border-style: solid !important;
    border-color: #e0e0e0 !important;
}

/* Focus state */
input[type="date"]:focus {
    border-color: #00C49A !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.1) !important;
}

/* Hover state */
input[type="date"]:hover {
    border-color: #00C49A !important;
}

#comentarios,
.filter-group input[name="comentarios"],
input#comentarios {
    padding: 12px 15px !important;
    min-height: 53px !important;
    height: auto !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-family: inherit !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background-color: white !important;
    width: 100% !important;
}
    
    /* ===== AGGRESSIVE MENU HIDE ===== */
    .CST--menu,
    .CST--menu *,
    div[class*="CST--menu"],
    div[id*="CST--menu"],
    header[class*="CST--menu"],
    nav[class*="CST--menu"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
        pointer-events: none !important;
        z-index: -9999 !important;
    }
    
    /* Reset body and html margins */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: visible !important;
    }
    
    /* Ensure main content uses full width */
    .data-table-dashboard {
        margin: 0 auto !important;
        padding: 20px !important;
        width: 100% !important;
        max-width: 1400px !important;
    }
    
    /* Fix quick actions grid - keep 5 columns */
    .quick-actions-grid {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 15px !important;
        margin: -20px auto 30px !important;
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    
    /* Quick Action Button - Square with rounded corners (card style) */
    .quick-action {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 16px 12px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        border-radius: 12px !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        background: white !important;
        color: #333 !important;
    }
    
    /* Hover effect for all buttons */
    .quick-action:hover {
        transform: translateY(-3px) !important;
    }
    
    .quick-action .action-text {
        font-size: 13px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        font-weight: 600 !important;
    }
    
    .quick-action .action-icon {
        font-size: 20px !important;
        margin: 0 !important;
    }
    
    .quick-action .action-arrow {
        font-size: 12px !important;
        margin-left: 4px !important;
        opacity: 0.7 !important;
        transition: transform 0.3s ease !important;
    }
    
    .quick-action:hover .action-arrow {
        transform: translateX(4px) !important;
        opacity: 1 !important;
    }
    
    /* Primary Action (Dashboard) - Filled */
    .quick-action.primary-action {
        background: linear-gradient(135deg, #00C49A, #00a87e) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 6px 15px rgba(0, 196, 154, 0.3) !important;
    }
    
    .quick-action.primary-action:hover {
        background: linear-gradient(135deg, #00a87e, #008c66) !important;
        box-shadow: 0 10px 25px rgba(0, 196, 154, 0.5) !important;
    }
    
    /* Secondary Action (regular) - Outlined */
    .quick-action.secondary-action {
        background: white !important;
        color: #333 !important;
        border: 2px solid #e0e0e0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    }
    
    .quick-action.secondary-action:hover {
        border-color: #00C49A !important;
        color: #00C49A !important;
        box-shadow: 0 8px 20px rgba(0, 196, 154, 0.2) !important;
    }
    
    /* Admin Action - Outlined with purple glow (NOT FILLED) */
    .quick-action.admin-action {
        background: transparent !important;
        color: #667eea !important;
        border: 2px solid #667eea !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2) !important;
    }
    
    .quick-action.admin-action:hover {
        background: rgba(102, 126, 234, 0.05) !important;
        border-color: #764ba2 !important;
        color: #764ba2 !important;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5) !important;
        transform: translateY(-3px) !important;
    }
    
    /* Admin Action icon and arrow - match the purple theme */
    .quick-action.admin-action .action-icon,
    .quick-action.admin-action .action-arrow {
        color: #667eea !important;
    }
    
    .quick-action.admin-action:hover .action-icon,
    .quick-action.admin-action:hover .action-arrow {
        color: #764ba2 !important;
    }
    
    /* Container glow effect */
    .quick-actions-grid::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, rgba(0, 196, 154, 0.1) 0%, transparent 70%);
        pointer-events: none;
        z-index: -1;
        filter: blur(30px);
    }
    
    /* Responsive */
    @media (max-width: 1100px) {
        .quick-actions-grid {
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 12px !important;
        }
    }
    
    @media (max-width: 900px) {
        .quick-actions-grid {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 12px !important;
        }
    }
    
    @media (max-width: 700px) {
        .quick-actions-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 10px !important;
        }
    }
    
    @media (max-width: 500px) {
        .quick-actions-grid {
            grid-template-columns: 1fr !important;
        }
        
        .quick-action {
            justify-content: flex-start !important;
            padding: 16px 16px !important;
            font-size: 14px !important;
        }
        
        .quick-action .action-text {
            font-size: 13px !important;
        }
    }
    
/* ===== COLLAPSIBLE SIDE MENU ===== */
.side-menu-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}

.side-menu-toggle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cst-primary), #00a87e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 196, 154, 0.4);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.side-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 196, 154, 0.6);
}

.toggle-icon {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.side-menu.open {
    left: 0;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, var(--cst-primary), #00a87e);
    color: white;
    flex-shrink: 0;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.menu-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 2px solid #f0f2f5;
    flex-shrink: 0;
}

.menu-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cst-primary), var(--cst-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.menu-user-details {
    flex: 1;
    min-width: 0;
}

.menu-user-name {
    display: block;
    font-weight: 600;
    color: var(--cst-dark);
    margin-bottom: 4px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-user-company {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-user-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.menu-user-badge.admin {
    background: #667eea;
    color: white;
}

.menu-section {
    padding: 15px 0;
    border-bottom: 2px solid #f0f2f5;
    flex-shrink: 0;
}

.menu-section-title {
    padding: 0 20px 10px 20px;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.menu-items-container {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 12px 20px !important;
    color: #555 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.menu-item:hover {
    background: #f8f9fa !important;
    border-left-color: var(--cst-primary) !important;
    color: var(--cst-dark) !important;
}

.menu-item.primary {
    background: linear-gradient(135deg, rgba(0, 196, 154, 0.1), rgba(241, 241, 211, 0.1)) !important;
    border-left-color: var(--cst-primary) !important;
    font-weight: 600 !important;
}

.menu-item.primary:hover {
    background: linear-gradient(135deg, rgba(0, 196, 154, 0.2), rgba(241, 241, 211, 0.2)) !important;
}

.menu-item.admin {
    border-left-color: #667eea !important;
}

.menu-item.admin:hover {
    background: rgba(102, 126, 234, 0.1) !important;
    border-left-color: #764ba2 !important;
}

.menu-item-icon {
    width: 24px;
    text-align: center;
    font-size: 18px !important;
    flex-shrink: 0;
}

.menu-item-text {
    flex: 1;
    font-size: 14px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-company-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: #f8f9fa;
    margin: 0 15px 15px 15px;
    border-radius: 12px;
    border: 1px solid #e1e5eb;
    flex-shrink: 0;
}

.menu-company-icon {
    font-size: 20px;
    color: var(--cst-primary);
    flex-shrink: 0;
}

.menu-company-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--cst-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-footer {
    margin-top: auto;
    padding: 20px;
    border-top: 2px solid #f0f2f5;
    flex-shrink: 0;
}

.menu-logout {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 12px 20px !important;
    background: #f8f9fa !important;
    color: #dc3545 !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e1e5eb !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.menu-logout:hover {
    background: #dc3545 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}

.menu-logout-icon {
    font-size: 18px !important;
    flex-shrink: 0;
}

.menu-logout-text {
    flex: 1;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(3px);
}

.menu-overlay.active {
    display: block;
}

/* Adjust main content to account for menu */
.data-table-dashboard {
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .side-menu-container {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .side-menu {
        width: 280px;
    }
    
    .side-menu-container {
        top: 10px;
        left: 10px;
    }
    
    .side-menu-toggle {
        width: 45px;
        height: 45px;
    }
    
    .toggle-icon {
        font-size: 20px;
    }
}

/* Hide the existing quick actions grid if you want to remove duplicates */
.quick-actions-grid {
    display: none !important;
}

/* ===== INVENTORY STYLES ===== */
.inventory-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.inventory-badge {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    border-left: 3px solid #2196F3;
}

.inventory-badge small {
    font-size: 0.7rem;
    color: #666;
    font-weight: normal;
}

.inventory-quantity {
    background: #fff3cd;
    color: #856404;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    display: inline-block;
    width: fit-content;
}

.no-inventory {
    color: #999;
    font-style: italic;
    font-size: 0.8rem;
}

#inventory-product-details {
    animation: slideDown 0.3s ease;
}

#inventory-product-details p {
    margin: 5px 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlight for selected inventory */
.inventory-selected {
    border: 2px solid #00C49A;
    background: #f0f9f0;
}

/* Tooltip for inventory info */
.inventory-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.inventory-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.inventory-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ===== MENU ICON IMAGES ===== */
.menu-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.menu-item:hover .menu-icon-img {
    transform: scale(1.1);
}

.menu-item-icon-fallback {
    width: 24px;
    text-align: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Menu item styling with icons */
.menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 12px 20px !important;
    color: #555 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.menu-item:hover {
    background: #f8f9fa !important;
    border-left-color: var(--cst-primary) !important;
    color: var(--cst-dark) !important;
}

.menu-item.primary {
    background: linear-gradient(135deg, rgba(0, 196, 154, 0.1), rgba(241, 241, 211, 0.1)) !important;
    border-left-color: var(--cst-primary) !important;
    font-weight: 600 !important;
}

.menu-item.primary:hover {
    background: linear-gradient(135deg, rgba(0, 196, 154, 0.2), rgba(241, 241, 211, 0.2)) !important;
}

.menu-item.admin {
    border-left-color: #667eea !important;
}

.menu-item.admin:hover {
    background: rgba(102, 126, 234, 0.1) !important;
    border-left-color: #764ba2 !important;
}

.menu-item-text {
    flex: 1;
    font-size: 14px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Menu logo image */
.menu-logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.fallback-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fallback-logo .logo-icon {
    font-size: 24px;
}

.fallback-logo .logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===== LOGOUT ICON STYLES ===== */
.logout-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logout-button:hover .logout-icon-img {
    transform: translateX(3px);
}

.logout-menu-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.menu-logout:hover .logout-menu-icon {
    transform: translateX(3px);
}

.button-icon-fallback,
.menu-logout-icon-fallback {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.logout-button:hover .button-icon-fallback {
    transform: translateX(3px);
}

.menu-logout:hover .menu-logout-icon-fallback {
    transform: translateX(3px);
}