/* 2FA Code Input Styles */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.otp-input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.otp-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background: #f8f9ff;
}

.otp-input:hover {
    border-color: #b0b0b0;
}

.otp-input.filled {
    border-color: #28a745;
    background: #f8fff8;
}

.otp-input.error {
    border-color: #dc3545;
    background: #fff8f8;
}

/* 2FA Modal Enhancements */
.twofa-modal-body {
    text-align: center;
    padding: 30px 20px;
}

.twofa-icon {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}

.twofa-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.twofa-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.otp-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: block;
}

/* Animation for modal */
.modal-fade-in {
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile responsive */
@media (max-width: 576px) {
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .otp-container {
        gap: 6px;
    }
    
    .twofa-modal-body {
        padding: 20px 15px;
    }
}