/* --- VAN EEDEN FREIGHT BILLING GREY THEME --- */

:root {
    /* Brand Colors - Grey Scale */
    --color-primary: #4b5563;       /* Gray 600 */
    --color-primary-dark: #374151;  /* Gray 700 */
    --color-secondary: #1f2937;     /* Gray 800 for Headers */
    --color-accent: #6b7280;        /* Gray 500 for Highlights */
    
    /* Status Colors */
    --color-danger: #ef4444;
    --color-danger-hover: #dc2626;
    --color-success: #10b981;
    --color-info: #3b82f6;
    
    /* Surface & Text */
    --color-bg-app: #f9fafb;        /* Gray 50 Page BG */
    --color-bg-card: #ffffff;       /* White Card BG */
    --color-text-main: #111827;     /* Near Black */
    --color-text-muted: #6b7280;    /* Gray Text */
    
    /* Dimensions */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease-in-out;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg-app);
    color: var(--color-text-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    margin: 0;
}

.bg-sidebar { 
    background-color: var(--color-secondary); 
    background-image: linear-gradient(180deg, var(--color-secondary) 0%, #111827 100%);
}

.bg-sidebar-active { 
    background-color: rgba(255, 255, 255, 0.1); 
    border-left: 4px solid #ffffff; 
    font-weight: 600;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.modern-input { 
    width: 100%; 
    border: 1px solid #d1d5db; 
    border-radius: var(--radius-md); 
    padding: 0.75rem 1rem; 
    font-size: 0.95rem;
    color: var(--color-text-main); 
    outline: none; 
    transition: var(--transition); 
    background-color: white;
}

.modern-input:focus { 
    border-color: var(--color-primary); 
    box-shadow: 0 0 0 3px rgba(75, 85, 99, 0.15);
}

.card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

/* Sidebar Overrides */
aside nav a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

aside nav a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

aside nav a i {
    width: 1.25rem;
    margin-right: 0.75rem;
}

/* Header */
header {
    height: 4rem;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    justify-content: space-between;
}

/* Toast (simple version) */
#toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}

.toast {
    background: white;
    border-left: 4px solid var(--color-primary);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
