/* Fondo */
body.bg {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;

    background:
        radial-gradient(circle at top, #2c2c2c 0%, #111 60%);
}

/* Card */
.card.narrow {
    position: relative;

    width: 100%;
    max-width: 420px;

    background: #1b1b1b;

    border: 4px solid #3a2f1c;

    border-radius: 25px;

    padding: 100px 35px 35px;

    box-shadow:
        0 0 20px rgba(212,175,55,.2),
        0 20px 40px rgba(0,0,0,.4);

    transition: .3s;
}

.card.narrow:hover{
    border-color: #d4af37;
}

/* Logo */
.card.narrow::before{
    content:"";

    position:absolute;

    top:20px;
    left:50%;

    transform:translateX(-50%);

    width:90px;
    height:90px;

    background:url("./img/logo.png") center/contain no-repeat;
}

/* Título */
.title{
    text-align:center;
    color:#fff;
    font-size:28px;
    font-weight:700;
    margin-bottom:25px;
}

/* Ocultar labels */
#loginForm label{
    display:none;
}

/* Inputs */
#loginForm input{
    width:100%;
    box-sizing:border-box;

    padding:14px 18px;

    margin-bottom:15px;

    border-radius:12px;

    background:#262626;

    border:1px solid #444;

    color:#fff;

    transition:.3s;
}

#loginForm input:focus{
    outline:none;
    border-color:#d4af37;
    box-shadow:0 0 12px rgba(212,175,55,.4);
}

/* Botón */
.btn.primary{
    width:100%;

    padding:14px;

    border:none;

    border-radius:50px;

    font-weight:700;

    color:#111;

    background:linear-gradient(
        135deg,
        #f7d774,
        #d4af37
    );

    cursor:pointer;

    transition:.3s;
}

.btn.primary:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(212,175,55,.35);
}

/* Error */
#loginError{
    color:#ff6b6b;
    text-align:center;
    margin-top:10px;
}

/* Responsive */
@media(max-width:480px){

    .card.narrow{
        padding:90px 25px 25px;
    }

    .card.narrow::before{
        width:75px;
        height:75px;
    }

    .title{
        font-size:24px;
    }
}