/* Brand Variables and Styling */
:root {
    /* Brand Colors - Update these based on your brand guide */
    --brand-primary: #1e3a8a;        /* Deep blue */
    --brand-secondary: #3b82f6;      /* Bright blue */
    --brand-accent: #10b981;         /* Green accent */
    --brand-warning: #f59e0b;        /* Orange */
    --brand-danger: #ef4444;         /* Red */
    --brand-success: #10b981;        /* Green */
    
    /* Brand Gradients */
    --brand-gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --brand-gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    
    /* Brand Typography */
    --brand-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --brand-font-secondary: 'Source Sans Pro', sans-serif;
    
    /* Brand Spacing */
    --brand-border-radius: 12px;
    --brand-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --brand-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Override existing CSS variables with brand colors */
    --primary-color: var(--brand-primary);
    --primary-dark: var(--brand-primary);
    --secondary-color: var(--brand-secondary);
    --success-color: var(--brand-success);
    --warning-color: var(--brand-warning);
    --danger-color: var(--brand-danger);
    --info-color: var(--brand-secondary);
    
    --border-radius: var(--brand-border-radius);
    --shadow: var(--brand-shadow);
    --shadow-lg: var(--brand-shadow-lg);
}

/* Brand Logo Styling */
.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-logo-large {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-logo-small {
    height: 24px;
    width: auto;
    object-fit: contain;
}

/* Header Branding */
.header {
    background: var(--brand-gradient-primary);
    color: white;
    border: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
}

.logo-text {
    background: linear-gradient(45deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Brand Button Styling */
.btn {
    border-radius: var(--brand-border-radius);
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: var(--brand-shadow);
}

.btn-primary {
    background: var(--brand-gradient-primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--brand-shadow-lg);
    opacity: 0.9;
}

.btn-secondary {
    background: var(--brand-secondary);
    border: none;
    color: white;
}

.btn-success {
    background: var(--brand-success);
}

/* Brand Cards */
.card {
    border-radius: var(--brand-border-radius);
    box-shadow: var(--brand-shadow);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.card-header {
    background: var(--brand-gradient-secondary);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: none;
}

/* Brand Forms */
.form-input, .form-select, .form-textarea {
    border-radius: var(--brand-border-radius);
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--brand-secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Brand Navigation */
.tab-button {
    border-radius: var(--brand-border-radius);
    font-weight: 500;
    transition: all 0.2s ease;
}

.tab-button.active {
    background: var(--brand-secondary);
    color: white;
    box-shadow: var(--brand-shadow);
}

.tab-button:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--brand-primary);
}

/* Brand Loading States */
.spinner {
    border-color: var(--brand-secondary);
    border-top-color: transparent;
}

/* Brand Status Badges */
.priority-badge {
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 4px 8px;
}

.priority-high {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.priority-low {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

/* Brand Modal Enhancements */
.modal {
    border-radius: var(--brand-border-radius);
    box-shadow: var(--brand-shadow-lg);
    overflow: hidden;
}

.modal-header {
    background: var(--brand-gradient-primary);
    color: white;
    border-bottom: none;
}

/* Brand Statistics Cards */
.stat-card {
    background: var(--brand-gradient-secondary);
    color: white;
    border-radius: var(--brand-border-radius);
    box-shadow: var(--brand-shadow);
}

/* Brand Footer */
.footer {
    background: var(--brand-primary);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Brand Logo */
@media (max-width: 768px) {
    .brand-logo {
        height: 32px;
    }
    
    .logo {
        font-size: 1.25rem;
        gap: 8px;
    }
}

/* Print Styles */
@media print {
    .header {
        background: white !important;
        color: #333 !important;
    }
    
    .brand-logo {
        filter: none !important;
    }
}