﻿/* ═══════════════════════════════════════════════════════
   ENCARGA Login — Clean Light Design
   White left panel · Light-blue right panel
   ═══════════════════════════════════════════════════════ */

:root {
    --brand-dark: #0F172A;
    --brand-blue: #2563EB;
    --blue-hover: #1D4ED8;
    --blue-xlight: #EFF6FF;
    --blue-light: #DBEAFE;
    --purple-light: #EDE9FE;
    --green-light: #DCFCE7;
    --green-acc: #10B981;
    --gray-100: #F8FAFC;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --white: #FFFFFF;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 14px;
    --radius-lg: 20px;
    --tr: .28s cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--white);
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════ */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* LEFT: Form (white) */
.login-left {
    flex: 0 0 44%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 2;
}

/* Hide legacy particles/grid */
#loginParticles {
    display: none !important;
}

.login-left::before {
    display: none !important;
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    animation: fadeSlideUp .5s ease-out;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RIGHT: Visual panel */
.login-right {
    flex: 0 0 56%;
    background:
        radial-gradient(ellipse 420px 360px at -8% 108%, rgba(199, 222, 252, .55) 0%, transparent 70%),
        radial-gradient(ellipse 520px 460px at 112% 105%, rgba(191, 214, 250, .5) 0%, transparent 70%),
        linear-gradient(145deg, #EBF3FF 0%, #F5F9FF 40%, #EEF4FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Dot grid — top right corner */
.login-right::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 150px;
    top: 32px;
    right: 40px;
    background-image: radial-gradient(rgba(148, 163, 184, .35) 1.6px, transparent 1.6px);
    background-size: 18px 18px;
    pointer-events: none;
    z-index: 0;
    opacity: .8;
}

.login-right::before {
    display: none !important;
}

.login-neural-bg {
    display: none !important;
}

.right-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    text-align: center;
    animation: fadeSlideLeft .6s ease-out .2s both;
}

/* ═══════════ SHOWCASE STAGE (mockup + cards + robot) ═══════════ */
.showcase-stage {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 0;
    padding-bottom: 0;
}

/* Dashboard mockup */
.dash-mockup {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(37, 99, 235, .18), 0 6px 18px rgba(15, 23, 42, .08);
    border: 1px solid rgba(37, 99, 235, .08);
    animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

.dm-sidebar {
    width: 46px;
    background: linear-gradient(180deg, #1E293B 0%, #0F1E38 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 16px;
    flex-shrink: 0;
}

.dm-logo {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--brand-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
}

.dm-nav-dot {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
}

.dm-main {
    flex: 1;
    padding: 12px 14px;
    min-width: 0;
}

.dm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dm-title {
    font-size: .72rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.dm-top-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dm-top-icons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E2E8F0;
}

.dm-top-icons .dm-avatar {
    background: linear-gradient(135deg, #2563EB, #60A5FA);
}

.dm-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.dm-stat {
    background: #F8FAFF;
    border: 1px solid #EEF2F9;
    border-radius: 9px;
    padding: 8px 7px;
    text-align: left;
}

.dm-stat small {
    display: block;
    font-size: .5rem;
    color: var(--gray-400);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dm-stat b {
    font-size: .82rem;
    color: var(--brand-dark);
    font-weight: 800;
}

.dm-stat em {
    display: block;
    font-style: normal;
    font-size: .5rem;
    font-weight: 700;
    margin-top: 1px;
}

.dm-stat em.up {
    color: #16A34A;
}

.dm-charts {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 8px;
}

.dm-chart-line,
.dm-chart-donut {
    background: #F8FAFF;
    border: 1px solid #EEF2F9;
    border-radius: 9px;
    padding: 8px;
    text-align: left;
}

.dm-chart-line small,
.dm-chart-donut small {
    display: block;
    font-size: .5rem;
    color: var(--gray-400);
    margin-bottom: 5px;
}

.dm-spark {
    width: 100%;
    height: 48px;
    display: block;
}

.dm-donut {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin: 2px auto 6px;
    background: conic-gradient(#2563EB 0 65%, #93C5FD 65% 85%, #E2E8F0 85% 100%);
    position: relative;
}

.dm-donut::after {
    content: '';
    position: absolute;
    inset: 13px;
    background: #F8FAFF;
    border-radius: 50%;
}

.dm-legend {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dm-legend span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .46rem;
    color: var(--gray-500);
}

.dm-legend .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dm-legend .c1 {
    background: #2563EB;
}

.dm-legend .c2 {
    background: #93C5FD;
}

.dm-legend .c3 {
    background: #E2E8F0;
}

/* Floating cards */
.float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 13px;
    padding: 9px 13px;
    box-shadow: 0 10px 28px rgba(37, 99, 235, .14), 0 2px 8px rgba(15, 23, 42, .06);
    animation: cardBob 4.5s ease-in-out infinite;
    white-space: nowrap;
}

.fc-text small {
    display: block;
    font-size: .58rem;
    color: var(--gray-500);
    line-height: 1.2;
}

.fc-text strong {
    font-size: .8rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.fc-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
}

.fc-icon.green {
    background: var(--green-light);
    color: #16A34A;
}

.fc-icon.blue {
    background: var(--blue-light);
    color: var(--brand-blue);
}

.fc-icon.purple {
    background: var(--purple-light);
    color: #7C3AED;
}

.fc-prod {
    top: -18px;
    left: -6px;
    animation-delay: 0s;
}

.fc-sec {
    top: 78px;
    right: -14px;
    animation-delay: 1.4s;
}

.fc-ia {
    top: 150px;
    left: -10px;
    animation-delay: 2.6s;
}

@keyframes cardBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Robot — grande, estático, entre mockup y texto */
.showcase-robot {
    position: relative;
    z-index: 3;
    display: block;
    width: 340px;
    height: auto;
    margin: 1rem auto 0.5rem;
    filter: drop-shadow(0 14px 22px rgba(37, 99, 235, .16));
}

@keyframes fadeSlideLeft {
    from {
        opacity: 0;
        transform: translateX(28px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ═══════════════════════════════════════════════════════
   BRAND / LOGO
   ═══════════════════════════════════════════════════════ */
.brand-header {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: var(--tr);
}

.brand-logo-link:hover {
    transform: translateY(-1px);
}

.brand-logo-link img {
    height: 40px;
    width: auto;
}

.brand-logo-link span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-dark);
    letter-spacing: -.3px;
    text-transform: lowercase;
}

.brand-header h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0 0 .4rem;
}

.brand-header p {
    color: var(--gray-500);
    font-size: .9rem;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   FORM
   ═══════════════════════════════════════════════════════ */
.login-form-card {
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.input-group-float {
    position: relative;
    margin-bottom: 1rem;
}

.form-control-float {
    width: 100%;
    padding: .9rem 1rem .9rem 2.75rem;
    font-size: .9375rem;
    font-family: var(--font);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    color: var(--brand-dark);
    transition: var(--tr);
    outline: none;
}

.form-control-float:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
    background: var(--white);
}

.form-control-float::placeholder {
    color: var(--gray-400);
}

.input-icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: .9rem;
    pointer-events: none;
    transition: var(--tr);
}

.form-control-float:focus~.input-icon {
    color: var(--brand-blue);
}

.toggle-password {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: .4rem;
    border-radius: 8px;
    transition: var(--tr);
    font-size: .85rem;
}

.toggle-password:hover {
    color: var(--gray-600);
}

.form-extras {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.form-extras label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: .85rem;
    cursor: pointer;
}

.form-extras input[type="checkbox"] {
    accent-color: var(--brand-blue);
    width: 15px;
    height: 15px;
}

/* Submit button — blue pill */
.btn-login {
    width: 100%;
    padding: .9rem 1rem;
    font-size: .9375rem;
    font-weight: 600;
    font-family: var(--font);
    color: var(--white);
    background: var(--brand-blue);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--tr);
    box-shadow: 0 4px 16px rgba(37, 99, 235, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(37, 99, 235, .45);
}

.btn-login:active {
    transform: translateY(0);
}

/* Alert */
.alert-custom {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    color: #DC2626;
    padding: .8rem 1rem;
    margin-top: 1rem;
    font-size: .875rem;
    text-align: center;
}

/* Back to landing */
.btn-back-landing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-500);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: var(--tr);
}

.btn-back-landing:hover {
    color: var(--brand-blue);
    background: var(--blue-xlight);
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 1.75rem;
    color: var(--gray-400);
    font-size: .75rem;
    line-height: 1.7;
}

.login-footer a {
    color: var(--brand-blue);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════
   RIGHT PANEL — Dashboard mockup & robot
   ═══════════════════════════════════════════════════════ */
.device-showcase {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.showcase-tablet {
    width: 100%;
    max-width: 400px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, .13), 0 4px 18px rgba(0, 0, 0, .07);
    animation: deviceFloat 5s ease-in-out infinite;
    border: 1px solid rgba(37, 99, 235, .1);
}

@keyframes deviceFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-10px) rotate(.5deg);
    }
}

/* Floating stat cards */
.login-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 14px;
    padding: 10px 14px;
    color: var(--brand-dark);
    animation: cardBob 4s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .1), 0 2px 8px rgba(0, 0, 0, .05);
    z-index: 3;
    white-space: nowrap;
}

.login-float-card small {
    display: block;
    font-size: .68rem;
    color: var(--gray-500);
}

.login-float-card strong {
    font-size: .88rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.lfc-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
}

.lfc-icon.green {
    background: var(--green-light);
    color: #16A34A;
}

.lfc-icon.blue {
    background: var(--blue-light);
    color: var(--brand-blue);
}

.lfc-icon.purple {
    background: var(--purple-light);
    color: #7C3AED;
}

.lfc-1 {
    top: 8%;
    left: 2%;
    animation-delay: 0s;
}

.lfc-2 {
    top: 40%;
    right: 0%;
    animation-delay: 1.2s;
}

.lfc-3 {
    bottom: 12%;
    left: 5%;
    animation-delay: 2.4s;
}

@keyframes cardBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Robot — white style */
.robot-container {
    position: relative;
    display: inline-block;
    margin-top: 0;
    margin-bottom: .5rem;
}

.robot-login {
    width: 200px;
    animation: robotHover 5s ease-in-out infinite;
}

@keyframes robotHover {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.robot-shadow-login {
    width: 100px;
    height: 12px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, .18) 0%, transparent 70%);
    border-radius: 50%;
    margin: 2px auto 0;
    animation: shadowBob 5s ease-in-out infinite;
}

@keyframes shadowBob {

    0%,
    100% {
        transform: scaleX(1);
        opacity: .5;
    }

    50% {
        transform: scaleX(.65);
        opacity: .2;
    }
}

/* Robot SVG specific animations */
.r-antenna-tip {
    animation: antennaPulse 2s ease-in-out infinite;
}

@keyframes antennaPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
        filter: drop-shadow(0 0 6px #2563EB);
    }
}

.r-antenna-ring {
    animation: antennaRing 2.5s ease-out infinite;
}

@keyframes antennaRing {
    0% {
        r: 8;
        opacity: .5;
    }

    100% {
        r: 22;
        opacity: 0;
    }
}

.r-eye {
    animation: eyeBlink 5s ease-in-out infinite;
}

@keyframes eyeBlink {

    0%,
    44%,
    48%,
    100% {
        ry: inherit;
    }

    46% {
        ry: 1;
    }
}

.r-core {
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .7;
    }
}

.r-arm-l {
    animation: armSwingL 5s ease-in-out infinite;
    transform-origin: 23px 140px;
}

.r-arm-r {
    animation: armSwingR 5s ease-in-out infinite;
    transform-origin: 197px 140px;
}

@keyframes armSwingL {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(6deg);
    }
}

@keyframes armSwingR {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-6deg);
    }
}

/* Right text */
.right-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: .5rem;
    line-height: 1.3;
}

.right-title .gradient-text {
    color: var(--brand-blue);
    background: none;
    -webkit-text-fill-color: var(--brand-blue);
}

.right-desc {
    color: var(--gray-500);
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Feature pills */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 50px;
    padding: 7px 16px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--tr);
}

.feat-pill:hover {
    background: var(--white);
    color: var(--brand-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .1);
}

.feat-pill i {
    color: var(--brand-blue);
    font-size: .72rem;
}

/* Old robot SVG classes (kept for legacy, unused by new robot) */
.robot-head,
.robot-neck,
.robot-body,
.robot-arm,
.robot-hand,
.robot-leg,
.robot-foot,
.robot-ear {
    display: none;
}

.robot-eye {
    display: none;
}

.antenna-tip,
.antenna-pulse,
.robot-core {
    display: none;
}

/* ═══════════════════════════════════════════════════════
   LOADING OVERLAY
   ═══════════════════════════════════════════════════════ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(145deg, #EFF6FF 0%, #DBEAFE 50%, #EEF2FF 100%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity .5s ease;
}

.loading-overlay.active {
    display: flex;
    animation: fadeInOverlay .5s ease forwards;
}

@keyframes fadeInOverlay {
    to {
        opacity: 1;
    }
}

.loading-content {
    text-align: center;
    color: var(--brand-dark);
    max-width: 440px;
    padding: 2rem;
    animation: scaleIn .5s cubic-bezier(.68, -.55, .265, 1.55) .2s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.6);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.loading-icon {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatLoader 3s ease-in-out infinite;
}

@keyframes floatLoader {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.loading-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: pulseLogo 2s ease-in-out infinite;
}

@keyframes pulseLogo {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .85;
        transform: scale(.95);
    }
}

.loading-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: .4rem;
    color: var(--brand-dark);
}

.loading-subtitle {
    font-size: .95rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.progress-container {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    position: relative;
}

.progress-wrapper {
    background: rgba(37, 99, 235, .1);
    border-radius: 50px;
    height: 10px;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue) 0%, #7C3AED 100%);
    border-radius: 50px;
    width: 0%;
    transition: width .5s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 0 12px rgba(37, 99, 235, .4);
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    to {
        left: 200%;
    }
}

.progress-percentage {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(37, 99, 235, .1);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: .8rem;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, .15);
    min-width: 44px;
    text-align: center;
}

.progress-text {
    margin-top: 1rem;
    font-size: .88rem;
    color: var(--gray-500);
    font-weight: 500;
}

.loading-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.loading-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(37, 99, 235, .2);
    border-radius: 50%;
    animation: loadParticle 15s infinite ease-in-out;
}

@keyframes loadParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    20% {
        opacity: .6;
    }

    80% {
        opacity: .6;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
    .login-left {
        flex: 0 0 46%;
        padding: 2.5rem 2rem;
    }

    .login-right {
        flex: 0 0 54%;
    }

    .robot-login {
        width: 170px;
    }
}

@media (max-width: 991px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        flex: none;
        min-height: 100vh;
        padding: 2rem 1.5rem;
    }

    .login-right {
        display: none;
    }

    .login-container {
        max-width: 400px;
    }

    .brand-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .login-left {
        padding: 1.5rem 1.25rem;
    }

    .login-container {
        max-width: 100%;
    }

    .brand-logo-link img {
        height: 34px;
    }

    .brand-logo-link span {
        font-size: 1.25rem;
    }

    .brand-header h2 {
        font-size: 1.35rem;
    }

    .brand-header p {
        font-size: .85rem;
    }

    .form-control-float {
        padding: .875rem .875rem .875rem 2.5rem;
        font-size: .9rem;
    }

    .btn-login {
        padding: .875rem;
        font-size: .9rem;
    }
}

@media (max-width: 399px) {
    .login-left {
        padding: 1rem;
    }

    .brand-logo-link img {
        height: 30px;
    }

    .brand-logo-link span {
        font-size: 1.1rem;
    }

    .brand-header h2 {
        font-size: 1.2rem;
    }

    .form-control-float {
        font-size: .85rem;
    }
}

@media (pointer: coarse) {
    .form-control-float {
        min-height: 48px;
    }

    .btn-login {
        min-height: 48px;
    }

    .toggle-password {
        min-width: 44px;
        min-height: 44px;
    }
}