/* Reports module (Hesabat) — card grid, cover thumbnails, PDF.js viewer. */

.reports__cover {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 6px 6px 0 0;
}

.reports__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reports__cover--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a2c645;
    font-size: 48px;
    background: #eef4e2;
}

.reports__card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.reports__card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.reports__year-badge {
    display: inline-block;
    align-self: flex-start;
    background: #a2c645;
    color: #3c510e;
    font-weight: 700;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.reports__card-title {
    font-size: 18px;
    margin-bottom: 14px;
}

.reports__card-title a {
    color: inherit;
}

.reports__downloads {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.reports__download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 8px 16px;
}

.reports__filesize {
    opacity: 0.75;
    font-size: 12px;
}

.reports__summary {
    margin-bottom: 20px;
}

.reports__viewer-wrap {
    width: 100%;
    height: 85vh;
    min-height: 520px;
    margin-top: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.reports__viewer {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .reports__viewer-wrap {
        height: 70vh;
        min-height: 420px;
    }
}
