body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    /* IMAGEN DE FONDO 1 */
    background: url('../../images/fondo.jpeg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.main-container {
    width: 100%;
    max-width: 500px;
    padding: 40px 30px;
    box-sizing: border-box;
    text-align: center;
    
    /* Borde grueso y oscuro con efecto de relieve (Bevel) */
    background: rgba(0, 0, 0, 0.4); /* Fondo semi-transparente para resaltar del body */
    border: 8px solid #0a0a0a;
    border-radius: 30px;
    
    /* Sombras para dar profundidad: interna para el borde y externa para despegarlo del fondo */
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 
                inset 0 0 20px rgba(0, 0, 0, 0.8),
                0 0 10px rgba(255, 0, 0, 0.1); /* Brillo rojo muy sutil en el borde exterior */
    
    margin: 20px;
}

/* Logo y Títulos */
.logo-container img {
    width: 80%;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

.title {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Contenedor del Formulario */
.login-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 
                inset 0 0 15px rgba(255, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo en los bordes */
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, #ff3333, transparent);
}

.bienvenido-txt {
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

/* Inputs */
.input-group {
    margin-bottom: 15px;
    position: relative;
}

.input-group svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff3333;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 12px 12px 45px;
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    color: white;
    box-sizing: border-box;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5);
    font-size: 0.9rem;
}

/* Checkbox y Olvidaste */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 25px;
    color: #aaa;
}

.options label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.options a { color: #aaa; text-decoration: none; }

/* Botón Ingresar */
.btn-ingresar {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to bottom, #ff0000, #800000);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    transition: 0.3s;
}

.btn-ingresar:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

/* Iconos Sociales Inferiores */
.social-icons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons div {
    width: 35px;
    height: 35px;
    border: 1px solid #444;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    background: radial-gradient(#222, #000);
}

.footer-link {
    margin-top: 30px;
    display: block;
    color: #777;
    font-size: 0.8rem;
    text-decoration: none;
}

input[type="text"]:focus, 
input[type="password"]:focus {
    outline: none; /* Elimina el borde azul por defecto */
    border-color: #ff3333; /* Cambia el borde a rojo */
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5), 
                0 0 8px rgba(255, 0, 0, 0.4); /* Añade un resplandor rojo exterior */
    transition: all 0.3s ease; /* Suaviza la transición al hacer clic */
}

/* Ajustes para Móvil */
@media (max-width: 480px) {
    .main-container {
        padding: 10px;
    }
    .logo-container img {
        width: 180px;
    }
}