* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-login {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px); /* Efecto cristal */
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    width: 350px;
    text-align: center;
}

h2 {
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.grupo-input {
    text-align: left;
    margin-bottom: 20px;
}

.grupo-input label {
    display: block;
    color: #ddd;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.grupo-input input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.grupo-input input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.5);
}

.btn-violeta {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #8a2be2; /* Violeta */
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-violeta:hover {
    background: #9d4edd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Estilo para mensajes de error */
.error-oculto {
    display: none;
    color: #ff4d4d;
    font-size: 0.8rem;
    margin-top: 15px;
}