.payment-container-classic {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.payment-container-classic h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.payment-container-classic p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.payment-method-classic {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.payment-method-classic:hover {
    background-color: #f5f5f5;
}

.payment-method-classic input[type="radio"] {
    margin-right: 10px;
}

.payment-method-classic img {
    width: 70px;
    height: auto;
    margin: 0 10px;
    vertical-align: middle;
}

.payment-method-classic label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.payment-method-classic input[type="radio"]:checked + img + label,
.payment-method-classic.selected label {
    color: #0073aa;
    font-weight: bold;
}

.payment-method-classic.selected {
    background-color: #e8f4f8;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Botão "Escolher a Forma de Pagamento" */
.payment-button-plugin {
    width: 100%;
    background-color: black;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.payment-button-plugin:hover {
    background-color: #333;
}

/* Estilos dos Modais */
.modal-plugin {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content-plugin {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.modal-content-plugin * {
    box-sizing: border-box;
    max-width: 100%;
}

.close-button {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-button:hover {
    color: #000;
}

.imageBoxPlugin {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    padding: 8px;
}

.imageBoxPlugin img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.imageBoxPlugin img:hover {
    transform: scale(1.05);
}

/* Responsividade para imagem */
@media (max-width: 768px) {
    .imageBoxPlugin {
        margin-bottom: 16px;
        padding: 6px;
    }
    
    .imageBoxPlugin img {
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .imageBoxPlugin {
        margin-bottom: 14px;
        padding: 4px;
    }
    
    .imageBoxPlugin img {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }
}

.header_payment {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding: 10px;
}

.text_info {
    font-size: 15px;
    color: #5a6c7d;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
    padding: 0 10px;
    font-weight: 400;
}

/* Responsividade para textos */
@media (max-width: 768px) {
    .header_payment {
        font-size: 20px;
        margin-bottom: 14px;
        letter-spacing: 0.3px;
    }
    
    .text_info {
        font-size: 14px;
        margin-bottom: 20px;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .header_payment {
        font-size: 18px;
        margin-bottom: 12px;
        letter-spacing: 0.2px;
    }
    
    .text_info {
        font-size: 13px;
        margin-bottom: 18px;
        padding: 0 6px;
        line-height: 1.5;
    }
}

.form_plugin {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin-bottom: 24px;
    padding: 0 4px;
}

/* Melhorias no container do formulário */
.form-plugin-div {
    padding: 24px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    .form-plugin-div {
        padding: 20px;
    }
    
    .form_plugin {
        margin-bottom: 20px;
        padding: 0 2px;
    }
}

@media (max-width: 480px) {
    .form-plugin-div {
        padding: 16px;
    }
    
    .form_plugin {
        margin-bottom: 18px;
        padding: 0;
    }
}

.form_plugin div {
    width: 100%;
}

.phone_number_box {
    display: flex;
    align-items: center;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100% !important;
}

.phone_number_box:hover {
    border-color: #ff6b35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.phone_number_box:focus-within {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.number_indicative {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 16px 18px;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

#phone_number {
    border: none;
    outline: none;
    padding: 16px 18px;
    flex: 1;
    font-size: 15px;
    background: transparent;
    color: #333;
    font-weight: 500;
    width: 80%;
    height: auto;
}

#phone_number::placeholder, #phone_number_ekwanza::placeholder {
    color: #999;
    font-weight: 400;
}

#phone_number_ekwanza {
    border: none;
    outline: none;
    padding: 16px 18px;
    flex: 1;
    font-size: 15px;
    background: transparent;
    color: #333;
    font-weight: 500;
    width: 80%;
    height: auto;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .phone_number_box {
        margin-bottom: 16px;
    }
    
    .number_indicative {
        padding: 14px 16px;
        font-size: 14px;
        min-width: 65px;
    }
    
    #phone_number, #phone_number_ekwanza {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .phone_number_box {
        margin-bottom: 14px;
    }
    
    .number_indicative {
        padding: 12px 14px;
        font-size: 13px;
        min-width: 60px;
    }
    
    #phone_number, #phone_number_ekwanza {
        padding: 12px 14px;
        font-size: 13px;
    }
}

.button_ekwanza {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 18px 36px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-align: center !important;
    width: 100% !important;
    max-width: 100%;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-sizing: border-box;
}

.button_ekwanza:focus {
    outline: none;
}

/* Responsividade para o botão */
@media (max-width: 768px) {
    .button_ekwanza {
        padding: 16px 32px;
        font-size: 15px;
        margin: 12px 0;
        border-radius: 12px;
        letter-spacing: 0.6px;
    }
}

@media (max-width: 480px) {
    .button_ekwanza {
        padding: 14px 28px;
        font-size: 14px;
        margin: 10px 0;
        border-radius: 10px;
        letter-spacing: 0.4px;
    }
}

/* Loading Animation */
.loading {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 44px;
    height: 44px;
    margin: 8px;
    border: 4px solid #f47920;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #f47920 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Success and Error States */
.success_payment_express,
.error_payment {
    display: none;
    text-align: center;
    padding: 20px;
}

.success_payment_express h3 {
    color: #28a745;
    margin-bottom: 15px;
}

.error_payment h3 {
    color: #dc3545;
    margin-bottom: 15px;
}

.done-icon,
.error-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 50%;
}

.done-icon {
    background-color: #28a745;
    position: relative;
}

.done-icon::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.error-icon {
    background-color: #dc3545;
    position: relative;
}

.error-icon::after {
    content: '✗';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Countdown Timer */
.has-ref-container {
    text-align: center;
    margin: 20px 0;
}

#countdown_container_express {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.time_confirm {
    font-weight: bold;
}

.timer {
    font-family: monospace;
    font-size: 1.2em;
    color: #f47920;
    font-weight: bold;
}

/* Reference Payment Styles */
.container-plugin {
    width: 100%;
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.payment-options {
    margin: 20px 0;
}

.option {
    margin-bottom: 20px;
}

.details {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 8px;
    margin-top: 5px;
}

.or {
    font-weight: bold;
    margin: 10px 0;
}

.highlight {
    font-weight: bold;
    color: #555;
}

.payment-description {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f0f8ff;
    border-left: 4px solid #0073aa;
    font-size: 14px;
}

.payment-description strong {
    display: block;
    margin-top: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .payment-method-classic {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-method-classic input[type="radio"] {
        margin: 0 0 10px 0;
    }
    
    .payment-method-classic img {
        margin: 10px 0;
    }
    
    .payment-method-classic label {
        margin-top: 10px;
    }
}