#contato,
#inscricao,
.payment-card {
    scroll-margin-top: 7rem;
}

.payment-disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
}

.payment-disclosure > summary::-webkit-details-marker {
    display: none;
}

.payment-arrow {
    flex-shrink: 0;
    transition: transform .2s;
}

.payment-disclosure[open] .payment-arrow {
    transform: rotate(180deg);
}

.payment-qr {
    width: min(100%, 260px);
    margin-inline: auto;
    padding: .75rem;
    border-radius: .75rem;
    background: white;
}

.payment-qr svg {
    display: block;
    width: 100%;
    height: auto;
}

.payment-code {
    overflow-wrap: anywhere;
    word-break: break-all;
    resize: vertical;
}

#forma_pagamento option {
    background: #2b2c41;
    color: white;
}

.payment-disclosure :is(summary, button, a, textarea):focus-visible,
#registration-form :is(input, select, textarea, button):focus-visible {
    outline: 3px solid #e8c574;
    outline-offset: 4px;
}

.payment-card-pix :is(summary, button, textarea):focus-visible {
    outline-color: #2b2c41;
}

.registration-feedback[data-state="success"] {
    color: #e8c574;
    border-color: #d4af37;
}

.registration-feedback[data-state="error"] {
    color: #fecaca;
    border-color: #f87171;
}

.registration-feedback[hidden],
.registration-next-step[hidden],
.payment-qr[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .payment-arrow {
        transition: none;
    }
}
