:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --border: #e2e8f0;
    --text-muted: #64748b;
}

* {
    font-family: 'Inter', sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    overflow-x: hidden;
    touch-action: manipulation;
}

.login-container {
    min-height: 100vh;
}

/* LADO ESQUERDO */

.left-side {
    position: relative;
    min-height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1519491050282-cf00c82424b4?q=80&w=2000');
    background-size: cover;
    background-position: center;
}

.left-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .65);
}

.left-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    padding: 60px;
}

.left-content p {
    font-size: 1.1rem;
    max-width: 500px;
    opacity: .9;
}

/* LADO DIREITO */

.right-side {
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

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

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    width: 100%;
    max-width: 260px;
}

.system-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: .95rem;
}

.form-label {
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    height: 55px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.form-control:focus {
    box-shadow: none;
    border-color: #94a3b8;
}

.input-group-text {
    border-radius: 12px 0 0 12px;
    background: #f8fafc;
}

.btn-login {
    height: 55px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid #dbe3ec;
    font-weight: 600;
    transition: .3s;
}

.btn-login:hover {
    background: #f8fafc;
    color: var(--primary);
    border-color: #cbd5e1;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #94a3b8;
    font-size: .85rem;
}

/* TABLET (< 992px) */
@media (max-width: 991px) {
    .left-side {
        min-height: 220px;
    }

    .left-content {
        padding: 28px;
        justify-content: flex-end;
    }

    .left-content p {
        font-size: 1rem;
    }

    .right-side {
        padding: 40px 30px;
    }
}

/* MOBILE (< 576px) */
@media (max-width: 575px) {
    html, body {
        height: 100%;
        overflow: hidden;
    }

    .left-side {
        display: none;
    }

    .right-side {
        height: 100vh;
        overflow: hidden;
        padding: 28px 24px;
        align-items: center;
    }

    .login-card {
        width: 100%;
    }

    .logo {
        margin-bottom: 16px;
    }

    .logo img {
        max-width: 190px;
    }

    .system-desc {
        margin-bottom: 18px;
        font-size: .88rem;
    }

    .form-control {
        height: 48px;
        font-size: 16px;
    }

    .mb-3 {
        margin-bottom: 12px !important;
    }

    .mb-4 {
        margin-bottom: 16px !important;
    }

    .btn-login {
        height: 48px;
    }

    .footer {
        margin-top: 18px;
    }
}
