.reports-grid {
    display: grid;
    grid-template-columns: 570px 570px;
    grid-template-rows: 190px 190px;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 60px;
    justify-content: center;
}

.report-card {
    width: 570px;
    height: 190px;
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kdo-position {
    grid-column: 1;
    grid-row: 1;
}

.rtn-position {
    grid-column: 2;
    grid-row: 1;
}

.kpi-position {
    grid-column: 1;
    grid-row: 2;
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.report-content {
    display: flex;
    height: 100%;
}

.report-info {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.report-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.beta-tag {
    color: #007AFF;
    font-size: 14px;
    font-weight: normal;
}

.report-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.report-activetilldate-ok {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.report-activetilldate-expsoon {
    color: #800020;
    font-size: 14px;
    font-weight : bold;
    margin-bottom: 20px;
}

.report-btn {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 8px;
    width: 108px;
    height: 36px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

    .report-btn:hover {
        background-color: #333;
        color: white;
        text-decoration: none;
    }

.report-image {
    width: 296px;
    height: 174px;
    margin: 8px 8px 8px 0;
    border-radius: 8px;
    overflow: hidden;
}

.report-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}


/* Адаптивная верстка */
@media (max-width: 1200px) {

    .reports-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        justify-items: center;
    }

    .kdo-position, .rtn-position, .kpi-position {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 450px) {

    .report-selection-text {
        font-size: 14px;
    }

    .report-card {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 160px;
    }

    .report-content {
        flex-direction: column;
    }

    .report-image {
        width: 100%;
        height: 120px;
        margin: 0;
        border-radius: 0 0 8px 8px;
    }

    .report-info {
        padding: 16px;
    }

    .report-title {
        font-size: 18px;
    }

    .report-subtitle {
        font-size: 13px;
    }

    .report-btn {
        width: 100px;
        height: 32px;
        font-size: 13px;
    }
}
