body {
    background-color: #1a1a1a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 15px; /* Añadir un poco de padding para no tocar los bordes */
    font-family: 'Arial', sans-serif;
}

.login-container {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    width: 100%; /* Usa 100% del ancho disponible hasta un máximo de 350px */
    max-width: 350px;
    text-align: center;
}

.login-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 24px;
    margin-bottom: 20px;
}

.input-group {
    position: relative; /* Asegura que los íconos se posicionen correctamente */
    margin-bottom: 20px;
}

.input-group input {
    width: calc(100% - 50px); /* Reduce el ancho para compensar el padding y el ícono */
    padding: 12px 20px 12px 40px; /* Ajustar padding para evitar solapamientos */
    border-radius: 5px;
    background-color: #555;
    border: none; /* Quita el borde por defecto */
    color: white;
}

.input-group .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 20px;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50; /* Verde para el botón */
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

.error {
    color: #ff4d4d;
    margin-top: 10px;
}

.access-text {
    margin: 20px 0 10px;
    font-size: 16px;
}

.social-login a {
    font-size: 24px; /* Asegura que los íconos sean lo suficientemente grandes para interactuar */
    margin: 0 10px;
    color: white;
    transition: color 0.3s;
}

.social-login a:hover {
    color: #ccc;
}

.info-slider {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    background: rgba(51, 51, 51, 0.9);
    color: white;
    text-align: center;
    font-size: 16px;
    padding: 10px 0;
    display: flex; /* Asegura que los slides no se solapen */
    justify-content: center;
    z-index: 1000;
}

.slide {
    opacity: 0;
    animation: slide 32s linear infinite;
}

/* Animación ajustada para visibilidad de 6 segundos y 2 segundos invisible */
@keyframes slide {
    0%, 25%, 100% { opacity: 0; }
    6.25%, 18.75% { opacity: 1; } /* Slide 1 visible */
    31.25%, 43.75% { opacity: 1; } /* Slide 2 visible */
    56.25%, 68.75% { opacity: 1; } /* Slide 3 visible */
    81.25%, 93.75% { opacity: 1; } /* Slide 4 visible */
}

/* Tiempos de delay para que cada slide comience correctamente según el ciclo */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 8s; }
.slide:nth-child(3) { animation-delay: 16s; }
.slide:nth-child(4) { animation-delay: 24s; }
