﻿.quarter-reports-card {
    overflow: hidden;
}

.reports-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.reports-summary-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e3eaf2;
    border-radius: 16px;
}

.reports-summary-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 91, 172, 0.1);
    color: #005bac;
    font-size: 21px;
}

.reports-summary-item strong {
    display: block;
    margin-bottom: 4px;
    color: #183153;
    font-size: 23px;
    font-weight: 800;
}

.reports-summary-item div > span {
    color: #667085;
    font-size: 13px;
}

.quarter-reports-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.report-year-section {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 18px;
}

.report-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #005bac, #003f7d);
    color: #fff;
}

.report-year-title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.report-year-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 20px;
}

.report-year-title span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.report-year-title h3 {
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
}

.report-year-count {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
}

.report-table-wrapper {
    overflow-x: auto;
}

.quarter-reports-table {
    width: 100%;
    min-width: 750px;
    border-collapse: collapse;
}

    .quarter-reports-table th {
        padding: 15px 18px;
        background: #f8fafc;
        border-bottom: 1px solid #e1e8f0;
        color: #344054;
        font-size: 13px;
        font-weight: 800;
        text-align: right;
    }

        .quarter-reports-table th:not(:first-child) {
            text-align: center;
        }

    .quarter-reports-table td {
        padding: 16px 18px;
        border-bottom: 1px solid #edf1f5;
        color: #344054;
        vertical-align: middle;
    }

    .quarter-reports-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .quarter-reports-table tbody tr {
        transition: background-color 0.2s ease;
    }

        .quarter-reports-table tbody tr:hover {
            background: #f8fbff;
        }

.quarter-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quarter-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255, 193, 7, 0.15);
    color: #9c6800;
    font-size: 17px;
}

.quarter-title strong {
    display: block;
    margin-bottom: 4px;
    color: #183153;
    font-size: 14px;
    font-weight: 800;
}

.quarter-title div > span {
    display: block;
    color: #667085;
    font-size: 12px;
    direction: ltr;
    text-align: right;
}

.report-action-cell {
    text-align: center;
}

.report-link {
    min-width: 145px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #d6e2ef;
    border-radius: 10px;
    background: #fff;
    color: #005bac;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .report-link:hover {
        color: #fff;
        border-color: #005bac;
        background: #005bac;
        box-shadow: 0 8px 20px rgba(0, 91, 172, 0.18);
        transform: translateY(-2px);
    }

.english-report-link {
    color: #344054;
}

    .english-report-link:hover {
        color: #fff;
        border-color: #344054;
        background: #344054;
    }

@media (max-width: 767px) {
    .reports-summary {
        grid-template-columns: 1fr;
    }

    .report-year-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-year-count {
        align-self: flex-start;
    }
}
