﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
}

/* BACKGROUND */
.page-bg {
    height: 100vh;
    background: linear-gradient(135deg, #0d6efd, #003a8f);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARD */
.auth-card {
    background: #ffffff;
    width: 90%;
    max-width: 1050px;
    height: 600px;
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

/* LEFT */
.auth-left {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    width: 90px;
    margin-bottom: 20px;
}

.auth-left h1 {
    font-size: 34px;
    color: #003a8f;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group input {
        width: 100%;
        padding: 14px;
        border-radius: 10px;
        border: 1px solid #ccc;
        font-size: 14px;
    }

        .form-group input:focus {
            outline: none;
            border-color: #0d6efd;
        }

.btn-login {
    margin-top: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #0d6efd;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-login:hover {
        background: #003a8f;
    }

.footer-text {
    margin-top: 30px;
    font-size: 12px;
    color: #777;
}

/* RIGHT */
.auth-right {
    flex: 1;
    position: relative;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #0d6efd, #001f4d);
}


    /* KWSC WATERMARK */
    .auth-right::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(13, 110, 253, 0.6), rgba(0, 31, 77, 0.6) ), url('../images/splash-bg.jpeg') center / cover no-repeat;
        opacity: 0.9; /* 👈 ONLY IMAGE OPACITY */
        z-index: 1;
    }


.illustration-overlay {
    position: relative;
    z-index: 2;
    padding: 60px;
}

    .illustration-overlay h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .illustration-overlay ul {
        list-style: none;
    }

    .illustration-overlay li {
        font-size: 15px;
        margin-bottom: 12px;
    }

/* RESPONSIVE */
@media (max-width: 900px) {
    .auth-card {
        flex-direction: column;
        height: auto;
    }

    .auth-right {
        display: none;
    }

    .auth-left {
        padding: 40px;
    }
}
