/* CONFIGURACIÓN GENERAL MÍNIMA */
html, body {
    height: 100vh;
    overflow: hidden;
}

/* CONTENEDOR PRINCIPAL */
.split-container {
    height: 100vh;
}

/* CADA MITAD DE LA PANTALLA */
.split-half {
    height: 100vh;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* IMAGEN DE FONDO */
.background-image {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px) brightness(0.6);
    transition: all 0.4s ease;
}

.split-half:hover .background-image {
    filter: blur(0px) brightness(0.8);
    transform: scale(1.01);
}

/* FONDOS ESPECÍFICOS */
.evaluate-bg {
    background-image: url('../image/background-login.webp');
}

.consulta-bg {
    background-image: url('../image/background-login.webp');
}

/* OVERLAY DE CONTENIDO */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    color: white;
}

.split-half:hover .content-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

/* ESTILOS DE TEXTO PERSONALIZADOS */
.system-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    transform: translateY(3px);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.system-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.system-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 400px;
    opacity: 0.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* ANIMACIONES */
.split-half:hover .system-title {
    transform: translateY(0);
    opacity: 1;
}

.split-half:hover {
    transform: scale(1.005);
}

/* ACCESIBILIDAD */
.split-half:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: -3px;
}

/* PREVENIR SELECCIÓN DE TEXTO */
.split-half {
    user-select: none;
}


/* MEDIA QUERIES PARA MÓVILES */
@media (max-width: 767px) {
    html, body {
        overflow-y: auto;
    }
    
    .split-half {
        height: 50vh;
    }
    
    .system-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .system-subtitle {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .system-description {
        font-size: 1rem;
        max-width: 300px;
        line-height: 1.4;
    }
}