:root {
    --nav-primary: #2563eb;
    --nav-success: #16a34a;
    --nav-warning: #ca8a04;
    --nav-danger: #dc2626;
    --nav-bg: #f8fafc;
    --nav-card-bg: rgba(255, 255, 255, 0.8);
    --nav-text: #1e293b;
    --nav-text-muted: #64748b;
    --nav-radius: 12px;
}

.nav-app-container {
    padding: 20px;
    background: var(--nav-bg);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--nav-text);
}

.nav-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.nav-dashboard-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.nav-stat-card {
    background: var(--nav-card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: var(--nav-radius);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.nav-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--nav-text-muted);
}

.nav-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 4px;
}

.nav-table-wrapper {
    background: #fff;
    border-radius: var(--nav-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

th {
    background: #f8fafc;
    font-weight: 600;
}

.nav-tag {
    padding: 4px 8px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-wc-en-attente-val { background: #dcfce7; color: #166534; }
.status-wc-stock-reserve { background: #fef9c3; color: #854d0e; }
.status-wc-a-livrer { background: #dbeafe; color: #1e40af; }

.nav-btn-primary {
    background: var(--nav-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.nav-delivery-card {
    background: white;
    padding: 16px;
    border-radius: var(--nav-radius);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--nav-primary);
}

.nav-row-alert {
    background: #fef2f2;
}

/* Mobile First Adjustments */
@media (max-width: 640px) {
    .nav-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .nav-delivery-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
