﻿input:focus-visible {
    border-bottom: 1px solid #4a7c4a !important;
}

/* Main Section */
.forgot-password-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f4f0 0%, #e8f5e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.forgot-password-container {
    width: 100%;
    max-width: 1200px;
}

.forgot-password-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.forgot-password-card {
    background: white;
    border-radius: 24px;
    /*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
}

.forgot-password-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Left Section */
.forgot-password-image-section {
    background: var(--surface);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
    margin: 8px;
}

.forgot-password-brand {
    text-align: center;
}

.forgot-password-logo-img {
    max-width: 180px; /* adjust size */
    height: auto;
}

.forgot-password-logo-text {
    font-family: "PP Neue Montreal", sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: #4ade80;
}

.forgot-password-logo {
    font-size: 24px;
    font-weight: 700;
    color: #2d5a2d;
    letter-spacing: 2px;
}

.forgot-password-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.forgot-password-main-image {
    width: 100%;
    max-width: 400px;
}



/* Right Section */
.forgot-password-form-section {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-form-container {
    width: 100%;
    max-width: 360px;
}

.forgot-password-header {
    text-align: center;
    margin-bottom: 40px;
}

.forgot-password-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
}

.forgot-password-subtitle {
    font-size: 14px;
    color: var(--color-gray);
}

.forgot-password-form {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.forgot-password-input-group {
    margin-bottom: 24px;
}

.forgot-password-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

.forgot-password-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
}

    .forgot-password-input:focus {
        border-color: var(--success-color-dark);
    }

.forgot-password-submit-btn {
    width: 100%;
    cursor: pointer;
}

.forgot-password-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 20px auto;
    color: var(--gray);
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: none;
}

    .forgot-password-back-link svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.forgot-password-signup {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.forgot-password-signup-text {
    font-size: 14px;
}

.forgot-password-signup-link {
    font-size: 14px;
    color: var(--success-color-dark);
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

    .forgot-password-signup-link:hover {
        color: var(--success-color);
    }

/* Responsive */
@media (max-width: 768px) {
    .forgot-password-content {
        grid-template-columns: 1fr;
    }

    .forgot-password-image-section {
        padding: 30px 20px;
    }

    .forgot-password-form-section {
        padding: 40px 30px;
    }
}


/* Resend Section Styles */
.resend-section {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: slideInUp 0.4s ease-out;
}

    .resend-section p {
        font-weight: 500;
        margin-bottom: 15px;
    }

    .resend-section .forgot-password-input {
        border: 1px solid #dee2e6;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .resend-section .forgot-password-input:focus {
            border-color: #4ade80;
            box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.1);
        }

    .resend-section .btn-lp-primary {
        background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
        border: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .resend-section .btn-lp-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
        }

    .resend-section .forgot-password-back-link {
        color: #6c757d;
        font-size: 13px;
        transition: color 0.2s ease;
    }

        .resend-section .forgot-password-back-link:hover {
            color: #495057;
        }

/* Animation for resend section */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Paper plane animation styles */
@keyframes paperPlaneFly {
    0% {
        transform: scale(1) translateX(0) translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(0.5) translateX(200px) translateY(-100px) rotate(45deg);
        opacity: 0;
    }
}
