/* ===================== BASE ===================== */
body{
    margin: 0;
    font-family: 'Zilla Slab', serif;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)),
        url("../vista_imagenes/disenointerior2.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    color: white;
}

/* ===================== TITULO ===================== */
h1{
    color: rgb(255, 244, 244);
    font-weight: 700;
}

/* ===================== CONTENEDOR ===================== */
.login-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* ===================== CAJA LOGIN ===================== */
.login-box{
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    width: 350px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    animation: aparecer 0.8s ease;
}

/* ===================== ANIMACION ===================== */
@keyframes aparecer{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== SUBTITULO ===================== */
.login-box h2{
    margin-bottom: 25px;
}

/* ===================== CAMPOS ===================== */
.campo{
    margin-bottom: 15px;
}

.campo input{
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
}

/* ===================== BOTONES ===================== */
button{
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover{
    background: #333;
}
.btn{
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
}

/* efecto hover PRO */
.btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* colores más elegantes */
.btn-primary{
    background: linear-gradient(135deg, #000, #333);
    border: none;
}

.btn-secondary{
    background: linear-gradient(135deg, #000000, #34373a);
    border: none;
}

/* ===================== VOLVER ===================== */
.volver{
    display: block;
    margin-top: 15px;
    color: #aaa;
    text-decoration: none;
}

.volver:hover{
    color: white;
}

/* ===================== LOGO ===================== */
.logo-login{
    width: 100%;
    max-width: 300px;
    margin: 0 auto 5px auto;
}