/* ==========================================================================
   NECB 2020 Prescriptive Compliance Tool - Organized CSS
   Version: 1.0.0
   Last Updated: 2024-12-29
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Variables)
   ========================================================================== */
:root {
    /* Primary Color Scheme */
    --primary-color: #3498db;
    --primary-dark: #2c3e50;
    --primary-light: #ebf5fb;
    
    /* Success/Compliant Colors */
    --success-color: #27ae60;
    --success-light: #d1e7dd;
    --success-dark: #0f5132;
    --success-gradient: linear-gradient(135deg, #27ae60, #2ecc71);
    
    /* Warning Colors */
    --warning-color: #f39c12;
    --warning-light: #fff3cd;
    --warning-dark: #664d03;
    --warning-gradient: linear-gradient(135deg, #f39c12, #f1c40f);
    
    /* Danger/Non-compliant Colors */
    --danger-color: #e74c3c;
    --danger-light: #f8d7da;
    --danger-dark: #842029;
    --danger-gradient: linear-gradient(135deg, #e74c3c, #c0392b);
    
    /* Neutral Colors */
    --neutral-light: #f8f9fa;
    --neutral-mid: #e9ecef;
    --neutral-dark: #495057;
    --neutral-border: #dee2e6;
    
    /* Chart Colors */
    --compliant-zone: rgba(39, 174, 96, 0.1);
    --warning-zone: rgba(243, 156, 18, 0.1);
    --danger-zone: rgba(231, 76, 60, 0.1);
    
    /* Cyan Colors (For Below-Grade Components) */
    --cyan-primary: #00bcd4;
    --cyan-secondary: #008b8b;
    --cyan-light: #80deea;
    --cyan-bright: #00ffff;
    
    /* Spacing */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 4px 20px rgba(52, 152, 219, 0.15);
}

/* ==========================================================================
   2. BASE & LAYOUT STYLES
   ========================================================================== */
body {
    background-color: var(--neutral-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-dark);
}

/* ==========================================================================
   3. NAVIGATION STYLES
   ========================================================================== */
/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand {
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.9;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navigation Links */
.nav-link {
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    margin: 0 2px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation Buttons */
.btn-outline-light {
    border-width: 2px;
    transition: all 0.2s ease;
}

.btn-outline-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.btn-light {
    background: white;
    color: #198754;
    border: none;
    transition: all 0.2s ease;
}

.btn-light:hover {
    background: #f8f9fa;
    color: #146c43;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   4. COMPONENT STYLES
   ========================================================================== */

/* 4.1 Section Headers */
.section-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 12px 20px;
    margin: 25px 0;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success-color), var(--primary-color), var(--warning-color));
}

.section-header:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 4.2 Cards */
.prescriptive-card {
    border: 2px solid var(--neutral-border);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    background: white;
    overflow: hidden;
}

.prescriptive-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.prescriptive-card .card-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border: none;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.prescriptive-card .card-header:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.prescriptive-card .card-body {
    background: linear-gradient(to bottom, #ffffff 0%, var(--neutral-light) 100%);
    padding: 1.5rem;
}

/* 4.3 Compliance Table */
.compliance-table {
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0;
}

.compliance-table th {
    background: linear-gradient(to bottom, var(--primary-light) 0%, #ffffff 100%);
    color: var(--primary-dark);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    padding: 12px;
}

.compliance-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--neutral-border);
}

.compliance-table tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
    transform: scale(1.002);
    transition: all 0.2s ease;
}

.compliance-table tr:last-child td {
    border-bottom: none;
}

/* 4.4 Status Badges */
.status-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
}

.status-compliant { 
    background: var(--success-gradient);
    color: white; 
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3);
}

.status-compliant:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.4);
}

.status-noncompliant { 
    background: var(--danger-gradient);
    color: white; 
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

.status-warning { 
    background: var(--warning-gradient);
    color: white; 
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.3);
}

.status-pending {
    background: linear-gradient(135deg, var(--neutral-mid) 0%, #adb5bd 100%);
    color: var(--neutral-dark);
}

/* 4.5 Form Controls */
.prescriptive-form {
    background: white;
    border: 1px solid var(--neutral-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.input-group-text {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
    font-weight: 500;
}

/* 4.6 Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-success {
    background: var(--success-gradient);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* 4.7 AI Response Area */
.ai-response {
    background: linear-gradient(to bottom, white 0%, var(--neutral-light) 100%);
    border-left: 3px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.ai-response h5, .ai-response h6 {
    color: var(--primary-dark);
    font-weight: 600;
}

.ai-response-content {
    background: white;
    border: 1px solid var(--neutral-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-top: 15px;
    max-height: 500px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 4.8 Reports */
.prescriptive-report {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.report-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
    margin-bottom: 25px;
    position: relative;
}

.report-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--success-color);
}

.report-header h4 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.report-header h5 {
    color: var(--neutral-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.report-header h6 {
    color: var(--primary-color);
    font-weight: 500;
}

.section-card {
    border: 1px solid var(--neutral-border);
    border-radius: var(--border-radius-md);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-card:hover {
    box-shadow: var(--shadow-md);
}

.section-card .card-header {
    background: linear-gradient(to right, var(--primary-light) 0%, white 100%);
    border-bottom: 1px solid var(--neutral-border);
    padding: 15px 20px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* 4.9 Progress Bars */
.progress {
    height: 12px;
    border-radius: 6px;
    background: var(--neutral-mid);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-bar {
    background: var(--success-gradient);
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* 4.10 Chart/Visual Components */
.visual-chart-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin: 20px 0;
}

.compliance-zone {
    border-radius: var(--border-radius-sm);
    opacity: 0.15;
}

.compliant-zone {
    background: var(--success-color);
}

.warning-zone {
    background: var(--warning-color);
}

.danger-zone {
    background: var(--danger-color);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: var(--border-radius-sm);
}

.compliant-color {
    background: var(--success-gradient);
}

.warning-color {
    background: var(--warning-gradient);
}

.danger-color {
    background: var(--danger-gradient);
}

/* 4.11 Calculator Section */
.calculator-section {
    background: linear-gradient(to bottom, white 0%, var(--neutral-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid var(--neutral-border);
}

.calculator-section .section-header {
    margin: -20px -20px 20px -20px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.calculation-result {
    background: linear-gradient(135deg, white 0%, var(--neutral-light) 100%);
    border: 1px solid var(--neutral-border);
    border-radius: var(--border-radius-md);
    padding: 15px;
}

.formula-display {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--primary-dark);
    border: 1px dashed var(--primary-color);
    background: linear-gradient(to right, var(--neutral-light), white);
    border-radius: var(--border-radius-sm);
    padding: 10px;
    margin: 10px 0;
}

/* ==========================================================================
   5. BELOW-GRADE COMPONENTS SPECIFIC STYLES
   ========================================================================== */

/* Below-Grade Section */
.below-grade-section {
    border-left: 4px solid #ffc107;
    padding-left: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.below-grade-badge {
    background-color: #ffc107 !important;
    color: #000 !important;
    font-size: 0.75em;
    padding: 2px 6px;
    margin-left: 5px;
}

/* Below-Grade Inputs */
.below-grade-input.is-valid {
    border-color: #198754;
    background-color: rgba(25, 135, 84, 0.05);
}

.below-grade-input.is-invalid {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

/* Tooltip for below-grade requirements */
.below-grade-tooltip {
    cursor: help;
    border-bottom: 1px dashed #666;
    color: #666;
    font-size: 0.9em;
}

.below-grade-tooltip:hover {
    color: #0d6efd;
}

/* Embedded System Warning */
.embedded-system-warning {
    border-left: 4px solid #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
    padding: 8px;
    margin: 5px 0;
    border-radius: 0 4px 4px 0;
}

/* Insulation Depth Indicator */
.insulation-depth-indicator {
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, 
        #28a745 0%, 
        #28a745 70%, 
        #ffc107 70%, 
        #ffc107 90%, 
        #dc3545 90%, 
        #dc3545 100%);
    border-radius: 4px;
    position: relative;
    margin: 10px 0;
    border: 1px solid #dee2e6;
}

.depth-marker {
    position: absolute;
    top: -5px;
    width: 2px;
    height: 30px;
    background: #000;
    transform: translateX(-50%);
}

.depth-label {
    position: absolute;
    top: 25px;
    font-size: 0.8em;
    white-space: nowrap;
    transform: translateX(-50%);
    font-weight: bold;
    color: #000;
}

/* Below-Grade Input Groups */
.input-group .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* Table 3.2.3.1 Styling */
#belowGradeTable table {
    font-size: 0.85rem;
}

#belowGradeTable table th {
    background-color: #f8f9fa !important;
    font-weight: 600;
}

#belowGradeTable table td {
    vertical-align: middle;
}

.table-warning td {
    background-color: rgba(255, 193, 7, 0.1) !important;
    font-weight: 600;
}

/* ==========================================================================
   6. UTILITY & HELPER CLASSES
   ========================================================================== */

/* 6.1 Clickable Elements */
.clickable-link {
    text-decoration: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.clickable-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 6.2 Transitions */
.transition-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 6.3 Input Display */
.input-display {
    background: white;
    padding: 12px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--neutral-border);
    font-weight: 500;
}

.input-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 5px;
}

/* 6.4 Limit Badges & Info */
.limit-badge {
    background-color: #e7f1ff;
    border-color: #cfe2ff;
    color: #084298;
    font-size: 0.85rem;
    white-space: nowrap;
    min-width: 140px;
}

.limit-value {
    font-weight: normal !important;
    color: #495057;
}

.limit-badge.compliant {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.limit-badge.non-compliant {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

/* 6.5 Limit Display Options */
.limit-display {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    margin-top: 0.25rem;
}

.limit-display i {
    font-size: 0.8rem;
}

.limit-number {
    color: #0d6efd;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.limit-info {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 0;
}

.limit-info i {
    opacity: 0.8;
    font-size: 0.8rem;
}

.info-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.info-lines > * {
    line-height: 1.3;
}

/* 6.6 Placeholder Styles */
.placeholder-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.placeholder-suggestion {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.placeholder-suggestion.suggested {
    color: #198754;
    font-weight: 500;
}

input::placeholder {
    color: #6c757d;
    opacity: 0.7;
    font-style: italic;
}

input.is-valid::placeholder {
    color: #198754;
}

.input-group:has(input:placeholder-shown) {
    border-color: #dee2e6;
}

.input-group:has(input:not(:placeholder-shown)) {
    border-color: #198754;
}

/* 6.7 Zone Update Animation */
.zone-updated {
    animation: highlight 1s ease;
}

@keyframes highlight {
    0% { background-color: #e3f2fd; }
    100% { background-color: transparent; }
}

/* 6.8 Cyan Color Classes (For Below-Grade) */
.text-cyan {
    color: var(--cyan-primary) !important;
}

.text-cyan-bright {
    color: var(--cyan-bright) !important;
}

.text-cyan-dark {
    color: var(--cyan-secondary) !important;
}

.text-cyan-light {
    color: var(--cyan-light) !important;
}

.limit-info.text-cyan {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    margin-top: 4px;
}

.limit-info.text-cyan i {
    color: var(--cyan-primary);
    font-size: 0.85rem;
    opacity: 0.9;
}

.limit-info.text-cyan span {
    color: var(--cyan-primary);
    font-weight: normal;
}

.limit-info.text-cyan-bg {
    color: var(--cyan-primary);
    background-color: rgba(0, 188, 212, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
    border-left: 3px solid var(--cyan-primary);
}

.limit-info.text-cyan:hover {
    color: var(--cyan-secondary);
}

.limit-info.text-cyan:hover i,
.limit-info.text-cyan:hover span {
    color: var(--cyan-secondary);
}

.limit-info.text-cyan.compliant {
    color: var(--cyan-primary);
    background-color: rgba(0, 188, 212, 0.1);
}

.limit-info.text-cyan.non-compliant {
    color: #ff5252;
    background-color: rgba(255, 82, 82, 0.1);
}

/* ==========================================================================
   7. RESPONSIVE DESIGN
   ========================================================================== */

/* 7.1 Mobile (Tablet and below) */
@media (max-width: 768px) {
    /* General */
    .prescriptive-card {
        margin-bottom: 15px;
    }
    
    .compliance-table {
        font-size: 0.85rem;
    }
    
    .section-header {
        font-size: 0.95rem;
        padding: 10px 15px;
        margin: 15px 0;
    }
    
    .ai-response-content {
        max-height: 300px;
        font-size: 0.85rem;
        padding: 15px;
    }
    
    .prescriptive-form {
        padding: 15px;
    }
    
    .btn-primary, .btn-success {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    /* Below-Grade Components */
    .below-grade-section .row > div {
        margin-bottom: 15px;
    }
    
    .insulation-depth-indicator {
        height: 15px;
    }
    
    .depth-label {
        font-size: 0.7em;
    }
    
    /* Limit Badges */
    .limit-badge {
        min-width: 120px;
        font-size: 0.8rem;
    }
}

/* 7.2 Small Mobile */
@media (max-width: 576px) {
    :root {
        --border-radius-sm: 3px;
        --border-radius-md: 6px;
        --border-radius-lg: 10px;
    }
    
    .prescriptive-report {
        padding: 15px;
    }
    
    .compliance-table th,
    .compliance-table td {
        padding: 8px;
    }
    
    .section-card .card-header {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* 7.3 Navigation Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, #198754 0%, #146c43 100%);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .nav-link {
        margin: 2px 0;
        padding: 0.75rem 1rem !important;
    }
    
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .d-flex.gap-2 {
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }
}

/* ==========================================================================
   8. ANIMATIONS & EFFECTS
   ========================================================================== */

/* 8.1 AI Status Indicator */
#aiStatusIcon {
    font-size: 0.6rem;
    margin-right: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

#backendStatus.connected #aiStatusIcon {
    color: #20c997;
    animation: none;
}

#backendStatus.disconnected #aiStatusIcon {
    color: #ffc107;
}

#backendStatus.error #aiStatusIcon {
    color: #dc3545;
    animation: none;
}

/* Add to your existing CSS */
.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: none;
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

.btn-outline-warning {
    border-color: #f39c12;
    color: #f39c12;
}

.btn-outline-warning:hover {
    background-color: #f39c12;
    color: white;
}

.srr-display {
    border-left: 4px solid #6c757d;
    border-radius: 0.25rem;
    transition: border-color 0.3s ease;
}

#srrProgressBar {
    transition: width 0.5s ease, background-color 0.5s ease;
}

/* Color coding for SRR */
.srr-compliant {
    border-left-color: #27ae60 !important;
}

.srr-warning {
    border-left-color: #f39c12 !important;
}

.srr-danger {
    border-left-color: #e74c3c !important;
}

/* Force consistent button styling */
.necb-utility-buttons .btn {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    transition: all 0.2s ease;
}

.necb-utility-buttons .btn:hover {
    border: 1px solid white !important;
    transform: translateY(-2px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #navExcelTemplateBtn .me-1 {
        margin-right: 0 !important;
    }
    
    #navExcelTemplateBtn span {
        display: none;
    }
    
    #navExcelTemplateBtn::after {
        content: "Template";
        font-size: 0.7rem;
        display: block;
        position: absolute;
        bottom: -18px;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }
}


/* ==========================================================================
   9. THEME NOTES
   ========================================================================== */

/* 
To change the color scheme, simply update CSS custom properties in section 1:

Example: Change to a purple theme:
--primary-color: #8e44ad;
--primary-dark: #2c3e50;
--primary-light: #f4ecf7;

Example: Change to a teal theme:
--primary-color: #1abc9c;
--primary-dark: #16a085;
--primary-light: #e8f8f5;
*/