@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@1,400;1,700&family=Montserrat:wght@300;500&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    width: 100vw;
    font-family: 'Montserrat', sans-serif;
    
    display: flex;
    /* Esto separa el contenido: espacio a la izquierda para el logo, cuadro a la derecha */
    justify-content: flex-end; 
    align-items: center;
    
    /* Padding para que el cuadro no pegue al borde de la pantalla */
    padding-right: 10%; 

    background: 
        linear-gradient(rgba(4, 9, 20, 0.5), rgba(4, 9, 20, 0.8)),
        url("n2.png"); /* Asegúrate de que el nombre sea correcto */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    overflow: hidden;
}

.login-container {
    width: 420px;
    background: rgba(15, 20, 35, 0.7); 
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    padding: 60px 45px;
    border-radius: 25px;
    border: 1px solid rgba(230, 192, 123, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);

    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

#logo {
    text-align: center;
    margin-bottom: 45px;
}

#logo h1 {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 3rem;
    color: #e6c07b;
    background: linear-gradient(180deg, #fff6b0, #e6c07b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(230, 192, 123, 0.3));
}

#fade-box {
    display: flex;
    flex-direction: column;
}

input {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-align: center;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-bottom: 1px solid #e6c07b;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 10px;
}

button {
    width: 100%;
    padding: 18px;
    margin-top: 10px;
    background: #e6c07b; /* Color oro como en tu captura */
    color: #0a1118;
    border: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(230, 192, 123, 0.2);
}

button:hover {
    background: #fff6b0;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(230, 192, 123, 0.4);
}

/* Para que se vea bien en celulares */
@media (max-width: 900px) {
    body {
        justify-content: center;
        padding-right: 0;
    }
    .login-container {
        width: 90%;
    }
}