/* obyavlyay-platega-v3.8.7 */

.payment-method-grid {
    display: grid;
    gap: 12px;
}

.payment-method-choice {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 15px 16px;
    border: 1px solid rgba(30, 31, 40, .12);
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.payment-method-choice:hover {
    transform: translateY(-1px);
    border-color: rgba(61, 75, 196, .35);
}

.payment-method-choice:has(input:checked) {
    border-color: #5967d8;
    box-shadow: 0 0 0 3px rgba(89, 103, 216, .11);
}

.payment-method-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method-symbol {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    flex: none;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(145deg, #4960d4, #6a55c7);
}

.payment-method-symbol.telegram-symbol {
    background: linear-gradient(145deg, #2aabee, #1888c7);
}

.payment-method-symbol.sbp-symbol {
    background: linear-gradient(145deg, #5869dd, #8f54be);
}

.payment-method-choice strong,
.payment-method-choice small {
    display: block;
}

.payment-method-choice small {
    margin-top: 4px;
    color: var(--muted, #737482);
    line-height: 1.45;
}

.payment-method-choice em {
    padding: 6px 9px;
    border-radius: 999px;
    background: #f2f3f8;
    color: #565968;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.payment-method-help {
    display: none;
    padding: 13px 15px;
    border-radius: 15px;
    background: #f6f7fb;
    color: #626474;
    font-size: 13px;
    line-height: 1.55;
}

.payment-method-help.is-visible {
    display: block;
}

.platega-payment-page {
    position: relative;
}

.platega-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 22px;
    align-items: start;
}

.platega-payment-main,
.platega-payment-summary {
    border-radius: 24px;
}

.platega-payment-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.platega-payment-logo {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    color: #fff;
    font-weight: 900;
    background:
        linear-gradient(145deg, #5668dc, #9652b9);
    box-shadow: 0 12px 30px rgba(88, 92, 205, .22);
}

.platega-description-card,
.platega-status-card {
    padding: 17px;
    margin-bottom: 16px;
    border-radius: 17px;
    background: #f7f7fb;
    border: 1px solid rgba(30, 31, 40, .08);
}

.platega-description-card span,
.platega-status-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted, #737482);
    font-size: 12px;
}

.platega-description-card strong {
    display: block;
    line-height: 1.55;
}

.platega-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.platega-status-card strong {
    font-size: 14px;
}

.platega-status-pending {
    color: #a3671d;
}

.platega-status-confirmed {
    color: #218553;
}

.platega-status-canceled,
.platega-status-error {
    color: #b54848;
}

.platega-payment-actions {
    display: grid;
    gap: 10px;
}

.platega-payment-actions form {
    margin: 0;
}

.platega-payment-actions .button {
    width: 100%;
}

.platega-provider-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding: 13px;
    border-radius: 15px;
    background: #f3f5fb;
    color: #626474;
    font-size: 12px;
    line-height: 1.5;
}

.platega-error {
    margin-bottom: 15px;
}

.order-purchase-details {
    display: block;
    margin-top: 4px;
    color: var(--muted, #737482);
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .platega-payment-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .payment-method-choice {
        grid-template-columns: auto 1fr;
    }

    .payment-method-choice em {
        grid-column: 2;
        justify-self: start;
    }

    .platega-status-card {
        align-items: flex-start;
        flex-direction: column;
    }
}
