﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    height: 100vh;
    background: #f4f8fd;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* layout */
.login-wrapper {
    width: 900px;
    height: 500px;
    background: #ffffff;
    border-radius: 22px;
    display: flex;
    box-shadow: 0 25px 70px rgba(28,70,133,0.18);
    overflow: hidden;
}

/* left side */
.login-left {
    width: 50%;
    padding: 65px;
    background: linear-gradient(180deg,#1e3a8a,#2563eb);
    color: #fff;
    position: relative;
}

    .login-left::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
        bottom: -80px;
        right: -80px;
    }

    .login-left h2 {
        font-size: 36px;
        font-weight: 600;
    }

    .login-left p {
        margin-top: 14px;
        font-size: 15px;
        opacity: 0.9;
    }

    .login-left img {
        width: 230px;
        margin-top: 45px;
    }

/* right form */
.login-card {
    width: 100%;
    padding: 70px 55px;
}

    .login-card h3 {
        font-size: 26px;
        color: #1e3a8a;
        margin-bottom: 35px;
        font-weight: 600;
    }

.input-box {
    border-bottom: 2px solid #c7d2fe;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
}

    .input-box i {
        color: #2563eb;
        font-size: 15px;
    }

    .input-box input {
        border: none;
        outline: none;
        width: 100%;
        padding: 10px 8px;
        font-size: 14px;
    }

/* button */
button {
    width: 100%;
    height: 48px;
    background: #2563eb;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(37,99,235,0.35);
    transition: .3s;
}

    button:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(37,99,235,0.45);
    }

/* forgot */
.forgot {
    display: block;
    text-align: center;
    margin-top: 22px;
    color: #2563eb;
    font-size: 14px;
    cursor: pointer;
}

/* =========================
           Responsive Design
        ========================= */

/* Tablet */
@media (max-width: 992px) {
    .login-wrapper {
        width: 70%;
        height: auto;
        flex-direction: column;
    }

    .login-left,
    form {
        width: 100% !important;
    }

    .login-left {
        padding: 40px;
        text-align: center;
    }

        .login-left img {
            width: 180px;
            margin-top: 25px;
        }

    .login-card {
        padding: 40px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    body {
        padding: 20px;
    }

    .login-wrapper {
        width: 100%;
        border-radius: 18px;
    }

    .login-left {
        padding: 30px 20px;
    }

        .login-left h2 {
            font-size: 26px;
        }

        .login-left p {
            font-size: 14px;
        }

        .login-left img {
            width: 140px;
        }

    .login-card {
        padding: 30px 20px;
    }

        .login-card h3 {
            font-size: 20px;
            margin-bottom: 25px;
        }

    .input-box input {
        font-size: 13px;
    }

    button {
        height: 45px;
        font-size: 14px;
    }
}