* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.forgot-password-container {
    display: flex;
    align-items: center;
    justify-content: space-betwen;
    max-width: 1000px;
    width: 100%;
    gap: 2rem;
}

/*Left Side -Branding*/
.branding {
    flex: 1;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo-circle img {
    width: 80px;
    height: 80px;
}

.brand-name {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
}

/*Right Side-Forgot Password Form*/
.forgot-password-box {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.forgot-password-box h2 {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.forgot-password-box p {
    color: #999;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem;
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s, box-shadow 0.3s;
}

.form-group input.error {
    background: #ffe6e6;
    box-shadow: 0 0 0 2px #e74c3c;
}

.form-group input:focus {
    outline: none;
    background: #e8e8e8;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.send-email-button {
    width: 100%;
    padding: 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.send-email-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.send-email-button:active {
    transform: translateY(0);
}

.send-email-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.back-to-login {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.back-to-login a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-to-login a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 900px) {
    .forgot-password-container {
        flex-direction: column;
        gap: 3rem;
    }

    .branding {
        flex-direction: row;
        text-align: center;
    }

    .logo-circle {
        width: 100px;
        height: 100px;
        font-size: 60px;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    .forgot-password-box {
        max-width: 450px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .forgot-password-container {
        gap: 2rem;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
        font-size: 50px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .forgot-password-box {
        padding: 2rem 1.5rem;
    }

    .forgot-password-box h2 {
        font-size: 1.6rem;
    }

    .form-group input {
        padding: 0.8rem;
    }

    .send-email-button {
        padding: 0.9rem;
    }
}