:root {
    --bg-dark: #0a0a0b;
    --card-dark: #141417;
    --orange-neon: #ffa200;
    --text-white: #ffffff;
    --text-gray: #a0a0a5;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    /* Patrón de fondo sutil de puntos idéntico a mpin.css */
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    margin: 0;
}

/* CONTENEDOR CENTRAL DE LA PÁGINA */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* TARJETA DE LOGIN (Sigue la línea visual y sombras de .editor-card) */
.login-card {
    background: var(--card-dark);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    max-width: 420px;
    width: 100%;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

/* Sutil resplandor interno naranja decorativo */
.login-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 162, 0, 0.03);
    filter: blur(45px);
    border-radius: 50%;
    pointer-events: none;
}

/* BOTÓN ESPECÍFICO DE GOOGLE (Estilo unificado con .btn-dark-modern) */
.btn-google {
    background: #1c1c21;
    border: 1px solid #2d2d35;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px;
    border-radius: 14px;
    transition: all 0.25s ease;
    width: 100%;
    cursor: pointer;
}

.btn-google:hover {
    background: #25252b;
    border-color: #444450;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-google:active {
    transform: scale(0.98);
}

/* DIVISOR TEXTUAL */
.login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 30px 0;
}

.login-separator::before, 
.login-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.login-separator:not(:empty)::before { margin-right: 1.2em; }
.login-separator:not(:empty)::after { margin-left: 1.2em; }

/* COMPONENTES DE ENTRADA (Estilo heredado de .qty-input-container) */
.form-group-modern {
    margin-bottom: 22px;
}

.form-label-modern {
    font-size: 0.7rem;
    color: var(--text-gray);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.input-modern-container {
    background: #000000; /* Fondo oscuro puro igual que los controles de cantidad */
    border: 1px solid #333333;
    border-radius: 14px;
    padding: 2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.input-modern-container:focus-within {
    border-color: var(--orange-neon);
    box-shadow: 0 0 12px rgba(255, 162, 0, 0.15);
}

.input-modern-container i {
    color: var(--text-gray);
    padding-left: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.input-modern {
    background: transparent !important;
    border: none !important;
    color: var(--text-white) !important;
    padding: 12px 14px;
    width: 100%;
    outline: none !important;
    font-size: 0.95rem;
}

/* Solución avanzada al autofill de los navegadores (Evita fondos blancos/azules feos) */
.input-modern:-webkit-autofill,
.input-modern:-webkit-autofill:hover, 
.input-modern:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-white) !important;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: 0 0 0px 1000px #000000 inset !important;
}

/* BOTÓN DE ACCIÓN PRINCIPAL (Réplica exacta de .btn-orange-action de mpin.css) */
.btn-orange-action {
    background: var(--orange-neon);
    color: #000000;
    font-weight: 900;
    padding: 18px;
    border-radius: 18px;
    border: none;
    transition: 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-orange-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 162, 0, 0.3);
}

.btn-orange-action:active {
    transform: translateY(0);
}

/* ENLACES Y TEXTOS AUXILIARES */
.login-footer-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.login-footer-link:hover {
    color: var(--orange-neon);
}

.text-orange {
    color: var(--orange-neon);
}

.text-gray {
    color: var(--text-gray);
}

.fw-black {
    font-weight: 900;
}