/* Загальний стиль для таблиці */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

/* Стилі для заголовків та клітинок */
.responsive-table th, .responsive-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.responsive-table th {
    background-color: #f4f4f4;
    text-transform: uppercase; /* Верхній регістр для заголовків */
}

.responsive-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Ширина для кожної колонки */
.responsive-table th:nth-child(1),
.responsive-table td:nth-child(1) {
    width: 70%; /* Перша колонка займає 70% */
}

.responsive-table th:nth-child(2),
.responsive-table td:nth-child(2),
.responsive-table th:nth-child(3),
.responsive-table td:nth-child(3) {
    width: 15%; /* Друга і третя по 15% */
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
    .responsive-table {
        border: 0;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 10px;
    }

    .responsive-table td {
        display: block;
        text-align: right;
        font-size: 14px;
        border: none;
        padding: 5px;
        position: relative;
    }

    .responsive-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        color: #333;
    }

    .responsive-table td:last-child {
        border-bottom: 1px solid #ddd;
    }
}
