/* CSS Inline para Modal 2FA - Garantia de estilos aplicados */
two-factor-warning-modal .twofa-warning-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

two-factor-warning-modal .modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(3px) !important;
}

two-factor-warning-modal .modal-container {
    position: relative !important;
    width: 90% !important;
    max-width: 600px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    z-index: 10000 !important;
}

two-factor-warning-modal .modal-content {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    min-height: 400px !important;
}

two-factor-warning-modal .modal-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border-bottom: 1px solid #dee2e6 !important;
    padding: 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

two-factor-warning-modal .modal-title {
    color: #495057 !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

two-factor-warning-modal .close-button {
    background: none !important;
    border: none !important;
    font-size: 1.8rem !important;
    color: #6c757d !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

two-factor-warning-modal .close-button:hover {
    color: #dc3545 !important;
}

two-factor-warning-modal .modal-body {
    padding: 2rem !important;
}

two-factor-warning-modal .alert {
    border-radius: 8px !important;
    border-width: 2px !important;
    margin-bottom: 1rem !important;
}

two-factor-warning-modal .alert-warning {
    background-color: #fff3cd !important;
    border-color: #ffc107 !important;
}

two-factor-warning-modal .alert-info {
    background-color: #d1ecf1 !important;
    border-color: #17a2b8 !important;
}

two-factor-warning-modal .action-buttons {
    text-align: center !important;
    margin-top: 2rem !important;
}

two-factor-warning-modal .btn {
    margin: 0 0.5rem !important;
    border-radius: 8px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 500 !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
}

two-factor-warning-modal .btn-primary {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: #fff !important;
}

two-factor-warning-modal .btn-primary:hover {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
}

two-factor-warning-modal .btn-outline-secondary {
    background-color: transparent !important;
    border-color: #6c757d !important;
    color: #6c757d !important;
}

two-factor-warning-modal .btn-outline-secondary:hover {
    background-color: #6c757d !important;
    color: #fff !important;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    two-factor-warning-modal .modal-container {
        width: 95% !important;
        margin: 1rem !important;
    }
    
    two-factor-warning-modal .modal-body {
        padding: 1.5rem !important;
    }
    
    two-factor-warning-modal .btn {
        display: block !important;
        width: calc(100% - 1rem) !important;
        margin: 0.5rem 0.5rem !important;
    }
}

/* Animações */
two-factor-warning-modal {
    animation: fadeInModal 0.3s ease-out !important;
}

two-factor-warning-modal .modal-container {
    animation: slideInModal 0.3s ease-out !important;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInModal {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
} 