:root {
    --primary-color: #2c5364;
    --secondary-color: #203a43;
    --accent-color: #0f2027;
    --light-gray: #f1f5f9;
    --dark: #1a202c;
    --gray: #4a5568;
    --error: #fff;
}

/* Main Layout */
.auth-main-layout {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* Left side: background image */
.auth-bg-side {
    flex: 1.3;
    background: url('../Img/bg.jpeg') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 350px;
}

.auth-bg-overlay {
    width: 100%;
    height: 100%;
    background: rgba(44,83,100,0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.auth-logo {
    max-width: 140px;
    margin-bottom: 1.5rem;
}

.auth-bg-overlay h2 {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 2px 8px rgba(32,58,67,0.25);
}

/* Right side: form */
.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 370px;
    background: var(--light-gray);
}

/* Forgot Password Card */
.forgot-container {
    background-color: #fff;
    padding: 3rem 2.5rem 2rem 2.5rem;
    border-radius: 1.8rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.13);
    width: 100%;
    max-width: 450px;
}

.forgot-container h1 {
    font-size: 2rem;
    color:  #D12027;
    margin-bottom: 0.5rem;
    text-align: center;
}

.forgot-container p {
    color:  #58595B;
    text-align: center;
    margin-bottom: 1.7rem;
}

.forgot-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.forgot-form input[type="email"] {
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.3s;
    background: #f8fafc;
}

.forgot-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 83, 100, 0.1);
}

.forgot-form .btn {
    background-color: #005028;
    color: #fff;
    font-weight: bold;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 1.07rem;
    cursor: pointer;
    margin-top: 0.2rem;
    transition: background-color 0.3s ease;
}

.forgot-form .btn:hover {
    background-color: #D12027;
}

.error {
    background-color: #fff;
    color: #231F20;
    padding: 0.7rem 1rem;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.success {
    background-color: #fff;
    color: #231F20;
    padding: 0.7rem 1rem;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.login-link {
    text-align: center;
    margin-top: 1.4rem;
    font-size: 0.98rem;
}

.login-link a {
    color: #D12027;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .auth-main-layout {
        flex-direction: column;
    }
    .auth-bg-side {
        min-height: 240px;
        min-width: 100vw;
        flex: none;
        width: 100vw;
    }
    .auth-form-side {
        min-width: 100vw;
        width: 100vw;
        flex: none;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .forgot-container {
        border-radius: 1.2rem;
    }
}