/* LOGIN IDENTICAL CSS - BIASOFT */

:root {
    --primary-blue: #003366;
    --dark-navy: #001a35;
    --accent-blue: #3b82f6;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --text-dark: #0f172a;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-y: auto;
    background: #f8fafc;
}

.split-layout {
    display: flex;
    min-height: 100vh;
}

/* ──────────────────────────────────────────────────────────────────────────
   PANEL IZQUIERDO: Imagen técnico - sin recorte al redimensionar
   ────────────────────────────────────────────────────────────────────────── */
.login-panel {
    position: relative;
    width: 45%;
    background: #001a35;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.technician-img {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #001a35;
}

.bottom-waves,
.login-content {
    display: none;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.logo-wrapper {
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.logo-img { height: 48px; }
.brand-name { font-size: 2rem; font-weight: 700; letter-spacing: 0.5px; }

.headline-section { margin-bottom: 2.5rem; }
.headline-section h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.headline-section .highlight { color: var(--accent-blue); }
.headline-section .tagline { font-size: 1rem; opacity: 0.8; font-weight: 300; line-height: 1.5; }

/* Lista de Servicios */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.service-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.service-icon {
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--accent-blue);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.service-info h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.2rem; }
.service-info p { font-size: 0.85rem; opacity: 0.7; line-height: 1.4; }

/* Badge de Seguridad */
.security-badge-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
    border-radius: 16px;
    backdrop-filter: blur(15px);
}

.badge-inner { display: flex; align-items: center; gap: 1rem; }
.badge-inner i { font-size: 1.8rem; color: var(--accent-blue); }
.badge-text strong { display: block; font-size: 0.95rem; margin-bottom: 0.1rem; }
.badge-text span { font-size: 0.8rem; opacity: 0.6; }

/* ──────────────────────────────────────────────────────────────────────────
   PANEL DERECHO: Formulario directo sobre fondo (sin contenedor)
   ────────────────────────────────────────────────────────────────────────── */
.info-panel {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2rem;
    background: #f8fafc;
}

.form-container { width: 100%; max-width: 440px; }

/* Legacy card - neutralizado (ya no se usa, pero se deja sin sombra ni borde por compatibilidad) */
.form-card-premium {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.login-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.login-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.form-header-premium { text-align: center; margin-bottom: 2.5rem; }
.form-header-premium h2 { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-header-premium p { color: var(--text-gray); font-size: 0.9rem; }

.form-row-two {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.form-row-two .input-group-premium {
    flex: 1;
    min-width: 0;
}

.input-group-premium { margin-bottom: 1.5rem; }
.input-group-premium label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }

.input-container { position: relative; }
.icon-field { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 1.1rem; }
.input-container input {
    width: 100%; padding: 0.85rem 1rem 0.85rem 3.25rem;
    border: 1px solid var(--border-color);
    border-radius: 12px; font-size: 0.95rem;
    background: #ffffff; transition: var(--transition);
}
#password {
    padding-right: 5.5rem;
}
.input-container input:focus { outline: none; border-color: var(--primary-blue); background: white; box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.05); }

.btn-toggle-pass {
    position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--primary-blue);
    font-size: 0.8rem; font-weight: 600; cursor: pointer;
}

.form-options-premium { margin-bottom: 2rem; }
.custom-checkbox { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.custom-checkbox input { width: 18px; height: 18px; accent-color: var(--primary-blue); }
.custom-checkbox label { font-size: 0.85rem; color: var(--text-gray); font-weight: 500; cursor: pointer; }

.btn-login-premium {
    width: 100%; padding: 1rem;
    background: var(--primary-blue); color: white;
    border: none; border-radius: 12px;
    font-size: 1.1rem; font-weight: 600; cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 16px rgba(0, 51, 102, 0.2);
}
.btn-login-premium:hover { background: #002244; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 51, 102, 0.3); }

.form-footer-premium { margin-top: 2rem; }
.divider { text-align: center; position: relative; margin-bottom: 1.25rem; }
.divider::before { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--border-color); }
.divider span { background: #f8fafc; padding: 0 0.75rem; font-size: 0.8rem; color: var(--text-gray); position: relative; z-index: 2; }
.links-row { display: flex; justify-content: space-between; }
.footer-link { font-size: 0.8rem; color: var(--primary-blue); text-decoration: none; font-weight: 600; }

.login-copyright-premium {
    margin-top: 2.5rem; display: flex; align-items: center; gap: 0.6rem;
    color: var(--text-gray); font-size: 0.8rem; opacity: 0.8;
}

@media (max-width: 968px) {
    body { overflow: auto; height: auto; }
    .split-layout { flex-direction: column; height: auto; }
    .login-panel { width: 100%; min-height: auto; height: auto; max-height: none; padding: 0; background: #001a35; }
    .technician-img { width: 100%; height: auto; max-height: 48vh; object-fit: contain; object-position: center; }
    .info-panel { width: 100%; padding: 2.5rem 1.5rem; }
    .user-avatar-premium { display: none; }
}

@media (max-width: 640px) {
    .form-row-two { flex-direction: column; gap: 0; }
}
