/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 28-feb-2026, 8:33:21
    Author     : Vipo
*/

:root {
    --blue: #0081ff;
    --bg-light: #f4f7fe;
    --text-gray: #7d8592;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body {
    background: linear-gradient(to bottom, #4006a5 50%, #ffffff 50%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-wrapper {
    width: 90%;
    max-width: 1200px;
    display: flex;
    height: 85vh;
}

/* --- SECCIÓN IZQUIERDA --- */
.info-section {
    flex: 1;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo { font-weight: bold; font-size: 1.2rem; }

.hero-text h1 { font-size: 2.2rem; font-weight: 500; margin-bottom: 5px; }
.hero-text h2 { font-size: 1.8rem; font-weight: 300; margin-bottom: 15px; }
.hero-text p { font-size: 0.85rem; line-height: 1.6; opacity: 0.8; max-width: 350px; }

.rocket-img { text-align: center; }
.rocket-img img { width: 280px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2)); }

.login-as-section p { font-size: 0.9rem; margin-bottom: 15px; color: #333; font-weight: 600; }
/* Ajuste para que el texto "Login as" se vea sobre el fondo blanco inferior si es necesario */
.login-as-section { margin-top: 20px; }

.profile-cards { display: flex; gap: 15px; }
.card {
    background: #eef4ff;
    padding: 20px;
    border-radius: 15px;
    width: 140px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card img { width: 55px; height: 55px; border-radius: 50%; margin-bottom: 10px; }
.card .name { font-size: 0.85rem; color: #333; font-weight: 600; }
.card .status { font-size: 0.7rem; color: #a0a0a0; }
.close-icon { position: absolute; top: 8px; right: 10px; color: #ccc; cursor: pointer; }

/* --- SECCIÓN DERECHA (LA TARJETA) --- */
.form-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.card-header { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 40px; }
.card-header span { color: #7ad54c; font-weight: bold; }
.signup-text a { color: var(--blue); text-decoration: none; font-weight: bold; }

.main-title {
    margin-bottom: 20px; /* Espacio debajo del logo */
    text-align: left;    /* Alineado a la izquierda como en la imagen */
}

.logo-sigedo {
    width: 160px;        /* Ajusta este valor según qué tan pequeño lo quieras */
    height: auto;        /* Mantiene la proporción original (evita que se estire) */
    display: block;      /* Elimina espacios en blanco extraños debajo de la imagen */
    object-fit: contain;
}


.social-login { display: flex; gap: 10px; margin-bottom: 35px; }
.google-btn {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f0f5ff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
}
.google-btn img { width: 18px; }
.icon-btn {
    flex: 0.5;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #444;
}

.input-group { margin-bottom: 25px; display: flex; flex-direction: column; }
.input-group label { font-size: 0.85rem; margin-bottom: 10px; color: #333; font-weight: 500; }
.input-group input {
    padding: 18px;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    background: #fcfdfe;
    font-size: 0.9rem;
}
.input-group input:focus {
    outline: none; 
    border-color: #FF9800; 
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.2); 
    background-color: #ffffff; 
    transition: all 0.3s ease; 
}


.input-group input:focus + label {
    color: #FF9800;
}

.forgot-pw { text-align: right; font-size: 0.75rem; color: var(--blue); text-decoration: none; margin-top: 8px; }

.sign-in-btn {
    width: 100%;
    padding: 18px;
    background: #FF9800;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.sign-in-btn:hover { background: #FFC107; }

.brand-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.75rem;
    color: #a0a0a0;
}
.brand-footer span {
    font-weight: bold;
    color: #673AB7; /* Usando el púrpura de tu SVG */
}
/* --- RESPONSIVE DESIGN --- */

@media (max-width: 992px) {
    body {
        /* En móviles quitamos el fondo dividido y dejamos uno neutro o azul claro */
        background: #f4f7fe; 
        height: auto;
        padding: 20px 0;
    }

    .main-wrapper {
        flex-direction: column; /* Apilamos los elementos si fuera necesario */
        height: auto;
        justify-content: center;
        align-items: center;
    }

    /* Ocultamos toda la sección de la izquierda (Logo, Cohete, Login as) */
    .info-section {
        display: none; 
    }

    .form-section {
        width: 100%;
        padding: 10px;
    }

    .login-card {
        padding: 30px 20px; /* Reducimos padding interno en móviles */
        border-radius: 20px; /* Bordes un poco menos pronunciados */
        width: 100%;
        max-width: 400px;
    }

    .main-title {
        font-size: 2rem; /* Título un poco más pequeño para móviles */
        text-align: center;
    }

    .card-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-login {
        flex-wrap: wrap; /* Para que los iconos no se amontonen */
    }
}

/* Ajuste extra para pantallas muy pequeñas (teléfonos) */
@media (max-width: 480px) {
    .google-btn {
        font-size: 0.8rem;
    }
    
    .login-card {
        box-shadow: none; /* Quitamos sombra para que parezca una app nativa */
        background: transparent;
    }
}
/* Ajuste opcional para móviles */
@media (max-width: 992px) {
    .logo-sigedo {
        width: 130px;    /* Un poco más pequeño en celulares */
        margin: 0 auto;  /* Centra el logo si en móvil decidiste centrar el login */
    }
    .main-title {
        text-align: center;
    }
}
/* Animación de flotación del documento principal */
.doc-group {
    animation: floatDocument 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes floatDocument {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Animación de partículas (datos fluyendo) */
.particle {
    animation: particlesFlow 3s linear infinite;
}

.p1 { animation-duration: 4s; }
.p2 { animation-duration: 5s; animation-delay: 1s; }
.p3 { animation-duration: 3.5s; animation-delay: 0.5s; }

@keyframes particlesFlow {
    0% { transform: translateX(-50px); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateX(100px); opacity: 0; }
}

/* Animación de las líneas de conexión */
.flow-line, .flow-line-2 {
    stroke-dashoffset: 20;
    animation: lineMove 1s linear infinite;
}

@keyframes lineMove {
    from { stroke-dashoffset: 20; }
    to { stroke-dashoffset: 0; }
}