/* ===================================
   CORREÇÕES MODAL VOUCHER - RESPONSIVO
   Adicione DEPOIS do style.css
   =================================== */

/* ✅ CORRIGIR ALTURA E SCROLL */
.voucher-selection-modal-content {
    max-height: 90vh !important;
}

.voucher-selection-modal-body {
    max-height: calc(90vh - 40px) !important;
    overflow-y: auto !important; /* ✅ PERMITE SCROLL */
    overflow-x: hidden !important;
    
    /* ✅ ESCONDER BARRA DE ROLAGEM */
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

/* ✅ ESCONDER BARRA - Chrome/Safari */
.voucher-selection-modal-body::-webkit-scrollbar {
    display: none !important;
}

/* ✅ INPUT DE VALOR CUSTOMIZADO */
.voucher-value-input {
    border: none !important;
    outline: none !important;
    text-align: center !important;
    font-size: 36px !important;
    font-weight: bold !important;
    color: #333 !important;
    width: 100% !important;
    background: transparent !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

.voucher-value-input::placeholder {
    color: #ccc !important;
}

.voucher-option-card.selected .voucher-value-input {
    color: white !important;
}

/* ✅ BOTÃO CONTINUAR - CENTRALIZAR */
.btn-continue-payment {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ✅ MENSAGENS DE ALERTA */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* ===================================
   RESPONSIVIDADE MOBILE
   =================================== */

@media (max-width: 768px) {
    .voucher-selection-modal-overlay {
        padding: 10px !important;
        align-items: flex-start !important;
        padding-top: 20px !important;
    }
    
    .voucher-selection-modal-content {
        max-height: 95vh !important;
    }
    
    .voucher-selection-modal-body {
        padding: 30px 20px !important;
        max-height: calc(95vh - 60px) !important;
    }
    
    .voucher-value {
        font-size: 30px !important;
    }
    
    .voucher-value-input {
        font-size: 30px !important;
    }
}

@media (max-width: 480px) {
    .voucher-selection-modal-overlay {
        padding: 5px !important;
        padding-top: 10px !important;
    }
    
    .voucher-selection-modal-content {
        max-height: 98vh !important;
        border-radius: 15px !important;
    }
    
    .voucher-selection-modal-body {
        padding: 20px 15px !important;
        max-height: calc(98vh - 40px) !important;
    }
    
    .voucher-selection-logo {
        width: 100px !important;
        margin-bottom: 10px !important;
    }
    
    .voucher-selection-title {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    
    .voucher-selection-subtitle {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    .voucher-option-card {
        padding: 12px !important;
    }
    
    .voucher-value {
        font-size: 26px !important;
    }
    
    .voucher-value-input {
        font-size: 26px !important;
    }
    
    .voucher-description {
        font-size: 13px !important;
    }
    
    .btn-continue-payment {
        width: 95% !important;
        font-size: 16px !important;
        padding: 14px !important;
    }
    
    .voucher-footer-text {
        font-size: 11px !important;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .voucher-selection-modal-overlay {
        align-items: flex-start !important;
        padding: 5px !important;
    }
    
    .voucher-selection-modal-content {
        max-height: 98vh !important;
    }
    
    .voucher-selection-modal-body {
        padding: 15px !important;
        max-height: calc(98vh - 30px) !important;
    }
    
    .voucher-selection-logo {
        width: 80px !important;
        margin-bottom: 5px !important;
    }
    
    .voucher-selection-title {
        font-size: 18px !important;
        margin-bottom: 5px !important;
    }
    
    .voucher-selection-subtitle {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }
    
    .voucher-option-card {
        padding: 10px !important;
    }
    
    .voucher-value {
        font-size: 22px !important;
        margin-bottom: 3px !important;
    }
    
    .voucher-value-input {
        font-size: 22px !important;
    }
    
    .voucher-description {
        font-size: 12px !important;
    }
    
    .btn-continue-payment {
        height: 40px !important;
        font-size: 15px !important;
        margin-top: 10px !important;
    }
    
    .voucher-selection-footer {
        margin-top: 15px !important;
        padding-top: 10px !important;
    }
}