body {
    font-family: Lora-regular;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}


/* Main Container */
.forgot-password-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.forgot-password-wrapper {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 1rem;
    gap: 4rem;
    align-items: center;
}

/* Left Side - Info */
.forgot-password-info {
    flex: 1;
    color: white;
    padding: 2rem;
}

.forgot-password-info h2 {
    font-family: Playfair-bold;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.forgot-password-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.security-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.security-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.security-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.security-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Right Side - Form Card */
.forgot-password-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.forgot-password-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--success-color));
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 2rem;
    height: 2px;
    background: var(--primary-color);
    z-index: 2;
    transition: width 0.5s ease;
    width: 0%;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6c757d;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.step.active .step-circle {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step.completed .step-circle {
    background: var(--success-color);
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Header */
.form-header {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Form Body */
.form-body {
    padding: 0 2rem 2rem;
}

.step-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.step-content.active {
    display: block;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 110, 34, 0.25);
}

.form-control.is-invalid {
    border-color: var(--error-color);
    animation: shake 0.5s ease;
}

.form-control.is-valid {
    border-color: var(--success-color);
}

.invalid-feedback {
    display: block;
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.input-group {
    position: relative;
}

.input-group-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
}

.input-group .form-control {
    padding-left: 2.5rem;
}

/* OTP Input */
.otp-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: var(--transition);
}

.otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 110, 34, 0.25);
    outline: none;
}

.otp-input.filled {
    border-color: var(--success-color);
    background: rgba(40, 167, 69, 0.1);
}

/* Timer */
.timer-container {
    text-align: center;
    margin: 1rem 0;
}

.timer {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.timer.expired {
    color: var(--error-color);
}

.resend-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.resend-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.resend-link.disabled {
    color: #6c757d;
    cursor: not-allowed;
    pointer-events: none;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-weak .strength-fill {
    background: var(--error-color);
    width: 33%;
}

.strength-medium .strength-fill {
    background: var(--warning-color);
    width: 66%;
}

.strength-strong .strength-fill {
    background: var(--success-color);
    width: 100%;
}

.strength-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.strength-weak .strength-text {
    color: var(--error-color);
}

.strength-medium .strength-text {
    color: var(--warning-color);
}

.strength-strong .strength-text {
    color: var(--success-color);
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
    color: white;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 110, 34, 0.3);

}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
    margin-bottom: 1rem;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 110, 34, 0.3);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Success Animation */
.success-animation {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    animation: successBounce 0.6s ease-out;
}

.back-to-login {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.back-to-login a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-login a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successBounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .forgot-password-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .forgot-password-info {
        text-align: center;
        padding: 1rem;
    }

    .forgot-password-info h2 {
        font-size: 2.2rem;
    }

    .forgot-password-card {
        margin: 0 0.5rem;
    }

    .form-body {
        padding: 0 1.5rem 2rem;
    }

    .progress-steps {
        padding: 1.5rem 1.5rem 1rem;
    }

    .otp-container {
        gap: 0.3rem;
    }

    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}



.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}   