﻿/* ============================================ */
/* PROFESSIONAL ENTERPRISE DASHBOARD - FULLY RESPONSIVE */
/* ============================================ */

/* Clean, Professional Container */
.dashboard-container {
    background: linear-gradient(135deg, #f8fafd 0%, #f0f5ff 100%);
    min-height: 100vh;
    padding: 1rem 0.5rem;
}

@media (min-width: 768px) {
    .dashboard-container {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1200px) {
    .dashboard-container {
        padding: 2rem 2.5rem;
    }
}

/* Professional Header with Glass Morphism */
.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(7, 36, 71, 0.06), 0 2px 4px rgba(7, 36, 71, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .dashboard-header {
        border-radius: 20px;
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1200px) {
    .dashboard-header {
        border-radius: 24px;
        padding: 2rem 2.5rem;
        margin-bottom: 2.5rem;
        box-shadow: 0 8px 32px rgba(7, 36, 71, 0.08), 0 2px 8px rgba(7, 36, 71, 0.04);
    }
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(49, 198, 255, 0.1) 0%, rgba(79, 224, 190, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .dashboard-header::before {
        width: 200px;
        height: 200px;
    }
}

@media (min-width: 1200px) {
    .dashboard-header::before {
        width: 300px;
        height: 300px;
    }
}

.dashboard-title {
    font-family: 'Bruta Pro', 'Segoe UI', Arial, sans-serif;
    font-weight: 800;
    color: #072447;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #072447 0%, #0592CA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.3;
}

@media (min-width: 576px) {
    .dashboard-title {
        font-size: 1.75rem;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .dashboard-title {
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    .dashboard-title {
        font-size: 2.5rem;
    }
}

.dashboard-subtitle {
    color: #60789c;
    font-weight: 400;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .dashboard-subtitle {
        text-align: left;
        font-size: 1rem;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .dashboard-subtitle {
        font-size: 1.1rem;
    }
}

/* Responsive Header Layout */
.dashboard-header-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 576px) {
    .dashboard-header-inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .dashboard-header-inner {
        align-items: center;
    }
}

.header-content {
    flex: 1;
}

/* Enhanced View Toggle - Responsive */
.view-toggle-enterprise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    background: rgba(248, 250, 253, 0.8);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(7, 36, 71, 0.05), 0 1px 2px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(5, 146, 202, 0.1);
    justify-content: center;
}

@media (min-width: 576px) {
    .view-toggle-enterprise {
        border-radius: 14px;
        gap: 0.375rem;
    }
}

@media (min-width: 768px) {
    .view-toggle-enterprise {
        border-radius: 16px;
        gap: 0.5rem;
    }
}

.view-toggle-enterprise .btn {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    color: #60789c;
    background: transparent;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    min-width: auto;
    flex: 1;
    justify-content: center;
}

@media (min-width: 576px) {
    .view-toggle-enterprise .btn {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
        gap: 0.375rem;
        flex: none;
    }
}

@media (min-width: 768px) {
    .view-toggle-enterprise .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
}

@media (min-width: 1200px) {
    .view-toggle-enterprise .btn {
        padding: 0.75rem 1.5rem;
    }
}

.view-toggle-enterprise .btn i {
    font-size: 0.875rem;
}

@media (min-width: 576px) {
    .view-toggle-enterprise .btn i {
        font-size: 1rem;
    }
}

.view-toggle-enterprise .btn:hover {
    color: #0592CA;
    background: rgba(5, 146, 202, 0.08);
}

.view-toggle-enterprise .btn.active {
    background: white;
    color: #0592CA;
    box-shadow: 0 3px 8px rgba(5, 146, 202, 0.12), 0 1px 2px rgba(5, 146, 202, 0.1);
}

@media (min-width: 768px) {
    .view-toggle-enterprise .btn.active {
        box-shadow: 0 4px 12px rgba(5, 146, 202, 0.15), 0 1px 2px rgba(5, 146, 202, 0.1);
    }
}

/* Professional Metric Cards - Responsive Grid */
.metric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .metric-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1200px) {
    .metric-grid {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.metric-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 3px 12px rgba(7, 36, 71, 0.06), 0 1px 3px rgba(7, 36, 71, 0.04);
    border: 1px solid rgba(5, 146, 202, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    .metric-card {
        border-radius: 18px;
        padding: 1.5rem;
        min-height: 160px;
    }
}

@media (min-width: 768px) {
    .metric-card {
        border-radius: 20px;
        padding: 2rem;
        min-height: 180px;
    }
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #31c6ff 0%, #4fe0be 100%);
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(7, 36, 71, 0.1), 0 3px 6px rgba(7, 36, 71, 0.06);
}

@media (min-width: 768px) {
    .metric-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(7, 36, 71, 0.12), 0 4px 8px rgba(7, 36, 71, 0.06);
    }
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(49, 198, 255, 0.1) 0%, rgba(79, 224, 190, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #0592CA;
    font-size: 1.25rem;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .metric-icon {
        width: 52px;
        height: 52px;
        font-size: 1.375rem;
    }
}

@media (min-width: 768px) {
    .metric-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

.metric-value {
    font-family: 'Bruta Pro', 'Segoe UI', Arial, sans-serif;
    font-weight: 800;
    color: #072447;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

@media (min-width: 576px) {
    .metric-value {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .metric-value {
        font-size: 2.25rem;
    }
}

@media (min-width: 1200px) {
    .metric-value {
        font-size: 2.5rem;
    }
}

.metric-label {
    color: #60789c;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

@media (min-width: 576px) {
    .metric-label {
        font-size: 0.85rem;
        letter-spacing: 0.4px;
    }
}

@media (min-width: 768px) {
    .metric-label {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
}

.metric-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: auto;
}

@media (min-width: 576px) {
    .metric-change {
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .metric-change {
        font-size: 0.9rem;
    }
}

.metric-change.positive {
    color: #4fe0be;
}

.metric-change.negative {
    color: #ff6b6b;
}

/* Professional Filter Bar - Responsive */
.filter-bar-enterprise {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 12px rgba(7, 36, 71, 0.05), 0 1px 3px rgba(7, 36, 71, 0.04);
    border: 1px solid rgba(5, 146, 202, 0.08);
}

@media (min-width: 768px) {
    .filter-bar-enterprise {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 18px;
    }
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .filter-grid {
        grid-template-columns: 2fr repeat(3, 1fr) repeat(2, 0.8fr);
        gap: 1rem;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .filter-group:last-child {
        grid-column: span 4;
    }
}

@media (min-width: 1200px) {
    .filter-group:last-child {
        grid-column: span 2;
        flex-direction: row;
        align-items: flex-end;
    }
}

.filter-label {
    font-weight: 600;
    color: #60789c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

@media (min-width: 576px) {
    .filter-label {
        font-size: 0.8rem;
    }
}

.filter-input {
    background: #f8fafd;
    border: 1px solid rgba(5, 146, 202, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    font-size: 0.9rem;
    color: #072447;
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 576px) {
    .filter-input {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

.filter-input:focus {
    outline: none;
    border-color: #31c6ff;
    box-shadow: 0 0 0 3px rgba(49, 198, 255, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .filter-actions {
        justify-content: flex-end;
        margin-top: 1.5rem;
    }
}

.filter-btn {
    flex: 1;
}

@media (min-width: 576px) {
    .filter-btn {
        flex: none;
    }
}

/* Enhanced Report Cards Grid - Responsive */
.reports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .reports-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1200px) {
    .reports-grid {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.report-card-enterprise {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(7, 36, 71, 0.06), 0 1px 4px rgba(7, 36, 71, 0.04);
    border: 1px solid rgba(5, 146, 202, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 768px) {
    .report-card-enterprise {
        border-radius: 20px;
    }
}

.report-card-enterprise:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(7, 36, 71, 0.1), 0 3px 8px rgba(7, 36, 71, 0.06);
}

@media (min-width: 768px) {
    .report-card-enterprise:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(7, 36, 71, 0.12), 0 4px 16px rgba(7, 36, 71, 0.08);
    }
}

.report-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

@media (min-width: 576px) {
    .report-image {
        height: 200px;
    }
}

@media (min-width: 768px) {
    .report-image {
        height: 220px;
    }
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.report-card-enterprise:hover .report-image img {
    transform: scale(1.05);
}

.report-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.report-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    .report-content {
        padding: 1.5rem;
    }
}

.report-title {
    font-family: 'Bruta Pro', 'Segoe UI', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #072447;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

@media (min-width: 576px) {
    .report-title {
        font-size: 1.2rem;
    }
}

.report-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.report-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #072447;
}

@media (min-width: 576px) {
    .report-meta-item {
        font-size: 0.9rem;
    }
}

.report-meta-item i {
    color: #0592CA;
    width: 16px;
    font-size: 0.9rem;
}

.report-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.report-action-btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.85rem;
}

@media (min-width: 576px) {
    .report-action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Responsive Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination-enterprise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 576px) {
    .pagination-enterprise {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }
}

.pagination-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    background: white;
    border: 1px solid rgba(5, 146, 202, 0.1);
    color: #60789c;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 576px) {
    .pagination-btn {
        padding: 0.625rem 0.875rem;
        min-width: 44px;
        height: 44px;
    }
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(5, 146, 202, 0.08);
    color: #0592CA;
    border-color: rgba(5, 146, 202, 0.2);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #31c6ff 0%, #4fe0be 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(49, 198, 255, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Analytics Charts - Responsive */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .charts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

.chart-card {
    background: white;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(7, 36, 71, 0.06), 0 1px 4px rgba(7, 36, 71, 0.04);
    border: 1px solid rgba(5, 146, 202, 0.1);
    height: 100%;
}

@media (min-width: 576px) {
    .chart-card {
        padding: 1.75rem;
        border-radius: 20px;
    }
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-title {
    font-family: 'Bruta Pro', 'Segoe UI', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #072447;
}

@media (min-width: 576px) {
    .chart-title {
        font-size: 1.375rem;
    }
}

.chart-actions {
    display: flex;
    gap: 0.5rem;
}

.chart-toggle-btn {
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(5, 146, 202, 0.08);
    color: #0592CA;
    border: 1px solid rgba(5, 146, 202, 0.15);
    transition: all 0.3s ease;
}

@media (min-width: 576px) {
    .chart-toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

.chart-toggle-btn:hover,
.chart-toggle-btn.active {
    background: #0592CA;
    color: white;
    border-color: #0592CA;
}

.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}

@media (min-width: 576px) {
    .chart-container {
        height: 280px;
    }
}

@media (min-width: 768px) {
    .chart-container {
        height: 300px;
    }
}

/* AI Chat Section - Responsive */
.ai-chat-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(7, 36, 71, 0.08), 0 1px 4px rgba(7, 36, 71, 0.04);
    border: 1px solid rgba(5, 146, 202, 0.1);
    margin-top: 2rem;
}

.ai-chat-header {
    background: linear-gradient(135deg, #072447 0%, #0a2d5a 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 576px) {
    .ai-chat-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 2rem;
    }
}

.ai-chat-title {
    font-family: 'Bruta Pro', 'Segoe UI', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.ai-chat-body {
    padding: 1.5rem;
}

@media (min-width: 576px) {
    .ai-chat-body {
        padding: 2rem;
    }
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafd;
    border-radius: 12px;
    border: 1px solid rgba(5, 146, 202, 0.1);
}

@media (min-width: 768px) {
    .chat-messages {
        height: 250px;
    }
}

.chat-input-group {
    display: flex;
    gap: 0.75rem;
}

.chat-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(5, 146, 202, 0.15);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .chat-input:focus {
        outline: none;
        border-color: #31c6ff;
        box-shadow: 0 0 0 3px rgba(49, 198, 255, 0.1);
    }

.chat-send-btn {
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #31c6ff 0%, #4fe0be 100%);
    color: #072447;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

    .chat-send-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(49, 198, 255, 0.25);
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(7, 36, 71, 0.06), 0 1px 4px rgba(7, 36, 71, 0.04);
    border: 1px solid rgba(5, 146, 202, 0.1);
}

@media (min-width: 768px) {
    .empty-state {
        padding: 4rem 2rem;
    }
}

.empty-state-icon {
    font-size: 3rem;
    color: rgba(5, 146, 202, 0.2);
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-family: 'Bruta Pro', 'Segoe UI', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #072447;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .empty-state-title {
        font-size: 2rem;
    }
}

.empty-state-text {
    color: #60789c;
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .empty-state-text {
        font-size: 1.1rem;
    }
}

.empty-state-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Loading States */
.dashboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(5, 146, 202, 0.1);
    border-top-color: #31c6ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #60789c;
    font-size: 1.1rem;
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes for Responsive Text */
.text-responsive {
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.heading-responsive {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.subheading-responsive {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* Print Styles */
@media print {
    .dashboard-header,
    .filter-bar-enterprise,
    .view-toggle-enterprise,
    .ai-chat-card {
        display: none;
    }

    .metric-card,
    .chart-card,
    .report-card-enterprise {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .metric-card,
    .chart-card,
    .report-card-enterprise,
    .ai-chat-card {
        border: 2px solid #072447;
    }

    .btn,
    .filter-input,
    .chat-input {
        border: 2px solid #072447;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .metric-card:hover,
    .report-card-enterprise:hover {
        transform: none;
    }
}
