﻿/* ===== SIGN IN PAGE ===== */

.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #2c3e50, #34495e);
}

.login-container {
    display: flex;
    width: 750px;
    height: 400px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.2);
}

/* Left branding panel */
.login-brand {
    width: 40%;
    background: #2c3e50;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .login-brand h2 {
        margin-bottom: 10px;
    }

    .login-brand p {
        font-size: 14px;
        opacity: 0.8;
    }

/* Right form panel */
.login-form {
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-form h2 {
        margin-bottom: 20px;
        color: #2c3e50;
    }

    .login-form input {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
    }

        .login-form input:focus {
            outline: none;
            border-color: #16a085;
        }

.login-btn {
    background-color: #2c3e50;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

    .login-btn:hover {
        background-color: #16a085;
    }

.login-error {
    color: red;
    margin-top: 10px;
}
/* Remove scrollbars and make page fit */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* 🔴 This removes scrollbars */
    font-family: Arial, sans-serif;
}

.login-page {
    height: 100vh; /* full viewport height */
    width: 100vw; /* full viewport width */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #2c3e50, #34495e);
}

.login-container {
    display: flex;
    width: 750px;
    max-width: 90vw; /* responsive for smaller screens */
    height: 400px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.2);
}
@media screen and (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 90vw;
        height: auto;
    }

    .login-brand, .login-form {
        width: 100%;
    }

    .login-page {
        overflow: auto; /* allow scrolling if really needed on mobile */
    }
}
.forgot-links {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
}

    .forgot-links a {
        color: #c0392b;
        text-decoration: none;
        font-weight: 500;
    }

        .forgot-links a:hover {
            text-decoration: underline;
        }

.login-success {
    color: green;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}

