/* OTP System Styles */
.otp-verification-container {
    background: #fff;
    border-radius: 10px;
    padding: 30px; 
    text-align: center;
    max-width: 500px;
    margin: 10px auto;
   
}

.otp-header {
    margin-bottom: 25px;
}

.otp-header i {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 15px;
    display: block;
}

.otp-header h4 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.otp-message {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.otp-message p {
    margin: 0 0 10px 0;
}

.otp-form {
    margin-bottom: 25px;
}

.otp-form .form-group {
    margin-bottom: 20px;
}

.otp-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 3px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.otp-input:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.otp-verify-btn, .otp-resend-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    display: inline-block;
    text-decoration: none;
}

.otp-verify-btn {
    background: #dc3545;
    color: white;
}

.otp-verify-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.otp-verify-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.otp-resend-btn {
    background: #6c757d;
    color: white;
}

.otp-resend-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.otp-resend-btn:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;
}

.otp-timer {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.otp-timer p {
    margin: 0;
    color: #666;
    font-weight: 500;
}

.otp-timer span {
    color: #dc3545;
    font-weight: 700;
    font-size: 18px;
}

/* Download Success Styles */
.download-success-container {
    background: #fff;
    border-radius: 10px;
    padding: 30px; 
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.success-header {
    margin-bottom: 25px;
}

.success-header i {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 15px;
    display: block;
}

.success-header h4 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.success-message {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.success-message p {
    margin: 0;
}

.download-link {
    margin-top: 25px;
}

.download-success-btn {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.download-success-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

.download-success-btn i {
    margin-right: 10px;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    min-width: 300px;
    border-left: 4px solid #dc3545;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left-color: #28a745;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-content {
    display: flex;
    align-items: center;
    color: #333;
}

.toast-content i {
    margin-right: 10px;
    font-size: 18px;
}

.toast-success .toast-content i {
    color: #28a745;
}

.toast-error .toast-content i {
    color: #dc3545;
}

.toast-content span {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .otp-verification-container,
    .download-success-container {
        margin: 0 15px;
        padding: 20px;
    }
    
    .otp-header h4,
    .success-header h4 {
        font-size: 20px;
    }
    
    .otp-input {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .otp-verify-btn, .otp-resend-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin: 3px;
    }
    
    .toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
}

/* Loading Animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation Styles */
.otp-input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.otp-input.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
