* {
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 0;
}

.container {
    flex: 1;
    padding-bottom: 2rem;
}

.titulo {
    text-align: center;
}

.campos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.time {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 1.5rem;
    width: 50%;
}

@media (max-width: 768px) {
    .time {
        width: 90%;
    }
}

.nome {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.letra {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.2rem;
}

.aviso {
    font-style: italic;
    font-size: 0.7rem;
    padding: 0.4rem;
}

.aviso2 {
    font-style: italic;
    font-size: 0.7rem;
}

.letras {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .letras p {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .letra {
        padding: 0.1rem;
    }
}

@media (max-width: 480px) {
    .letras {
        flex-direction: column; /* O rótulo ficará acima dos botões */
        align-items: center;
    }
    .nome {
        flex-wrap: wrap; /* Permite que os botões quebrem a linha */
    }
    .letra label {
        font-size: 0.8rem; /* Reduz o tamanho dos textos dos radios */
    }
}


.nomecompleto {
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

.form-control {
    width: auto;
}

.cpf {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#gerar-btn {
    margin-left: 0.5rem;
}

.feedback {
    margin-top: 1rem;
}

.cards-feedback {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    align-items: center;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem;
}

.jogadorEscolhido {
    width: 50%;
}

@media (max-width: 576px) {
    .jogadorEscolhido {
        width: 90%;
    }
}

.numcartao {
    margin-bottom: 0;
}

.cvcNovo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}

.botoesCvc {
    margin-left: 0.4rem;
    width: 2.2rem;
    padding-left: 0;
    padding-right: 0;
}

/* Remove setas nativas do input number do CVC */
#cvcNovo::-webkit-outer-spin-button,
#cvcNovo::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#cvcNovo {
    -moz-appearance: textfield;
}

/* Lightbox modal */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.6);
}

#lightboxModal .modal-content {
    background-color: #fff;
    border: none;
    border-radius: 0.5rem;
}

#lightboxModal .modal-body img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.92);
}

.apoiador-avatar-lg,
.apoiador-avatar,
.apoiador-avatar-sm {
    object-fit: cover;
    object-position: center;
}

.apoiador-avatar-lg {
    width: 7rem;
    height: 7rem;
}

.apoiador-avatar {
    width: 5.25rem;
    height: 5.25rem;
}

.apoiador-avatar-sm {
    width: 4.25rem;
    height: 4.25rem;
}

.podio {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
}

.apoiador-card-lg {
    width: 12rem;
}

.apoiador-card-md {
    width: 10rem;
}

.apoiador-card-sm {
    width: 9rem;
}

/* No celular tudo vira uma coluna: o pódio empilha do 1º ao 3º lugar */
@media (max-width: 575.98px) {
    .podio {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .podio-primeiro {
        order: 1;
    }

    .podio-segundo {
        order: 2;
    }

    .podio-terceiro {
        order: 3;
    }

    #classesSections .cards-feedback {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 1rem 0.25rem;
    }

    #classesSections .apoiador-card-sm {
        width: 11rem;
    }
}

.apoiador-card-vazio {
    border-style: dashed;
    background-color: transparent;
    min-height: 9rem;
}

.apoiador-medalha-vaga {
    filter: grayscale(1);
    opacity: 0.5;
}

.exemplo-legenda {
    max-width: 15rem;
    padding-left: 1.1rem;
    line-height: 1.7;
}

.apoiador-card {
    color: inherit;
}

.apoiador-nome {
    overflow-wrap: anywhere;
}

.apoiador-valor {
    font-size: 0.8rem;
    font-weight: 600;
}

.apoiador-rede {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    max-width: 100%;
}

.apoiador-rede span {
    overflow-wrap: anywhere;
}

.apoiador-rede svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.apoiador-rede:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

/* O nome da classe é longo e estouraria a largura do card sem quebrar linha */
.apoiador-card .badge {
    white-space: normal;
    font-size: 0.7rem;
    line-height: 1.25;
}

.site-footer {
    margin-top: auto;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--bs-border-color);
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
}

.aviso-mural {
    font-size: 0.7rem;
    font-style: italic;
    color: var(--bs-secondary-color);
    opacity: 0.75;
}

.btn-apoie {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-apoie svg {
    width: 0.95em;
    height: 0.95em;
}

@media (max-width: 991.98px) {
    .btn-apoie {
        align-self: flex-start;
        margin-top: 0.25rem;
    }
}

.destaque-mural {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.by-dev {
    text-decoration: none;
    color: inherit;
}

.by-dev:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.75;
}