﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

/* ===========================
   MAIN LAYOUT
=========================== */

.login-wrapper {
    display: flex;
    height: 100vh;
}

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

.login-panel {
    width: 36%;
    min-width: 500px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 40px;
}

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

/* ===========================
   LOGO
=========================== */

.logo-section {
    text-align: center;
}

.logo-box {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 18px;
    background: linear-gradient(135deg,#2563eb,#4f46e5);
    color: white;
    font-size: 28px;
    line-height: 70px;
    box-shadow: 0 15px 30px rgba(37,99,235,.20);
}

/* ===========================
   TITLE
=========================== */

.title {
    text-align: center;
    margin: 15px 0 20px;
}

    .title h2 {
        font-size: 32px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 5px;
    }

    .title p {
        color: #64748b;
        font-size: 14px;
        line-height: 1.4;
    }

/* ===========================
   INPUTS
=========================== */

.input-box {
    position: relative;
    margin-bottom: 12px;
}

    .input-box i {
        position: absolute;
        left: 18px;
        top: 18px;
        color: #64748b;
    }

    .input-box input {
        width: 100%;
        height: 52px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        padding-left: 50px;
        font-size: 14px;
        transition: all .3s ease;
    }

        .input-box input:focus {
            outline: none;
            border-color: #2563eb;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(37,99,235,.08);
        }

/* ===========================
   CAPTCHA
=========================== */

.captcha-section {
    margin-bottom: 12px;
}

.captcha-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.captcha-image {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #dbe3ee;
    background: #ffffff;
}

.captcha-refresh {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    transition: .3s;
}

    .captcha-refresh:hover {
        background: #1d4ed8;
    }

/* ===========================
   REMEMBER ME
=========================== */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
}

    .login-options label {
        margin-bottom: 0;
    }

    .login-options a {
        text-decoration: none;
        color: #2563eb;
    }

        .login-options a:hover {
            color: #1d4ed8;
        }

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

.btn-login {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg,#1d4ed8,#4f46e5);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

    .btn-login:hover {
        box-shadow: 0 10px 25px rgba(37,99,235,.20);
    }

/* ===========================
   FOOTER
=========================== */

.organization-name {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.footer-text {
    text-align: center;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

/* ===========================
   RIGHT PANEL
=========================== */

.branding-panel {
    flex: 1;
    background: linear-gradient(135deg,#0f172a,#1e3a8a,#2563eb);
    position: relative;
    overflow: hidden;
}

    .branding-panel::before {
        content: "";
        position: absolute;
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        top: -250px;
        right: -150px;
    }

    .branding-panel::after {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(255,255,255,.04);
        bottom: -150px;
        left: -100px;
    }

.branding-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    color: white;
    position: relative;
    z-index: 2;
}

.system-badge {
    width: fit-content;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255,255,255,.15);
    margin-bottom: 20px;
    font-size: 14px;
}

.branding-content h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
}

.branding-content p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.6;
    opacity: .9;
}

.stats {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.stat-card {
    min-width: 180px;
    padding: 20px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
}

    .stat-card h3 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .stat-card span {
        font-size: 14px;
    }

/* ===========================
   MOBILE
=========================== */

@media (max-width: 991px) {

    .branding-panel {
        display: none;
    }

    .login-wrapper {
        display: flex;
        height: 100vh;
    }

    .login-panel {
        width: 100%;
        min-width: 100%;
        padding: 20px;
    }

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

    .title h2 {
        font-size: 28px;
    }
}
