* {margin:0; padding:0; box-sizing:border-box;}
        body {font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--background); min-height: 100vh;}
        a {text-decoration:none;}
        ul {list-style:none;}

        html {scroll-behavior: smooth;}
                                                                                        /* ==== Header ==== */
        header {background:#fff; box-shadow:0 2px 10px rgba(0,0,0,0.05); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;}
        .navbar {
            display:flex;
            justify-content:space-between;
            align-items:center;
            padding:20px 60px;
        }
        .logo img {height:60px;}

        .nav-links {display:flex; gap:30px;}
        .nav-links a {
            color:#1a2036;
            font-weight:500;
            transition:0.3s;
        }
        .nav-links a:hover {color:#c07d56}

        section {
            scroll-margin-top: 120px;
        }

                                             /* ==== login section ==== */

                            /* ==============GENERAL=============== */

:root {
    --primary: #3480e2;
    --primary-dark: #2466bd;
    --navy: #1a2036;
    --text: #252b3b;
    --muted: #7c8496;
    --border: #e1e6ef;
    --background: #f5f8fd;
    --white: #ffffff;
}

button,
input {
    font: inherit;
}


                        /* =============MAIN LAYOUt============== */

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}


                        /* =================LEFT VISUAL PANEL============ */

.login-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 8%;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            rgba(26, 32, 54, 0.96),
            rgba(52, 128, 226, 0.88)
        ), url("fg.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

                                    /* Background decoration */

.login-visual::before {
    content: "";
    position: absolute;

    width: 440px;
    height: 440px;

    right: -180px;
    bottom: -160px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.login-visual::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    right: -110px;
    bottom: -90px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}


                                        /* Logo */

.login-logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


                                /* Visual content */

.visual-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: auto 0;
    padding: 60px 0;
}

.visual-label {
    display: inline-block;
    margin-bottom: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(250, 248, 248, 0.3);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.visual-content h1 {
    margin-bottom: 24px;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.3;
}

.visual-content p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.9;
}

.visual-decoration {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.visual-decoration i {
    font-size: 25px;
}

                            /* =====RIGHT CONTENT=========== */

.login-content {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 48px 24px;

    background: var(--white);
}

.login-card {
    width: 100%;
    max-width: 420px;
}

/* Heading */

.login-heading {
    margin-bottom: 36px;
}

.login-subtitle {
    display: block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.login-heading h2 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 36px;
    font-weight: 700;
}

.login-heading p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}


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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.password-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.forgot-password {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


/* Input */

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #929bad;
    font-size: 15px;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    height: 54px;
    padding: 0 48px;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #a7aebe;
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(52, 128, 226, 0.1);
}

/* Password visibility */

.toggle-password {
    position: absolute;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #929bad;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--primary);
}


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

.login-button {
    display: inline-block;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 54px;
    margin-top: 12px;
    color: var(--white);
    background: var(--primary);
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:all 0.3s ease;
    box-shadow: none;
}

.login-button:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(2px);
}

.login-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* ==============================
   MESSAGE
================================ */

.form-message {
    display: none;

    margin-bottom: 14px;
    padding: 12px 14px;

    border-radius: 8px;

    font-size: 13px;
    line-height: 1.6;
}

.form-message.is-visible {
    display: block;
}

.form-message.is-error {
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
}

.form-message.is-success {
    color: #067647;
    background: #ecfdf3;
    border: 1px solid #abefc6;
}


/* ==============================
   REGISTER SECTION
================================ */

.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;

    margin: 30px 0;

    color: #a0a7b5;
    font-size: 12px;
}

.login-divider::before,
.login-divider::after {
    content: "";

    flex: 1;
    height: 1px;

    background: var(--border);
}

.register-prompt {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;

    font-size: 13px;
}

.register-prompt p {
    color: var(--muted);
}

.register-prompt a {
    color: var(--primary);
    font-weight: 700;
}

.register-prompt a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


/* Back to home */

.back-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 36px;

    color: var(--muted);
    font-size: 12px;

    transition: color 0.2s ease;
}

.back-home:hover {
    color: var(--primary);
}


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

@media (max-width: 900px) {

    .login-page {
        grid-template-columns: 0.85fr 1.15fr;
    }

    .login-visual {
        padding: 36px 8%;
    }

    .visual-content h1 {
        font-size: 38px;
    }

    .visual-content p {
        font-size: 14px;
    }

    .login-content {
        padding: 36px 24px;
    }

}


@media (max-width: 650px) {

    .login-page {
        display: block;
    }

    .login-visual {
        display: none;
    }

    .login-content {
        min-height: 100vh;

        padding: 40px 24px;
    }

    .login-card {
        max-width: 420px;
        margin: auto;
    }



    .login-heading {
        margin-bottom: 30px;
    }

    .login-heading h2 {
        font-size: 32px;
    }

    .login-divider {
        margin: 26px 0;
    }

}

                                             /* ==== Footer ==== */
footer{
background:#1a2036;
color: #fff;
padding:60px 20px 20px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.footer-col h3{
margin-bottom:20px;
}

.footer-col p{
line-height:1.6;
color:#ccc;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col ul li a{
color:#ccc;
transition:0.3s;
}

.footer-col ul li a:hover{
color:#f06f24;
}

.social-icons{
display:flex;
gap:15px;
margin-top:10px;
}

.social-icons a{
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
background:#2b3155;
color:#fff;
border-radius:50%;
font-size:18px;
transition:0.3s;
}

.social-icons a:hover{
background:#f06f24;
transform:translateY(-3px);
box-shadow: 0 10px 10px rgba(0,0,0,0.3);
}

.footer-bottom{
text-align:center;
margin-top:40px;
padding-top:20px;
border-top:1px solid rgba(48, 48, 48, 0.38);
color:#aaa;
}