/* Fondo degradado para el login */
body {
    background: linear-gradient(to right, #ffcc00, #ff5733, #222);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Arial', sans-serif;
}

/* Contenedor principal con dos columnas */
.login-wrapper {
    display: flex;
    align-items: center;
    background: black; /* Contenedor negro */
    border-radius: 16px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    width: 100%;
    overflow: hidden;
}

/* Contenedor de la imagen del logo */
.logo-container {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: transparent; /* Elimina el fondo gris */
}

.logo-container img {
    max-width: 80%;
    height: auto;
}

/* Contenedor del formulario */
.login-container {
    width: 50%;
    padding: 2rem;
    text-align: center;
    background: black; /* Fondo negro */
    color: white;
}

/* Iconos dentro de los inputs */
.input-group-text {
    background: #ff5733;
    color: white;
    border: none;
    border-radius: 8px 0 0 8px;
}

/* Inputs con color claro */
.form-control {
    border-radius: 0 8px 8px 0;
    background: #f8f9fa; /* Color claro */
    color: black;
    border: none;
}

/* Botón de login */
.btn-login {
    background: #ff5733;
    border: none;
    transition: all 0.3s ease-in-out;
    padding: 10px;
    font-weight: bold;
    color: white;
    border-radius: 8px;
}

.btn-login:hover {
    background: #c70039;
    transform: scale(1.05);
}

/* Botón de "Olvidé mi contraseña" */
.btn-link {
    font-size: 14px;
    color: #ff5733;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
    color: #c70039;
}

/* Mensaje de error */
.alert-danger {
    text-align: center;
    font-weight: bold;
}

/* Responsividad */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
    }

    .logo-container {
        width: 100%;
        background: transparent; /* Mantener sin fondo en móviles */
    }

    .login-container {
        width: 100%;
    }
}


