:root {
            --azul: #2563eb;
            --azul-escuro: #173b8f;
            --texto: #172033;
            --cinza: #64748b;
            --borda: #e2e8f0;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: "Segoe UI", Arial, sans-serif;
            color: var(--texto);
            background: #f1f5f9;
        }

        .login-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 35px 20px;
            background:
                radial-gradient(circle at 12% 15%, rgba(96,165,250,.35), transparent 32%),
                radial-gradient(circle at 90% 85%, rgba(37,99,235,.25), transparent 30%),
                linear-gradient(135deg, #0f2557, #1d4ed8 55%, #2563eb);
        }

        .login-card {
            width: 100%;
            max-width: 1040px;
            min-height: 590px;
            display: grid;
            grid-template-columns: 0.95fr 1.05fr;
            overflow: hidden;
            background: #fff;
            border-radius: 25px;
            box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
        }

        .login-brand {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 45px 35px;
            overflow: hidden;
            text-align: center;
            color: #fff;
            background: linear-gradient(155deg, #16377e, #2563eb);
        }

        .login-brand::before,
        .login-brand::after {
            content: "";
            position: absolute;
            width: 260px;
            height: 260px;
            border: 1px solid rgba(255,255,255,.12);
            border-radius: 50%;
        }

        .login-brand::before {
            top: -115px;
            left: -105px;
        }

        .login-brand::after {
            right: -120px;
            bottom: -125px;
            width: 330px;
            height: 330px;
        }

        .brand-content {
            position: relative;
            z-index: 1;
        }

        .brand-logo {
            width: 145px;
            height: 145px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            padding: 16px;
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 15px 35px rgba(0,0,0,.16);
        }

        .brand-logo img {
            display: block;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .login-brand h1 {
            margin: 0 0 14px;
            font-size: 29px;
            line-height: 1.3;
            font-weight: 750;
            color: #fff;
        }

        .login-brand p {
            max-width: 330px;
            margin: 0 auto;
            color: rgba(255,255,255,.82);
            font-size: 14px;
            line-height: 1.8;
        }

        .brand-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 28px;
            padding: 9px 15px;
            border: 1px solid rgba(255,255,255,.22);
            border-radius: 30px;
            background: rgba(255,255,255,.10);
            font-size: 12px;
        }

        .login-form-area {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 55px 60px;
        }

        .form-heading {
            margin-bottom: 32px;
        }

        .form-heading .eyebrow {
            display: inline-block;
            margin-bottom: 12px;
            color: var(--azul);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .form-heading h2 {
            margin: 0 0 10px;
            font-size: 30px;
            font-weight: 750;
            letter-spacing: -.8px;
        }

        .form-heading p {
            margin: 0;
            color: var(--cinza);
            font-size: 14px;
            line-height: 1.7;
        }

        .field-group {
            margin-bottom: 21px;
        }

        .field-group label {
            display: block;
            margin-bottom: 9px;
            color: #334155;
            font-size: 13px;
            font-weight: 650;
        }

        .field-wrap {
            position: relative;
        }

        .field-wrap > .field-icon {
            position: absolute;
            top: 50%;
            left: 16px;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 16px;
            pointer-events: none;
        }

        .field-control {
            width: 100%;
            height: 52px;
            padding: 0 45px;
            border: 1px solid var(--borda);
            border-radius: 12px;
            outline: none;
            background: #f8fafc;
            color: var(--texto);
            font-size: 13px;
            transition: border-color .2s, box-shadow .2s, background .2s;
        }

        .field-control:focus {
            border-color: var(--azul);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(37,99,235,.10);
        }

        select.field-control {
            cursor: pointer;
            appearance: none;
            padding-right: 35px;
        }

        .select-arrow {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            pointer-events: none;
        }

        .password-toggle {
            position: absolute;
            top: 50%;
            right: 14px;
            transform: translateY(-50%);
            border: 0;
            padding: 5px;
            background: transparent;
            color: #64748b;
            cursor: pointer;
        }

        .password-toggle:hover {
            color: var(--azul);
        }

        .login-button {
            width: 100%;
            height: 53px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 7px;
            border: 0;
            border-radius: 12px;
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            box-shadow: 0 9px 20px rgba(37,99,235,.23);
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: transform .2s, box-shadow .2s;
        }

        .login-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 13px 25px rgba(37,99,235,.30);
        }

        .login-alert {
            margin: 0 0 22px;
            padding: 13px 15px;
            border: 1px solid #fecaca;
            border-radius: 10px;
            background: #fef2f2;
            color: #b91c1c;
            font-size: 12px;
            line-height: 1.6;
        }

        .login-alert i {
            margin-right: 7px;
        }

        .license-alert {
            margin-bottom: 24px;
            padding: 14px;
            border: 1px solid #fecaca;
            border-radius: 12px;
            background: #fff1f2;
            color: #be123c;
            font-size: 12px;
            line-height: 1.7;
        }

        .license-alert strong {
            display: block;
            margin-bottom: 3px;
            font-size: 13px;
        }

        .login-footer {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #f1f5f9;
            color: #94a3b8;
            font-size: 11px;
            text-align: center;
        }

        .login-footer a {
            color: var(--azul);
            text-decoration: none;
        }

        .login-footer a:hover {
            text-decoration: underline;
        }

        @media (max-width: 850px) {
            .login-card {
                max-width: 520px;
                grid-template-columns: 1fr;
            }

            .login-brand {
                padding: 35px 25px;
            }

            .brand-logo {
                width: 95px;
                height: 95px;
                margin-bottom: 20px;
                border-radius: 18px;
            }

            .login-brand h1 {
                font-size: 23px;
            }

            .login-brand p {
                font-size: 13px;
            }

            .brand-tag {
                margin-top: 18px;
            }

            .login-form-area {
                padding: 40px 35px;
            }

            .form-heading h2 {
                font-size: 27px;
            }
        }

        @media (max-width: 480px) {
            .login-page {
                padding: 15px;
            }

            .login-card {
                border-radius: 18px;
            }

            .login-brand {
                padding: 28px 20px;
            }

            .login-form-area {
                padding: 32px 23px;
            }

            .form-heading {
                margin-bottom: 25px;
            }

            .form-heading h2 {
                font-size: 25px;
            }
        }