﻿/* ============================================================
   1. ESTRUTURA GERAL E LOADING
   ============================================================ */

.checkout-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: #f5f7fa;
}

.checkout-container {
    display: flex;
    flex-direction: column;
}

/* Loading da Página */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    gap: 1rem;
    color: #555555;
    font-size: 1.1rem;
}

/* Loading Overlay (Processando Pagamento) */
.loading-payment-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.info-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #E40E18;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

    .info-loading-spinner.large {
        width: 50px;
        height: 50px;
        border-width: 5px;
    }


/* ============================================================
   2. ÁREA DE PAGAMENTO (HEADER E TIMER)
   ============================================================ */

.container-payment {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 0 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.checkout-section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-title {
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .section-title img {
        height: 46px;
        width: 25px;
        margin-left: -35px;
    }

.checkout-section-title h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333333;
}

.checkout-section-title h4 {
    font-size: 1rem;
    font-weight: 400;
    color: #777777;
}

.pix-timer-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pix-timer-checkout > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        background: #ffeb3b;
        border-radius: 25px;
        padding: 0.75rem 1.25rem;
        line-height: 1.2;
    }

        .pix-timer-checkout > span.expired {
            background-color: #ffeb3b; 
        }

    .pix-timer-checkout svg {
        flex-shrink: 0;
        vertical-align: middle;
        margin-top: -0.3rem;
        margin-right: 0.5rem;
    }

/* ============================================================
   3. GRID PRINCIPAL (COLUNAS ESQUERDA/DIREITA)
   ============================================================ */

.checkout-main-content {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-top: 1rem;
}

.checkout-payment-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-summary-column {
    flex: 0.8;
    top: 2rem;
}

/* ============================================================
   4. CARTÃO DE SELEÇÃO DE PAGAMENTO (ESQUERDA)
   ============================================================ */

.checkout-payment-card {
    background: #ffffff;
    padding: 0;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .checkout-payment-card h3 {
        font-size: 1.4rem;
        font-weight: 600;
        margin: 0;
        padding: 1.5rem 2rem;
        background: #f9f9f9;
    }

.checkout-payment-options-container {
    padding: 2rem;
}

.select-payment {
    margin: 0 2rem;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

    .select-payment:has(.checkout-payment-card-option:only-child) {
        justify-content: center;
    }

        .select-payment:has(.checkout-payment-card-option:only-child) .checkout-payment-card-option {
            min-width: 500px;
            max-width: 1000px;
            flex: 0 1 auto;
            padding: 1.5rem;
        }

/* Cards de Opção (Radio) */
.checkout-payment-card-option {
    flex: 1;
    border: 2px solid #ced4da;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    background: white;
    overflow: hidden;
}

    .checkout-payment-card-option::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(228, 14, 24, 0.05) 0%, rgba(228, 14, 24, 0.02) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 0;
    }

    .checkout-payment-card-option:hover {
        border-color: #E40E18;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

        .checkout-payment-card-option:hover::before {
            opacity: 1;
        }

    .checkout-payment-card-option.selected {
        border-color: #E40E18;
        background-color: #f8faff; /* Fundo selecionado (implícito no contexto) */
        box-shadow: 0 8px 24px rgba(228, 14, 24, 0.15), 0 0 0 4px rgba(228, 14, 24, 0.1);
        transform: translateY(-4px);
    }

        .checkout-payment-card-option.selected::before {
            opacity: 1;
        }

    /* Estilos Específicos quando há apenas 1 opção */
    .checkout-payment-card-option:only-child {
        border-color: #E40E18;
        box-shadow: 0 8px 24px rgba(228, 14, 24, 0.15), 0 0 0 4px rgba(228, 14, 24, 0.1);
        transform: translateY(-2px);
    }

        .checkout-payment-card-option:only-child::before {
            opacity: 1;
        }

        .checkout-payment-card-option:only-child .payment-card-title {
            font-size: 1.3rem;
        }

        .checkout-payment-card-option:only-child .payment-card-description {
            font-size: 1rem;
        }

        .checkout-payment-card-option:only-child .payment-card-logos img,
        .checkout-payment-card-option:only-child .payment-icon-pix {
            height: 32px;
        }

.payment-badge-recommended {
    position: absolute;
    top: -1px;
    right: -1px;
    background-color: red;
    color: #FFFFFF;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 4px;
}

.payment-radio-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-card-content {
    position: relative;
    z-index: 1;
}

.payment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    margin-top: 5px;
}

.payment-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333333;
}

.payment-card-logos {
    display: flex;
    gap: 6px;
    align-items: center;
}

    .payment-card-logos img {
        height: 24px;
        width: auto;
        filter: grayscale(0.3);
        transition: filter 0.3s ease;
    }

.checkout-payment-card-option:hover .payment-card-logos img,
.checkout-payment-card-option.selected .payment-card-logos img {
    filter: grayscale(0);
}

.payment-icon-pix {
    height: 25px !important;
    width: auto !important;
}

.pix-desktop {
    display: inline-block;
}

.pix-mobile {
    display: none;
}

.payment-card-description {
    font-size: 0.9rem;
    color: #777777;
    font-weight: 500;
}

/* ============================================================
   5. DETALHES DO PAGAMENTO (FORMULÁRIOS)
   ============================================================ */

.checkout-payment-details {
    background: #fdfdfd;
    display: none;
    opacity: 0;
    padding: 0 1.5rem;
}

    .checkout-payment-details.visible {
        display: block;
        opacity: 1;
        padding: 0 1.5rem;
        animation: fadeIn 0.3s ease-in-out;
    }

    .checkout-payment-details h4 {
        font-size: 1.15rem;
        font-weight: 600;
        margin: 0 0 1.5rem 0;
        color: #333333;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .checkout-payment-details h4::before {
            content: '';
            width: 4px;
            height: 24px;
            background: #E40E18;
            border-radius: 2px;
        }

.checkout-form-group {
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.3s ease;
}

    .checkout-form-group:last-child {
        margin-bottom: 0;
    }

    .checkout-form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: #555555;
    }

.checkout-input-field {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #ced4da;
    border-radius: 10px;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: white;
}

    .checkout-input-field:hover {
        border-color: #E40E18;
    }

    .checkout-input-field:focus {
        border-color: #E40E18;
        outline: none;
        box-shadow: 0 0 0 4px rgba(228, 14, 24, 0.1);
        transform: translateY(-1px);
    }

.checkout-form-row {
    display: flex;
    gap: 1rem;
}

    .checkout-form-row .checkout-form-group {
        flex: 1;
    }

.validation-message-manual {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: block;
    font-weight: 500;
}

/* Logos e Áreas Específicas (Cartão/PIX) */
.accepted-cards {
    padding: 0rem 2rem;
    background: #f5f7fa;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.accepted-cards-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #777777;
    text-align: center;
}

.accepted-cards-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

    .accepted-cards-logos img {
        max-height: 50px;
        min-height: 50px;
        max-width: 50px;
        min-width: 50px;
        border-radius: 10px;
        filter: grayscale(0.2);
        opacity: 0.9;
        transition: all 0.3s ease;
        object-fit: cover;
    }

.payment-form-pix-img {
    display: flex;
    justify-content: center;
}

.payment-img-pix {
    height: 50px;
    width: 150px;
}

.checkout-form-pix-group {
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.3s ease;
}

    .checkout-form-pix-group:last-child {
        margin-bottom: 0;
    }

    .checkout-form-pix-group label {
        display: block;
        text-align: center;
        margin-top: 1rem;
        font-size: 1.2rem;
        font-weight: 400;
        color: #595959;
    }

        .checkout-form-pix-group label:last-child {
            margin-top: 2rem;
        }

.pix-instructions {
    font-size: 0.9rem;
    color: #333333;
    background: #e6f7ff;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border: 1px solid #b0e0ff;
    margin-top: 3rem;
    line-height: 1.6;
}

/* Botão de Confirmação e Notas de Segurança */
.button-confirm-payment {
    margin: 2rem;
    margin-bottom: 1rem;
}

.confirm-payment-button {
    padding: 1.1rem;
    margin: 0; /* Reset margin inside container if needed, originally had margin */
    width: 100%; /* Assumindo width 100 para preencher container */
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, #28a745 20%, #20833a 100%);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

    .confirm-payment-button:hover {
        background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
    }

    .confirm-payment-button:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    }

.secure-payment-note {
    text-align: center;
    font-size: 0.85rem;
    color: #777777;
    margin: 0 2rem 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* ============================================================
   6. COLUNA DE RESUMO (DIREITA)
   ============================================================ */

.checkout-summary-card {
    background: #ffffff;
    padding: 0 2rem 2rem 2rem;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .checkout-summary-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }

    .checkout-summary-card h3 {
        font-size: 1.4rem;
        font-weight: 600;
        padding: 1.5rem 0 1rem 0;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid rgba(228, 14, 24, 0.2);
        color: #333333;
    }

    .checkout-summary-card.empty p {
        padding: 1.5rem 0;
        text-align: center;
        color: #777777;
        font-style: italic;
        margin: 0;
    }

/* Itens do Carrinho */
.booking-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.booking-item {
    border-bottom: 1px solid #e0e0e0;
}

    .booking-item:last-child {
        border-bottom: none;
    }

.booking-item-button-container {
    display: flex;
    flex-direction: row;
}

.booking-item-header {
    background: none;
    border: none;
    width: 100%;
    /* display: flex; REMOVIDO POIS JÁ TEM NO ORIGINAL, MAS O USER COLOCOU UM CONTAINER EM CIMA */
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
    color: #333333;
    transition: background-color 0.2s ease;
}

    .booking-item-header:hover {
        background-color: rgba(0, 0, 0, 0.02);
    }

    .booking-item-header .header-title {
        font-weight: 500;
        flex-grow: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .booking-item-header .header-title strong {
            font-weight: 600;
            color: #555555;
        }

.booking-item-button-details {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.booking-item-header .header-price {
    font-weight: 600;
    min-width: 100px;
}

.booking-item-header .header-toggle {
    font-size: 1.4rem;
    font-weight: 300;
    color: #E40E18;
}

.booking-item-content {
    max-height: 0;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 0 0 8px 8px;
    border-left: 4px solid transparent;
    padding: 0 1.5rem 0 1.25rem;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, background-color 0.3s ease-out, border-color 0.3s ease-out;
}

    .booking-item-content.active {
        max-height: 300px;
        padding: 1.25rem 1.5rem 1.25rem 1.25rem;
        border-left-color: #E40E18;
        transition: max-height 0.4s ease-in, padding 0.4s ease-i, background-color 0.4s ease-in, border-color 0.4s ease-in;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

.booking-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-row-checkout {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

    .detail-row-checkout .summary-label {
        color: #555555;
        font-weight: 500;
    }

    .detail-row-checkout .summary-value {
        font-weight: 600;
        color: #333333;
    }

.summary-total {
    font-size: 1.3rem;
    border-top: 2px solid rgba(228, 14, 24, 0.2);
    padding-top: 1.2rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.total-price {
    font-weight: 700;
    color: #E40E18;
}

/* Card Responsável */
.reservation-responsible {
    margin-top: 10px;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.summary-label {
    color: #555555;
    font-weight: 500;
}

.summary-value {
    font-weight: 700;
    color: #333333;
}

/* Navegação (Botão Voltar) */
.checkout-navigation {
    margin-top: 1rem;
}

.checkout-back-button {
    background: white;
    border: 2px solid #e0e0e0;
    color: #333333;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .checkout-back-button:hover {
        background: #f8f9fa;
        border-color: #ced4da;
        transform: translateX(-4px);
    }

    .checkout-back-button svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
        transition: transform 0.3s ease;
    }

    .checkout-back-button:hover svg {
        transform: translateX(-2px);
    }

/* ============================================================
   7. MODAL CPF
   ============================================================ */

.cpf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.cpf-modal-content {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

    .cpf-modal-content h2 {
        font-size: 1.8rem;
        font-weight: 600;
        margin: 0 0 1rem 0;
        color: #333333;
        text-align: center;
    }

    .cpf-modal-content > p {
        font-size: 1rem;
        color: #555555;
        text-align: center;
        margin-bottom: 2rem;
    }

.cpf-form-group {
    margin-bottom: 1.5rem;
}

    .cpf-form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        color: #555555;
    }

.cpf-input-field {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #ced4da;
    border-radius: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: white;
}

    .cpf-input-field:hover {
        border-color: #E40E18;
    }

    .cpf-input-field:focus {
        border-color: #E40E18;
        outline: none;
        box-shadow: 0 0 0 4px rgba(228, 14, 24, 0.1);
        transform: translateY(-1px);
    }

.cpf-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cpf-button-confirm,
.cpf-button-cancel {
    flex: 1;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cpf-button-confirm {
    background: linear-gradient(135deg, #28a745 20%, #20833a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

    .cpf-button-confirm:hover:not(:disabled) {
        background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
    }

    .cpf-button-confirm:disabled {
        background: #cccccc;
        cursor: not-allowed;
        box-shadow: none;
    }

.cpf-button-cancel {
    background: white;
    color: #555555;
    border: 2px solid #e0e0e0;
}

    .cpf-button-cancel:hover {
        background: #f8f9fa;
        border-color: #ced4da;
        transform: translateY(-2px);
    }

.cpf-modal-content .error-message {
    color: red;
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
}

.cpf-modal-content .checkout-form-group .validation-message {
    font-size: 20px !important;
}

/* ============================================================
   8. ANIMAÇÕES (KEYFRAMES)
   ============================================================ */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes checkmark-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================================
   9. RESPONSIVIDADE (MEDIA QUERIES)
   ============================================================ */

@media (max-width: 900px) {
    .checkout-main-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .checkout-summary-column {
        width: 100%;
        border: solid 2px #ffb3b3;
        border-radius: 10px;
        position: static;
    }

    .checkout-payment-card {
        border: solid 2px #dedede;
    }

    .select-payment {
        gap: 10px;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .booking-item-header .header-toggle {
        min-width: 0px;
    }

    .checkout-summary-card{
        padding: 0rem 2rem 1rem 2rem;
    }
    .summary-details {
        margin-bottom: 0px;
        gap: 0px;
    }

    .pix-instructions {
        margin-top: 1.5rem;
        padding: 1rem 0.5rem;
        text-align: center;
    }

    /* Geral */
    .pix-timer-checkout {
        text-align: center;
    }

    .checkout-page-wrapper {
        padding: 0.5rem;
    }

    .checkout-main-content {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    /* Container Pagamento */
    .checkout-payment-options-container {
        padding: 1rem;
    }

    .checkout-form-pix-group label{
        font-size: 1rem;
    }
    /* Seleção Lado a Lado */
    .select-payment {
        display: flex;
        flex-direction: row !important;
        gap: 10px;
        margin: 0 !important;
        padding: 10px;
    }

    /* Card Compacto */
    .checkout-payment-card-option {
        flex: 1;
        padding: 0.8rem 0.5rem !important;
        text-align: center;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .payment-card-content {
        width: 100%;
    }

    .payment-card-header {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin: 0;
        gap: 20px;
    }

    .payment-card-title {
        font-size: 0.9rem;
        justify-content: center;
    }

    /* Elementos Escondidos no Mobile */
    .payment-card-description {
        display: none !important;
    }

    .payment-badge-recommended {
        display: none;
    }

    .pix-desktop {
        display: none;
    }

    .pix-mobile {
        display: inline-block !important;
    }

    .payment-icon-pix {
        margin: 0 !important;
        height: 20px !important;
    }

    .payment-form-pix-img {
        margin-top: 10px;
    }

    .payment-img-pix {
        height: 25px;
    }

    /* Formulário Compacto */
    .checkout-payment-details.visible {
        padding: 0 1rem 0rem 1rem;
    }

    .checkout-form-row {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .checkout-input-field {
        padding: 0.6rem;
        margin-bottom: 0;
    }

    .checkout-form-group {
        margin-bottom: 0.8rem;
    }

        .checkout-form-group label {
            margin-bottom: 0.2rem;
            font-size: 0.85rem;
        }

    .checkout-form-group .validation-message {
        color: red;
        margin-top: 5px; 
        font-size: 15px;
        text-align: center;
        border-radius: 5px;
        display: block;
    }

    .checkout-form-pix-group label:last-child {
        margin-top: 1rem;
    }

    /* Botões e Textos Finais */
    /*    .button-confirm-payment {
        padding: 0 1.7rem 1.7rem 1.7rem;
    }*/
    .button-confirm-payment {
        margin: 1rem;
        margin-top: 1rem;
    }

    .confirm-payment-button {
        margin: 0;
        padding: 0.8rem;
        font-size: 1rem;
        width: 100%;
    }

    .secure-payment-note {
        margin: 0 1rem 1rem 1rem; /* Ajusta margens laterais e bottom */
        font-size: 0.75rem;
    }

    .accepted-cards {
        padding: 0.5rem;
        margin-top: 0.5rem;
    }

    .accepted-cards-logos img {
        max-height: 30px;
        min-height: 30px;
        max-width: 30px;
        min-width: 30px;
    }

    /* Modal Mobile */
    .cpf-modal-content {
        padding: 1.5rem;
        width: 95%;
    }

        .cpf-modal-content .error-message {
            margin-top: 0px !important;
        }

        .cpf-modal-content h2 {
            font-size: 1.5rem;
        }

    .cpf-modal-buttons {
    }

    .cpf-button-confirm,
    .cpf-button-cancel {
        width: 100%;
    }
}
