/* Forgot Password Styles */

#ForgotPasswordArea {
    max-width: 400px;
    margin: 0 auto;
}

#ForgotPasswordArea .body {
    padding: 20px;
}

.step-container {
    padding: 10px 0;
}

.step-description {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Form elements */
#ForgotPasswordArea .input-group {
    margin-bottom: 0;
}

#ForgotPasswordArea .input-group-addon {
    padding: 8px 10px;
    min-width: 40px;
    text-align: center;
}

#ForgotPasswordArea .form-line {
    width: 100%;
}

#ForgotPasswordArea .form-control {
    width: 100%;
    padding: 10px;
}

/* OTP Input styling */
.otp-input {
    font-size: 24px !important;
    letter-spacing: 8px;
    text-align: center;
    font-weight: bold;
}

.otp-input:placeholder-shown {
    font-size: 14px !important;
    letter-spacing: normal !important;
    text-align: left !important;
    font-weight: normal !important;
}

.otp-input::placeholder {
    font-size: 14px;
    letter-spacing: normal;
    font-weight: normal;
}

/* Success icon */
.success-icon {
    font-size: 72px;
    color: #4CAF50;
    margin-bottom: 20px;
}

/* Alert styling */
#ForgotPasswordArea .alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ForgotPasswordArea .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

#ForgotPasswordArea .alert .material-icons {
    vertical-align: middle;
    margin-right: 8px;
    font-size: 20px;
}

/* Password requirements */
.password-requirements {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.password-requirements .material-icons.tiny {
    font-size: 14px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Button loading spinner */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Disabled link */
#btnResendOtp.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Error messages */
#ForgotPasswordArea .text-danger {
    font-size: 12px;
    display: block;
    margin-top: 5px;
    min-height: 18px;
}

/* Remaining attempts */
#remainingAttempts {
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

/* Material icons alignment */
.material-icons.tiny {
    font-size: 16px;
    vertical-align: text-bottom;
}

/* Button styling */
#ForgotPasswordArea .btn.btn-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

#ForgotPasswordArea .btn .material-icons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    flex-shrink: 0;
}

/* Input group addon */
.input-group-addon .material-icons {
    color: #e91e63;
}

/* Margin utilities */
.m-t-10 { margin-top: 10px !important; }
.m-t-15 { margin-top: 15px !important; }
.m-t-20 { margin-top: 20px !important; }
.m-b--10 { margin-bottom: -10px !important; }
.m-l-5 { margin-left: 5px !important; }

/* Row spacing */
#ForgotPasswordArea .row {
    margin-left: 0;
    margin-right: 0;
}

/* Resend section */
#step2-otp .row.m-t-15.text-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Step 4 Success */
#step4-success .text-center {
    padding: 20px 0;
}

/* Back to login */
#backToLogin a {
    color: #666;
    font-size: 14px;
}

#backToLogin a:hover {
    color: #e91e63;
}

/* Responsive */
@media (max-width: 480px) {
    #ForgotPasswordArea {
        margin: 0 15px;
    }
    
    .otp-input {
        font-size: 20px !important;
        letter-spacing: 5px;
    }
    
    #ForgotPasswordArea .btn {
        font-size: 14px;
    }
}
