html, body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Fondo con la imagen */
body {
    background-image: url('atar.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #f4e7c5;
    position: relative;
}

/* Overlay oscuro elegante */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 20, 40, 0.85),
        rgba(8, 20, 40, 0.75)
    );
    z-index: -1;
}

/* Contenedor general */
.login-container {
    width: 100%;
    max-width: 460px;
    text-align: center;
}

/* Logo */
#logo {
    margin-bottom: 35px;
}

#logo h1 {
    font-size: 2.4em;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: #f2d9a6;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Línea decorativa debajo del título (opcional) */
.linea-elegante {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4b06a, transparent);
    margin: 15px auto 35px auto;
}

/* Panel de login */
.stark-login {
    background: rgba(10, 25, 45, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 50px 45px;
    border-radius: 14px;

    border: 1px solid rgba(212, 176, 106, 0.15);

    box-shadow:
        0 30px 70px rgba(0,0,0,0.7);

    text-align: left;
}

/* Formulario */
#fade-box {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Inputs simétricos y centrados verticalmente */
input[type="text"],
input[type="password"] {
    width: 100%;
    height: 50px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid rgba(244, 194, 122, 0.25);
    background: rgba(5, 15, 30, 0.9);
    color: #ffffff;
    font-size: 16px;
    line-height: 50px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Placeholder */
input::placeholder {
    color: rgba(255, 220, 170, 0.6);
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Efecto foco más sutil y formal */
input:focus {
    border-color: #d4b06a;
    box-shadow: 0 0 6px rgba(212, 176, 106, 0.4);
}

/* Botón */
button {
    margin-top: 10px;
    padding: 13px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;

    background: linear-gradient(
        90deg,
        #cfa55c,
        #f4c27a
    );

    color: #1a1a1a;

    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(244, 194, 122, 0.4);
}

button:hover {
    background: linear-gradient(
        90deg,
        #f4c27a,
        #ffe2a8
    );
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(244, 194, 122, 0.6);
}

button:active {
    transform: translateY(0);
}