﻿
/* =========================================
   LOGIN PAGE
========================================= */

.login-page {
    background: #f1f5f9;
}


/* =========================================
   LOGIN SECTION
========================================= */

.login-section {
    min-height: 100vh;
    padding: 70px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   LOGIN CONTAINER
========================================= */

.login-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 45px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}


/* =========================================
   LOGIN HEADING
========================================= */

.login-heading {
    text-align: center;
    margin-bottom: 35px;
}

    .login-heading h1 {
        font-size: 34px;
        color: #172554;
        margin: 12px 0;
    }

    .login-heading p {
        color: #64748b;
        font-size: 15px;
        line-height: 1.7;
    }


/* =========================================
   FORM GROUP
========================================= */

.login-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

    .login-form .form-group label {
        font-size: 14px;
        font-weight: 600;
        color: #334155;
        margin-bottom: 9px;
    }


    /* =========================================
   INPUT FIELDS
========================================= */

    .login-form .form-group input {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 16px;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        background: #ffffff;
        color: #0f172a;
        font-size: 15px;
        outline: none;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        .login-form .form-group input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
        }


/* =========================================
   LOGIN OPTIONS
========================================= */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 5px 0 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
}

    .remember-me input {
        accent-color: #2563eb;
    }

.login-options a {
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .login-btn:hover {
        background: #1d4ed8;
        transform: translateY(-2px);
    }


/* =========================================
   REGISTER LINK
========================================= */

.register-link {
    text-align: center;
    margin-top: 25px;
    color: #64748b;
    font-size: 14px;
}

    .register-link a {
        color: #2563eb;
        font-weight: 700;
        text-decoration: none;
    }


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 600px) {

    .login-section {
        padding: 40px 15px;
    }

    .login-container {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .login-heading h1 {
        font-size: 28px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}
