/* REPORTS EXPORTS PRODUCTION V1 */

.reports-shell .admin-content {
    background:
        radial-gradient(circle at 90% 0%, rgba(199,128,40,.12), transparent 30%),
        #f6f7fb;
}

.reports-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
    padding: 30px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 10%, rgba(199,128,40,.20), transparent 30%),
        linear-gradient(135deg, #071f3b, #082e55);
    color: #fff;
    box-shadow: 0 24px 70px rgba(7,31,59,.16);
}

.reports-hero h2 {
    margin: 6px 0 12px;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #fff;
}

.reports-hero p {
    max-width: 760px;
    color: rgba(255,255,255,.76);
    line-height: 1.6;
}

.reports-meter-card {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    background: rgba(255,255,255,.10);
    padding: 24px;
    display: grid;
    align-content: center;
    backdrop-filter: blur(10px);
}

.reports-meter-card span {
    font-size: 58px;
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 900;
    color: #f1c376;
}

.reports-meter-card strong {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    margin-top: 6px;
}

.reports-meter-card small {
    color: rgba(255,255,255,.72);
    margin-top: 16px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.report-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(15,23,42,.05);
    display: grid;
    gap: 16px;
}

.report-card.is-available {
    border-left: 5px solid #17a34a;
}

.report-card.is-missing {
    border-left: 5px solid #cbd5e1;
}

.report-card header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.report-card header span {
    display: block;
    color: #c78028;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 7px;
}

.report-card h2 {
    color: #071f3b;
    margin: 0;
    font-size: 23px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.report-card header strong {
    min-width: 44px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #071f3b;
    background: #fff4df;
    font-weight: 950;
}

.report-card p {
    color: #607189;
    line-height: 1.5;
    margin: 0;
}

.report-tables {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.report-tables small {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 9px;
    background: #f5efe6;
    color: #8a5a1f;
    font-weight: 800;
}

.report-tables.muted small {
    background: #f1f5f9;
    color: #64748b;
}

.report-card a {
    min-height: 44px;
    display: grid;
    place-items: center;
    background: #071f3b;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 950;
    text-transform: uppercase;
    font-size: 12px;
}

.report-card a.disabled {
    background: #e2e8f0;
    color: #64748b;
}

.database-summary-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(15,23,42,.05);
}

.database-summary-card header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15,23,42,.08);
    margin-bottom: 18px;
}

.database-summary-card h2 {
    margin: 4px 0 8px;
    color: #071f3b;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.database-table-wrap {
    overflow-x: auto;
}

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

.database-table th,
.database-table td {
    text-align: left;
    border-bottom: 1px solid rgba(15,23,42,.08);
    padding: 12px 10px;
    color: #17233a;
}

.database-table th {
    color: #071f3b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 1300px) {
    .reports-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .reports-hero,
    .reports-grid {
        grid-template-columns: 1fr;
    }

    .database-summary-card header {
        display: grid;
    }
}
