.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* основные стили */
.title-page {
    margin: 0;
    padding: 0;
    font-size: 32px;
    line-height: 44px;
    margin-bottom: 60px;
    font-weight: 500;
}


/* tab */

.tabs {
    max-width: 100%;
}

/* Скрываем радиокнопки */
.tabs input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Стили навигации */
.tab-nav {
    display: inline-flex;
    padding: 8px;
    align-items: center;
    border-radius: 50px;
    background: #FFF;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

/* Стили кнопок вкладок */

.tab-button {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background: #ffffff;
    color: #000;
    transition: all 0.3s ease;
}

/* Активное состояние для первой вкладки */
#tab-delivery:checked~.tab-nav label[for="tab-delivery"],
#tab-payment:checked~.tab-nav label[for="tab-payment"] {
    background: #003596;
    color: #FFF;
}

/* Стили контента */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Показываем контент активной вкладки */
#tab-delivery:checked~#delivery-content,
#tab-payment:checked~#payment-content {
    display: block;
}

/* Улучшение доступности для скринридеров */
.tab-button:focus {
    outline: 2px solid #003596;
    outline-offset: 2px;
}

/* Состояния hover */
.tab-button:hover {
    background: #f5f5f5;
}

#tab-delivery:checked~.tab-nav label[for="tab-delivery"]:hover,
#tab-payment:checked~.tab-nav label[for="tab-payment"]:hover {
    background: #002a7a;
}


/* acordion */
.accordion {
    margin-bottom: 10px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background-color: #FFF;
}

.accordion__line {
    padding: 15px;
    cursor: pointer;
    color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-line__text {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    color: #2f2f2f;
}

.accordion__icon {
    color: #000000;
    transition: transform 0.2s;
}

details[open] .accordion__icon {
    transform: rotate(90deg);
}

.accordion-content {
    padding: 24px 15px 0 15px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.accordion-content_wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-content__title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}

.accordion-content__text {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
}

.accordion-content__subline {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
}

.instructions {
    background: #eef5ff;
    border-radius: 10px;
    padding: 20px;
    font-size: 14px;
    color: #003596;
}

.accordion__link {
    color: #003596;
}

@media (max-width: 768px) {
    .title-page {
        margin: 0;
        padding: 0;
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 60px;
        font-weight: 600;
    }

    .accordion-line__text {
        margin: 0;
        padding: 0;
        font-size: 18px;
        font-weight: 500;
    }

    .tab-button {
        font-size: 18px;
        text-align: center;
    }

}