/* Forgot Password Page Styles */

/* Forgot Password Hero */
.forgot-password-hero {
    padding: 4rem 5%;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.forgot-password-hero .container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.forgot-password-content {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.forgot-password-header {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 2.5rem;
    text-align: center;
}

.forgot-password-header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.forgot-password-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Steps Indicator */
.forgot-password-steps {
    padding: 2.5rem;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #636e72;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.step-text {
    font-size: 0.9rem;
    color: #636e72;
    text-align: center;
    font-weight: 600;
}

.step.active .step-number {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    transform: scale(1.1);
}

.step.active .step-text {
    color: #6c5ce7;
}

/* Step Content */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h2 {
    font-size: 1.8rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.step-header p {
    color: #636e72;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-header .code-instruction {
    font-weight: 600;
    color: #6c5ce7;
    margin-top: 1rem;
}

/* Forms */
.forgot-password-form,
.verification-form,
.new-password-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #6c5ce7;
    width: 20px;
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    color: #2d3436;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

/* Verification Code Inputs */
.code-inputs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.code-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: white;
    transition: all 0.3s ease;
}

.code-input:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

/* Timer */
.timer {
    text-align: center;
    margin: 1.5rem 0;
    color: #636e72;
}

.timer p {
    font-size: 1rem;
}

#countdown {
    font-weight: 700;
    color: #6c5ce7;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.submit-btn,
.resend-btn {
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: none;
}

.submit-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    flex: 2;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.resend-btn {
    background-color: #f8f9fa;
    color: #636e72;
    border: 1px solid #e9ecef;
    flex: 1;
}

.resend-btn:hover:not(:disabled) {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Password Input */
.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #636e72;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.3rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #6c5ce7;
}

/* Password Requirements */
.password-requirements {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.password-requirements p {
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #636e72;
    margin-bottom: 0.3rem;
}

.password-requirements li i {
    font-size: 0.5rem;
}

.password-requirements li.requirement-met {
    color: #00b894;
}

.password-requirements li.requirement-met i {
    color: #00b894;
}

/* Email Note */
.email-note {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    color: #636e72;
    font-size: 0.9rem;
}

.email-note i {
    color: #6c5ce7;
    margin-right: 0.5rem;
}

/* Alternative Options */
.alternative-options {
    text-align: center;
    margin-top: 2rem;
    color: #636e72;
    font-size: 0.9rem;
}

.alternative-options p {
    margin-bottom: 0.5rem;
}

.alternative-options a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 600;
}

.alternative-options a:hover {
    text-decoration: underline;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00b894, #00d2a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-icon i {
    font-size: 3rem;
    color: white;
}

.success-message h2 {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.success-message p {
    color: #636e72;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.success-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.success-btn.primary {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
}

.success-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.success-btn.secondary {
    background-color: #f8f9fa;
    color: #2d3436;
    border: 1px solid #e9ecef;
}

.success-btn.secondary:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.security-tips {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}

.security-tips h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.security-tips h3 i {
    color: #6c5ce7;
}

.security-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-tips li {
    padding: 0.5rem 0;
    color: #636e72;
    border-bottom: 1px solid #e9ecef;
}

.security-tips li:last-child {
    border-bottom: none;
}

/* Forgot Password Help */
.forgot-password-help {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.help-header {
    text-align: center;
    margin-bottom: 3rem;
}

.help-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.help-header p {
    color: #636e72;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.help-card {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
    border-color: #6c5ce7;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.1);
}

.help-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.help-icon i {
    font-size: 1.5rem;
    color: white;
}

.help-card h3 {
    font-size: 1.3rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.help-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-card li {
    padding: 0.5rem 0;
    color: #636e72;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8f9fa;
}

.help-card li:last-child {
    border-bottom: none;
}

.help-card p {
    color: #636e72;
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.support-link,
.security-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.support-link:hover,
.security-link:hover {
    gap: 0.8rem;
    text-decoration: underline;
}

.contact-info {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 10px;
    padding: 2rem;
    color: white;
    text-align: center;
}

.contact-info h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .forgot-password-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .forgot-password-help {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .forgot-password-hero {
        padding: 2rem 5%;
    }
    
    .forgot-password-header h1 {
        font-size: 2rem;
    }
    
    .forgot-password-steps {
        padding: 2rem;
    }
    
    .steps-indicator {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .steps-indicator::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
    }
    
    .step-text {
        text-align: left;
    }
    
    .code-inputs {
        flex-wrap: wrap;
    }
    
    .code-input {
        width: 50px;
        height: 50px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .help-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .forgot-password-header {
        padding: 2rem 1.5rem;
    }
    
    .forgot-password-steps {
        padding: 1.5rem;
    }
    
    .forgot-password-help {
        padding: 1.5rem;
    }
    
    .step-header h2 {
        font-size: 1.5rem;
    }
    
    .success-message h2 {
        font-size: 1.5rem;
    }
    
    .help-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
}

/* Login Status Alert Styles */
.login-status-alert {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    animation: slideDown 0.5s ease;
}

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

.login-status-alert .alert-content {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.login-status-alert .alert-content i {
    font-size: 1.5rem;
    color: white;
}

.login-status-alert .alert-content span {
    font-size: 1rem;
    font-weight: 500;
}

.login-status-alert .alert-actions {
    display: flex;
    gap: 1rem;
}

.alert-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.alert-btn.primary {
    background: white;
    color: #6c5ce7;
}

.alert-btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.alert-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.alert-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive Design for Login Status */
@media (max-width: 768px) {
    .login-status-alert .alert-actions {
        flex-direction: column;
    }
    
    .alert-btn {
        width: 100%;
    }
}