* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    height: 100vh;
    overflow: hidden;
}

.login-wrapper {
    display: flex;
    height: 100vh;
}

.login-left {
    width: 55%;
    position: relative;
    background: url("../images/login-bg.webp") center center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 80px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(8, 38, 69, .82),
            rgba(15, 76, 129, .70));
}

.content {
    position: relative;
    z-index: 5;
    color: white;
    max-width: 550px;
    animation: fadeLeft .8s ease;
}

.logo {
    height: 75px;
    margin-bottom: 20px;
}

.system {
    display: inline-block;
    margin-bottom: 25px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .9;
}

.content h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.content p {
    font-size: 18px;
    line-height: 32px;
    opacity: .95;
    margin-bottom: 35px;
}

.features {
    display: flex;
    gap: 30px;
    font-weight: 600;
}

.login-right {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background: #F7F9FC;
}

.login-card {
    width: 430px;
    background:
        rgba(255, 255, 255, .92);
    backdrop-filter:
        blur(18px);
    border-radius: 24px;
    padding: 50px;
    border:
        1px solid rgba(255, 255, 255, .45);
    box-shadow:
        0 30px 70px rgba(15, 76, 129, .08);
    animation:
        fadeUp .8s ease;
}

/* ======================================
   Login Card
====================================== */
.login-card h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 10px;
}

.login-card>p {
    color: #6B7280;
    margin-bottom: 35px;
    font-size: 15px;
}

/* ======================================
   Alert
====================================== */
.alert {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ======================================
   Inputs
====================================== */
.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.input-group input {
    width: 100%;
    height: 54px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 15px;
    transition: .25s;
    background: #fff;
}

.input-group input:focus {
    border-color: #0F4C81;
    box-shadow:
        0 0 0 4px rgba(15, 76, 129, .12);
    outline: none;
}

/* ======================================
 Password
====================================== */
.password-box {
    position: relative;
}

.password-box button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: #6B7280;
}

/* ======================================
 Options
====================================== */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    font-size: 14px;
}

.login-options a {
    text-decoration: none;
    color: #0F4C81;
    font-weight: 600;
}

.login-options label {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ======================================
 Button
====================================== */
.login-btn {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background:
        linear-gradient(135deg,
            #0F4C81,
            #155A96);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}

.login-btn:hover {
    transform:
        translateY(-3px);
    box-shadow:
        0 20px 35px rgba(15, 76, 129, .30);
}

.login-btn:active {
    transform:
        scale(.98);
}

.login-btn:hover {
    background: #0B3D67;
    transform: translateY(-2px);
    box-shadow:
        0 15px 30px rgba(15, 76, 129, .25);
}

/* ======================================
 Footer
====================================== */
.version {
    text-align: center;
    margin-top: 30px;
    color: #9CA3AF;
    font-size: 13px;
}

/* ======================================
 Animation
====================================== */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================
 Responsive
====================================== */
@media(max-width:992px) {
    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
        padding: 25px;
    }

    .login-card {
        width: 100%;
        max-width: 430px;
        padding: 35px;
    }
}

/* ===========================
Floating Input
===========================*/
.field {
    position: relative;
    margin-bottom: 22px;
}

.field input {
    width: 100%;
    height: 58px;
    padding:
        20px 48px 0 52px;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    font-size: 15px;
    background: white;
    transition: .25s;
}

.field input:focus {
    border-color: #0F4C81;
    box-shadow:
        0 0 0 5px rgba(15, 76, 129, .10);
    outline: none;
}

.field label {
    position: absolute;
    left: 52px;
    top: 18px;
    font-size: 15px;
    color: #6B7280;
    transition: .2s;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label {
    top: -9px;
    font-size: 12px;
    color: #0F4C81;
    font-weight: 600;
}

.icon {
    position: absolute;
    left: 18px;
    top: 20px;
    font-size: 18px;
    color: #94A3B8;
    z-index: 2;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #64748B;
}

.feature-card {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 16px;
    background:
        rgba(255, 255, 255, .10);
    backdrop-filter: blur(8px);
}

.feature-card i {
    font-size: 28px;
}

.feature-card strong {
    display: block;
    margin-bottom: 4px;
}

.feature-card small {
    opacity: .85;
}