﻿.analytics-container {
    direction: rtl;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2b2d42;
}

.analytics-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    transition: all 0.3s ease;
}

    .analytics-card:hover {
        box-shadow: 0 14px 35px rgba(13, 110, 253, 0.08);
    }

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eef2f6;
}

    .section-header .stTitle3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: #0d6efd;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.summary-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

    .summary-item:hover {
        transform: translateY(-3px);
        background: #ffffff;
        border-color: rgba(13, 110, 253, 0.2);
    }

.summary-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 600;
}

.summary-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
}

.modern-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #eef2f6;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.925rem;
}

    .modern-table th {
        background-color: #0d6efd;
        color: #fff;
        padding: 12px 16px;
        font-weight: 600;
        border: none;
    }

    .modern-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
        color: #334155;
    }

    .modern-table tbody tr:nth-child(even) {
        background-color: #f8fafc;
    }

    .modern-table tbody tr:hover {
        background-color: #eef5ff;
    }

