/* =========================================================================
   COMMERCIAL OIL & GAS TRADE TRACKER THEME
   Premium enterprise-grade styling for energy sector professionals
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Premium Blue Palette */
    --primary-navy: #0F1B3C;           /* Deep navy for headers */
    --primary-blue: #1E3A8A;          /* Professional blue */
    --secondary-blue: #2563EB;        /* Bright blue for accents */
    --light-blue: #3B82F6;            /* Interactive elements */
    --sky-blue: #60A5FA;              /* Hover states */
    --pale-blue: #DBEAFE;             /* Light backgrounds */
    --ice-blue: #EFF6FF;              /* Subtle backgrounds */
    
    /* Oil & Gas Industry Colors */
    --oil-gold: #F59E0B;              /* Premium gold */
    --gas-orange: #EA580C;            /* Energy orange */
    --pipeline-steel: #64748B;        /* Steel gray */
    --drill-bronze: #A16207;          /* Bronze accents */
    --energy-green: #10B981;          /* Success/positive */
    --danger-red: #EF4444;            /* Alerts/negative */
    
    /* Premium Grays */
    --charcoal: #1F2937;              /* Dark text */
    --slate: #475569;                 /* Medium text */
    --silver: #94A3B8;                /* Light text */
    --platinum: #F8FAFC;              /* Background */
    --pearl: #F1F5F9;                 /* Cards */
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'JetBrains Mono', monospace;
    
    /* Premium Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(15, 27, 60, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(15, 27, 60, 0.1), 0 1px 2px 0 rgba(15, 27, 60, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 27, 60, 0.1), 0 2px 4px -1px rgba(15, 27, 60, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 27, 60, 0.1), 0 4px 6px -2px rgba(15, 27, 60, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 27, 60, 0.1), 0 10px 10px -5px rgba(15, 27, 60, 0.04);
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-blue) 0%, var(--light-blue) 100%);
    --gradient-gold: linear-gradient(135deg, var(--oil-gold) 0%, var(--drill-bronze) 100%);
    --gradient-background: linear-gradient(135deg, var(--ice-blue) 0%, #FFFFFF 50%, var(--pale-blue) 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF 0%, var(--pearl) 100%);
}

/* =========================================================================
   GLOBAL STYLES
   ========================================================================= */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    background: var(--gradient-background);
    background-attachment: fixed;
    color: var(--charcoal);
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
}

/* Add subtle oil rig pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.02) 0%, transparent 25%);
    background-size: 400px 400px;
    pointer-events: none;
    z-index: -1;
}

/* =========================================================================
   COMMERCIAL HEADER
   ========================================================================= */

.commercial-header {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.commercial-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="oil-pattern" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23oil-pattern)"/></svg>');
    opacity: 0.3;
}

.commercial-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem;
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.brand-text h1 {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.025em;
}

.brand-text .tagline {
    color: var(--sky-blue);
    font-size: 1rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.header-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--oil-gold);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--sky-blue);
    margin-top: 0.25rem;
}

/* =========================================================================
   PREMIUM NAVIGATION
   ========================================================================= */

.premium-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1.25rem 2rem;
    color: var(--slate);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav-link i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: var(--primary-blue);
}

.nav-link:hover {
    color: var(--primary-blue);
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--pale-blue) 100%);
    border-bottom-color: var(--oil-gold);
}

.nav-link.active {
    color: var(--primary-navy);
    background: var(--pale-blue);
    border-bottom-color: var(--secondary-blue);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.update-timestamp {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid var(--pale-blue);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.update-timestamp:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-blue);
}

.timestamp-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.timestamp-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.timestamp-label {
    font-size: 0.75rem;
    color: var(--slate);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#lastUpdateTime {
    font-size: 0.875rem;
    color: var(--primary-navy);
    font-weight: 600;
    line-height: 1.2;
}

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

/* =========================================================================
   COMMERCIAL CARDS & CONTAINERS
   ========================================================================= */

.commercial-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem;
}

.commercial-card {
    background: var(--gradient-card);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.commercial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.commercial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-blue);
}

.commercial-card:hover::before {
    opacity: 1;
}

.card-header {
    padding: 2rem 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(239, 246, 255, 0.4) 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-title i {
    color: var(--oil-gold);
    font-size: 1.25em;
}

.card-subtitle {
    color: var(--slate);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.card-body {
    padding: 2.5rem;
}

/* =========================================================================
   PREMIUM METRICS DASHBOARD
   ========================================================================= */

.metrics-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.metric-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

.metric-card.warning::before { background: var(--oil-gold); }
.metric-card.danger::before { background: var(--danger-red); }
.metric-card.success::before { background: var(--energy-green); }

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-blue);
}

.metric-card:hover::before {
    width: 8px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-md);
}

.metric-icon.warning { background: var(--gradient-gold); }
.metric-icon.danger { background: linear-gradient(135deg, var(--danger-red) 0%, #DC2626 100%); }
.metric-icon.success { background: linear-gradient(135deg, var(--energy-green) 0%, #059669 100%); }

.metric-content {
    flex: 1;
}

.metric-value {
    font-family: var(--font-primary);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: var(--slate);
    font-weight: 600;
    margin-bottom: 1rem;
}

.metric-change {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
}

.metric-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--energy-green);
}

.metric-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-red);
}

.metric-change.neutral {
    background: rgba(245, 158, 11, 0.1);
    color: var(--oil-gold);
}

/* =========================================================================
   PREMIUM DATA VISUALIZATIONS
   ========================================================================= */

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.chart-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.chart-card:hover {
    border-color: var(--light-blue);
    box-shadow: var(--shadow-xl);
}

.chart-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--ice-blue);
}

.chart-title {
    font-family: var(--font-primary);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chart-title i {
    color: var(--oil-gold);
}

.chart-subtitle {
    color: var(--slate);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.chart-canvas-container {
    position: relative;
    height: 400px;
    margin-bottom: 1rem;
}

/* =========================================================================
   PREMIUM TABLES
   ========================================================================= */

.premium-table-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-table thead {
    background: var(--gradient-primary);
}

.premium-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.premium-table th:last-child {
    border-right: none;
}

.premium-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--pale-blue);
    color: var(--charcoal);
    font-size: 0.875rem;
    vertical-align: middle;
}

.premium-table tbody tr {
    transition: all 0.3s ease;
}

.premium-table tbody tr:hover {
    background: var(--ice-blue);
    transform: scale(1.01);
}

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

/* =========================================================================
   PREMIUM MODALS
   ========================================================================= */

.premium-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 27, 60, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 2rem;
}

.premium-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(37, 99, 235, 0.2);
    position: relative;
}

.premium-modal-header {
    padding: 2.5rem 3rem 1.5rem;
    background: var(--gradient-card);
    border-bottom: 1px solid var(--pale-blue);
}

.premium-modal-title {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.premium-modal-title i {
    color: var(--oil-gold);
}

.premium-modal-body {
    padding: 2.5rem 3rem;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgba(15, 27, 60, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--slate);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--danger-red);
    color: white;
    transform: scale(1.1);
}

/* =========================================================================
   PREMIUM BUTTONS & ACTIONS
   ========================================================================= */

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--pale-blue);
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =========================================================================
   STATUS INDICATORS & ALERTS
   ========================================================================= */

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-indicator.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--energy-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-indicator.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--oil-gold);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-indicator.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(234, 88, 12, 0.1) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-content h4 {
    font-weight: 600;
    color: var(--drill-bronze);
    margin: 0 0 0.5rem 0;
}

.alert-content p {
    color: var(--slate);
    margin: 0;
    font-size: 0.875rem;
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */

@media (max-width: 1024px) {
    .commercial-container {
        padding: 2rem;
    }
    
    .nav-container {
        padding: 0 2rem;
    }
    
    .chart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .commercial-header .container {
        padding: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .brand-text h1 {
        font-size: 1.75rem;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-left-color: var(--oil-gold);
        border-bottom-color: transparent;
    }
    
    .metrics-dashboard {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .commercial-container {
        padding: 1rem;
    }
    
    .card-header,
    .card-body {
        padding: 1.5rem;
    }
    
    .premium-modal {
        padding: 1rem;
    }
    
    .premium-modal-header,
    .premium-modal-body {
        padding: 1.5rem;
    }
}

/* =========================================================================
   LOADING & ANIMATION STATES
   ========================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.4s ease forwards;
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* =========================================================================
   UTILITY CLASSES
   ========================================================================= */

.text-primary-navy { color: var(--primary-navy); }
.text-primary-blue { color: var(--primary-blue); }
.text-oil-gold { color: var(--oil-gold); }
.text-energy-green { color: var(--energy-green); }
.text-danger-red { color: var(--danger-red); }

.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-secondary { background: var(--gradient-secondary); }
.bg-gradient-gold { background: var(--gradient-gold); }

.shadow-premium { box-shadow: var(--shadow-xl); }
.border-premium { border: 1px solid rgba(37, 99, 235, 0.2); }

.font-primary { font-family: var(--font-primary); }
.font-secondary { font-family: var(--font-secondary); }

.rounded-premium { border-radius: 20px; }
.rounded-card { border-radius: 16px; }
.rounded-pill { border-radius: 25px; }

/* =========================================================================
   COMMERCIAL MODAL COMPONENTS
   ========================================================================= */

.commercial-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(37, 99, 235, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.commercial-modal-header {
    padding: 2.5rem 3rem 1.5rem;
    background: var(--gradient-card);
    border-bottom: 1px solid var(--pale-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.commercial-modal-title {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.commercial-modal-body {
    padding: 2.5rem 3rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.commercial-modal-footer {
    padding: 1.5rem 3rem 2rem;
    background: var(--gradient-card);
    border-top: 1px solid var(--pale-blue);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.commercial-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgba(15, 27, 60, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--slate);
    cursor: pointer;
    transition: all 0.3s ease;
}

.commercial-close:hover {
    background: var(--danger-red);
    color: white;
    transform: scale(1.1);
}