/* Página: auth/login */

        /* ── Reset & base ─────────────────────────────────── */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        :root {
            --login-accent:    #3b82f6;
            --login-accent-d:  #1d4ed8;
            --login-radius:    12px;
            --login-panel-bg:  #f7f8fc;
            --login-form-bg:   #ffffff;
            --login-text:      #111827;
            --login-muted:     #6b7280;
            --login-border:    #e5e7eb;
            --login-input-bg:  #f3f4f6;
            --login-shadow:    0 32px 80px rgba(0,0,0,.13);
        }
        html[sw-theme="dark"] {
            --login-panel-bg:  #0f172a;
            --login-form-bg:   #1e293b;
            --login-text:      #f1f5f9;
            --login-muted:     #94a3b8;
            --login-border:    #334155;
            --login-input-bg:  #0f172a;
            --login-shadow:    0 32px 80px rgba(0,0,0,.5);
        }

        body {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--sw-f-san, 'Outfit', system-ui, sans-serif);
            background: var(--login-panel-bg);
            background-image: url('/assets/images/bg1.jpg');
            background-size: cover;
            background-position: center;
            padding: 2rem;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.85);
            z-index: 0;
            transition: background .4s;
        }
        html[sw-theme="light"] body::before {
            background: rgba(255,255,255,.62);
        }

        /* ── Card principal ───────────────────────────────── */
        .lc-wrap {
            position: relative;
            z-index: 1;
            display: flex;
            width: 100%;
            max-width: 920px;
            min-height: 560px;
            background: var(--login-form-bg);
            border-radius: var(--login-radius);
            box-shadow: var(--login-shadow);
            overflow: hidden;
        }

        /* ── Painel esquerdo — Formulário ─────────────────── */
        .lc-form-panel {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 3.6rem 3.8rem;
        }

        .lc-logo {
            display: flex;
            align-items: center;
            gap: .8rem;
            margin-bottom: 3rem;
        }
        .lc-logo img {
            width: 36px;
            height: 36px;
            object-fit: contain;
        }
        .lc-logo-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--login-text);
            letter-spacing: -.01em;
        }

        .lc-heading {
            font-size: 2.4rem;
            font-weight: 700;
            color: var(--login-text);
            letter-spacing: -.02em;
            line-height: 1.2;
            margin-bottom: .5rem;
        }
        .lc-sub {
            font-size: 1.4rem;
            color: var(--login-muted);
            margin-bottom: 2.8rem;
        }

        /* Inputs */
        .lc-field {
            margin-bottom: 1.4rem;
        }
        .lc-label {
            display: block;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--login-muted);
            margin-bottom: .5rem;
            text-transform: uppercase;
            letter-spacing: .06em;
        }
        .lc-input-wrap {
            position: relative;
        }
        .lc-input-wrap .lc-ico {
            position: absolute;
            left: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--login-muted);
            font-size: 1.6rem;
            pointer-events: none;
        }
        .lc-input {
            width: 100%;
            height: 4.8rem;
            border-radius: 12px;
            border: 1.5px solid var(--login-border);
            background: var(--login-input-bg);
            color: var(--login-text);
            font-size: 1.5rem;
            font-family: inherit;
            padding: 0 3.8rem 0 3.8rem;
            outline: none;
            transition: border-color .2s, box-shadow .2s;
        }
        .lc-input:focus {
            border-color: var(--login-accent);
            box-shadow: 0 0 0 3px rgba(59,130,246,.15);
        }
        .lc-input::placeholder { color: var(--login-muted); opacity: .7; }

        .lc-eye-btn {
            position: absolute;
            right: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--login-muted);
            font-size: 1.6rem;
            cursor: pointer;
            padding: .4rem;
            display: flex;
            align-items: center;
        }
        .lc-eye-btn:hover { color: var(--login-accent); }

        /* Footer do form */
        .lc-form-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
        }
        .lc-remember {
            display: flex;
            align-items: center;
            gap: .6rem;
            font-size: 1.35rem;
            color: var(--login-muted);
            cursor: pointer;
            user-select: none;
        }
        .lc-remember input[type=checkbox] { accent-color: var(--login-accent); width: 1.5rem; height: 1.5rem; cursor: pointer; }

        /* Botão */
        .lc-btn {
            width: 100%;
            height: 5rem;
            border-radius: 12px;
            border: none;
            background: linear-gradient(135deg, var(--login-accent), var(--login-accent-d));
            color: #fff;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: .05em;
            cursor: pointer;
            transition: opacity .2s, transform .12s, box-shadow .2s;
            box-shadow: 0 6px 20px rgba(59,130,246,.35);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .7rem;
        }
        .lc-btn:hover  { opacity: .92; box-shadow: 0 8px 24px rgba(59,130,246,.45); }
        .lc-btn:active { transform: scale(.98); }
        .lc-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

        /* ── Painel direito — Visual/Branding ─────────────── */
        .lc-visual {
            width: 400px;
            flex-shrink: 0;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            overflow: hidden;

            /* ── TROQUE AQUI por cliente: gradiente ou imagem ── */
            background:
                linear-gradient(160deg, #1d4ed8 0%, #3b82f6 40%, #60a5fa 70%, #93c5fd 100%);
        }

        /* Bolhas decorativas */
        .lc-bubble {
            position: absolute;
            border-radius: 50%;
            filter: blur(2px);
            opacity: .25;
        }
        .lc-bubble-1 {
            width: 260px; height: 260px;
            background: radial-gradient(circle, #fff 0%, transparent 70%);
            top: -60px; right: -60px;
        }
        .lc-bubble-2 {
            width: 180px; height: 180px;
            background: radial-gradient(circle, #93c5fd 0%, transparent 70%);
            bottom: 80px; left: -40px;
            opacity: .35;
        }
        .lc-bubble-3 {
            width: 120px; height: 120px;
            background: radial-gradient(circle, #fff 0%, transparent 70%);
            top: 45%; left: 50%;
            transform: translate(-50%,-50%);
            opacity: .12;
        }

        /* Imagem central — troque o src por cliente */
        .lc-visual-img {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -58%);
            width: 220px;
            height: 220px;
            object-fit: contain;
            filter: drop-shadow(0 20px 40px rgba(0,0,0,.25));
        }

        /* Rodapé do painel visual */
        .lc-visual-footer {
            position: relative;
            z-index: 2;
            padding: 2.4rem 2.8rem;
            background: rgba(0,0,0,.18);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
        .lc-visual-tag {
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: rgba(255,255,255,.6);
            margin-bottom: .3rem;
        }
        .lc-visual-title {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -.02em;
            line-height: 1.2;
            margin-bottom: .4rem;
        }
        .lc-visual-desc {
            font-size: 1.3rem;
            color: rgba(255,255,255,.7);
        }

        /* ── Tema toggle (FAB canto) ─────────────────────── */
        .lc-theme-btn {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 4rem;
            height: 4rem;
            border-radius: 50%;
            border: 1.5px solid var(--login-border);
            background: var(--login-form-bg);
            color: var(--login-muted);
            font-size: 1.6rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 14px rgba(0,0,0,.12);
            transition: background .2s, border-color .2s;
        }
        .lc-theme-btn:hover { border-color: var(--login-accent); color: var(--login-accent); }

        /* ── Mobile ───────────────────────────────────────── */
        @media (max-width: 700px) {
            body {
                padding: 1.2rem;
                align-items: center;
                justify-content: center;
                min-height: 100vh;
            }
            .lc-wrap {
                flex-direction: column;
                min-height: unset;
                width: 100%;
                max-width: 100%;
            }
            .lc-visual {
                width: 100%;
                height: 180px;
                justify-content: flex-end;
                order: 2;
            }
            .lc-visual-img {
                top: 38%;
                width: 120px;
                height: 120px;
            }
            .lc-form-panel {
                padding: 2.4rem 2rem;
                order: 1;
            }
            .lc-heading { font-size: 2rem; }
        }

@keyframes spin { to { transform: rotate(360deg); } }

.spin { animation: spin 1s linear infinite; }
