/* assets/css/login.css */

/* --- PALETA ZOOMIE (Naranja) --- */
:root {
    --zoomie-orange: #ff6b00;       /* Tu color bandera */
    --zoomie-orange-dark: #e65100;  /* Para el hover */
    --zoomie-bg: #f5f7fa;           /* Fondo suave */
}

/* Fondo general y centrado */
.login-body {
    background: #f4f6f9; /* Soft background */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Tarjeta Principal: Fija el Ancho y habilita el Split */
.login-wrapper {
    width: 100%;
    max-width: 900px; /* LA CLAVE: Limita el ancho del contenedor */
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex; /* Para el split 50/50 */
    min-height: 550px;
}

/* --- Lado Izquierdo: Imagen a Color (50%) --- */
.login-side-img {
    width: 50%;
    /* Foto de mascota a color natural */
    background: url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?q=80&w=1000&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}
/* Overlay sutil para leer el texto blanco */
.login-side-img::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
}
.login-caption { position: relative; z-index: 2; color: white; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }

/* --- Lado Derecho: Formulario (50%) --- */
.login-form-side {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tipografía y Botones */
.text-orange { color: var(--zoomie-orange) !important; }
.brand-title { font-size: 2.5rem; font-weight: 800; color: var(--zoomie-orange); margin-bottom: 0.5rem; letter-spacing: -1px; }

.form-floating > .form-control { border-radius: 12px; border: 1px solid #eee; background-color: #f9f9f9; }
.form-floating > .form-control:focus { border-color: var(--zoomie-orange); box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15); }
.btn-login { width: 100%; padding: 14px; border-radius: 12px; font-weight: 800; background-color: var(--zoomie-orange); border: none; color: white; transition: all 0.3s ease; letter-spacing: 0.5px; }
.btn-login:hover { background-color: var(--zoomie-orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230, 81, 0, 0.4); }

/* Responsive */
@media (max-width: 768px) {
    .login-wrapper { flex-direction: column; max-width: 450px; }
    .login-side-img { display: none; }
    .login-form-side { width: 100%; padding: 30px; }
}