/* Seletor de forma de pagamento (compartilhado: inscrição + financeiro) */

.hot-pagamento-seletor-raiz {
    width: 100%;
}

.hot-pagamento-abas-raiz {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.hot-pagamento-abas {
    width: 100%;
}

.hot-pagamento-abas-lista {
    --active-tab-left: 4px;
    --active-tab-top: 4px;
    --active-tab-width: 0px;
    --active-tab-height: 36px;

    position: relative;
    z-index: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
    background: #e5e6e7;
    color: rgba(108, 117, 125, 0.72);
}

.hot-pagamento-abas-indicador {
    position: absolute;
    top: var(--active-tab-top);
    left: var(--active-tab-left);
    z-index: 0;
    width: var(--active-tab-width);
    height: var(--active-tab-height);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition:
        top 200ms ease-in-out,
        left 200ms ease-in-out,
        width 200ms ease-in-out,
        height 200ms ease-in-out;
    pointer-events: none;
}

.hot-pagamento-aba {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 36px;
    padding: 7px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: rgba(108, 117, 125, 0.72);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.25;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hot-pagamento-aba-icone {
    flex-shrink: 0;
    width: 16px;
    font-size: 1rem;
    text-align: center;
    color: inherit;
    pointer-events: none;
}

.hot-pagamento-aba-texto {
    pointer-events: none;
}

.hot-pagamento-aba-texto-curto {
    display: none;
}

.hot-pagamento-aba-texto-longo {
    display: inline;
}

.hot-pagamento-aba:hover {
    color: #6c757d;
}

.hot-pagamento-aba.selected,
.hot-pagamento-aba[aria-selected='true'] {
    color: #212529;
}

.hot-pagamento-aba:focus-visible {
    box-shadow: 0 0 0 2px rgba(245, 20, 10, 0.22);
}

.hot-pagamento-abas-paineis {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 120px;
}

.hot-pagamento-aba-painel {
    grid-row: 1;
    grid-column: 1;
    display: none;
    outline: none;
    align-self: start;
}

.hot-pagamento-aba-painel.fade {
    transition: opacity 0.15s linear;
}

.hot-pagamento-aba-painel.fade:not(.is-visible) {
    opacity: 0;
}

.hot-pagamento-aba-painel.is-active {
    display: block;
}

.hot-pagamento-campos-cartao.is-active,
.hot-pagamento-campos-pix.is-active,
.hot-pagamento-campos-boleto.is-active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hot-pagamento-aba-painel.hot-pagamento-placeholder.is-active {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

.hot-pagamento-aba-painel.is-visible {
    opacity: 1;
}

.hot-pagamento-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hot-pagamento-seletor-raiz .hot-pagamento-placeholder-conteudo {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.hot-pagamento-placeholder-card {
    width: 100%;
    padding: 28px 24px;
    border: none;
    border-radius: 12px;
    background: #f1f1f1;
    text-align: center;
}

.hot-pagamento-placeholder-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #e5e6e7;
    color: #6c757d;
    font-size: 1.35rem;
}

.hot-pagamento-placeholder-titulo {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.hot-pagamento-placeholder-texto {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.45;
}

.hot-pagamento-placeholder-beneficios {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.hot-pagamento-placeholder-beneficios li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.45rem;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
}

.hot-pagamento-placeholder-beneficios li:last-child {
    margin-bottom: 0;
}

.hot-pagamento-placeholder-beneficios li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: #6c757d;
    font-size: 0.75rem;
}

.hot-pagamento-pix-intro {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0;
}

.hot-pagamento-pix-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #ffffff;
}

.hot-pagamento-pix-qrcode img {
    display: block;
    width: 200px;
    height: 200px;
}

.hot-pagamento-pix-codigo {
    min-height: 42px;
    font-size: 0.78rem;
    color: #212529;
    background: #f8f9fa;
    border: 1px solid #d0d1d2;
    overflow-x: auto;
    white-space: nowrap;
}

.hot-pagamento-pix-codigo:focus {
    box-shadow: none;
    border-color: #d0d1d2;
}

.hot-pagamento-pix-copiar {
    width: auto;
    margin-top: 0;
}

.hot-pagamento-gerado-conteudo {
    padding: 8px 4px 4px;
}

.hot-pagamento-boleto-aviso {
    font-size: 0.875rem;
    color: #555;
}

.hot-boleto-mock-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hot-boleto-mock-cabecalho {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px dashed #dee2e6;
}

.hot-boleto-mock-rotulo {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 2px;
}

.hot-boleto-mock-valor strong {
    font-size: 1.15rem;
    color: #212529;
}

.hot-boleto-linha-digitavel {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.hot-boleto-codigo-barras {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    padding: 12px 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.hot-boleto-codigo-barras span {
    display: block;
    width: 3px;
    height: 48px;
    background: #111;
    border-radius: 1px;
}

.hot-boleto-codigo-barras span:nth-child(3n) {
    width: 5px;
}

.hot-boleto-codigo-barras span:nth-child(5n) {
    height: 40px;
    margin-top: 4px;
}

.hot-boleto-codigo-barras span:nth-child(7n) {
    width: 2px;
    height: 52px;
}

.hot-cartoes-salvos-item {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.hot-cartoes-salvos-item:last-of-type {
    margin-bottom: 0;
}

.hot-cartoes-salvos-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hot-cartoes-salvos-item-corpo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hot-cartoes-salvos-item:hover .hot-cartoes-salvos-item-corpo {
    border-color: rgba(130, 49, 211, 0.35);
}

.hot-cartoes-salvos-item--selecionado .hot-cartoes-salvos-item-corpo,
.hot-cartoes-salvos-radio:checked + .hot-cartoes-salvos-item-corpo {
    border-color: #8231d3;
    background: rgba(130, 49, 211, 0.06);
}

.hot-cartoes-salvos-bandeira {
    flex-shrink: 0;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hot-cartoes-salvos-dados strong {
    display: block;
    font-size: 0.9rem;
}

.hot-pagamento-subpainel-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 120px;
}

.hot-pagamento-subpainel {
    grid-row: 1;
    grid-column: 1;
    display: none;
    outline: none;
    align-self: start;
    width: 100%;
}

.hot-pagamento-subpainel.fade {
    transition: opacity 0.15s linear;
}

.hot-pagamento-subpainel.fade:not(.is-visible) {
    opacity: 0;
}

.hot-pagamento-subpainel.is-active {
    display: block;
}

.hot-pagamento-subpainel.is-visible {
    opacity: 1;
}

.hot-fin-assinatura-pagamento-rodape {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.hot-fin-assinatura-pagamento-rodape--pix-boleto,
.hot-fin-assinatura-pagamento-rodape--cartao {
    justify-content: flex-end;
}

.hot-fin-assinatura-pagamento-rodape--pix-boleto .hot-fin-assinatura-pagamento-botao-principal,
.hot-fin-assinatura-pagamento-rodape--cartao .hot-fin-assinatura-pagamento-botao-principal {
    width: auto;
}

.hot-pagamento-seletor-raiz .hot-pagamento-gerado-conteudo {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 575.98px) {
    .hot-pagamento-aba-texto-curto {
        display: inline;
    }

    .hot-pagamento-aba-texto-longo {
        display: none;
    }

    .hot-pagamento-placeholder-card {
        padding: 20px 16px;
    }
}
