*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    margin:0;
    min-height:100vh;
    background:linear-gradient(135deg,#003366,#0055A5,#0A84FF);
    display:grid;
    place-items:center;
    padding:30px;
}
.contenedor{
    width:100%;
    max-width:550px;
    background:#ffffff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
    margin:auto;
}

h1{
    text-align:center;
    color:#003366;
    font-size:36px;
    font-weight:bold;
    margin-bottom:10px;
}

h2{
    color:#003366;
    margin:25px 0 12px;
    font-size:22px;
    text-align:center;
}

p{
    text-align:center;
    color:#555;
    margin-bottom:20px;
    line-height:1.5;
}

input{
    width:100%;
    padding:14px;
    margin:10px 0;
    border:1px solid #d5d5d5;
    border-radius:10px;
    font-size:16px;
    transition:0.3s;
}

input:focus{
    outline:none;
    border-color:#0055A5;
    box-shadow:0 0 8px rgba(0,85,165,.3);
}

button{
    width:100%;
    padding:15px;
    margin-top:12px;
    border:none;
    border-radius:10px;
    background:#0055A5;
    color:#fff;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:all .3s ease;
}

button:hover{
    background:#ff9900;
    transform:translateY(-2px);
}

#cerrarSesion{
    background:#d32f2f;
}

#cerrarSesion:hover{
    background:#b71c1c;
}

#cuentaUsuario{
    margin-top:18px;
    padding:12px;
    background:#eef6ff;
    border-radius:10px;
    text-align:center;
    color:#003366;
    font-weight:bold;
}

hr{
    margin:30px 0;
    border:none;
    border-top:1px solid #dddddd;
}

@media (max-width:768px){

    body{
        padding:15px;
        align-items:flex-start;
    }

    .contenedor{
        padding:25px;
        margin-top:20px;
    }

    h1{
        font-size:30px;
    }

    h2{
        font-size:20px;
    }

    input,
    button{
        font-size:16px;
    }

}

.header{
    width:100%;
    background:#003366;
    padding:15px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo img{
    height:110px;
}

nav{
    display:flex;
    gap:20px;
}

nav a{
    color:#ffffff;
    text-decoration:none;
    font-weight:bold;
}

nav a:hover{
    color:#ff9900;
}

.btn-whatsapp{
    background:#25D366;
    color:#ffffff;
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
}

.btn-whatsapp:hover{
    background:#1fa851;
}

/* ===== FONDO LOGÍSTICO ===== */

body{
    background:
        linear-gradient(rgba(0,40,90,.78), rgba(0,40,90,.78)),
        url("fondo-logistica.png") center center/cover fixed no-repeat;
}

.contenedor{
    position:relative;
    z-index:2;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    backdrop-filter:blur(1px);
    pointer-events:none;
}
