﻿/* =========================
           ROOT
========================= */

:root {
    --primary: #1E73C8;
    --secondary: #15579A;
    --success: #16A34A;
    --warning: #F59E0B;
    --danger: #DC2626;
    --bg: #F4F7FC;
    --white: #FFFFFF;
    --text: #1F2937;
    --gray: #6B7280;
    --border: #E5E7EB;
}

/* =========================
           RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins',sans-serif;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* =========================
           LOGIN CONTAINER
========================= */

.login-container {
    width: 100%;
    max-width: 420px;
}

/* =========================
           LOGIN CARD
========================= */

.login-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =========================
           TOP SECTION
========================= */

.login-top {
    background: white;
    padding: 35px 25px 25px;
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.company-logo {
    width: 280px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.login-top h1 {
    color: #1E73C8;
    font-size: 28px;
    font-weight: 700;
}

.login-top p {
    margin-top: 8px;
    color: #6B7280;
    font-size: 14px;
}

/* =========================
           FORM SECTION
========================= */

.login-body {
    padding: 30px 25px;
}

/* =========================
           FORM GROUP
========================= */

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* =========================
           INPUT BOX
========================= */

.input-box {
    position: relative;
}

.input-box input {
    width: 100%;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0 18px 0 50px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
    font-family: 'Poppins',sans-serif;
}

.input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30,115,200,0.10);
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--gray);
}

/* =========================
           LOGIN BUTTON
========================= */

.btn-login {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    background: linear-gradient( 135deg, var(--primary), var(--secondary) );
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins',sans-serif;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30,115,200,0.25);
}

/* =========================
           EXTRA LINKS
========================= */

.extra-links {
    margin-top: 20px;
    text-align: center;
}

.extra-links a {
    text-decoration: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

/* =========================
           FOOTER TEXT
========================= */

.footer-text {
    margin-top: 25px;
    text-align: center;
    color: var(--gray);
    font-size: 13px;
}

/* =========================
           RESPONSIVE
========================= */

@@media(max-width:480px) {

    .login-top {
        padding: 40px 20px;
    }

    .login-body {
        padding: 25px 20px;
    }

    .login-top h1 {
        font-size: 24px;
    }
}
