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

body{
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* CARD */
.container{
    width:360px;
    background:#ffffff;
    padding:28px 26px;
    border-radius:18px;
    box-shadow:0 25px 60px rgba(2,6,23,.35);
    text-align:center;
    position:relative;
}

/* LOGO */
.container img{
    margin-bottom:15px;
}

/* TITLE */
h1{
    font-size:22px;
    font-weight:800;
    color:#0f172a;
    margin-bottom:20px;
}

/* INPUTS */
input[type="text"],
input[type="password"]{
    width:100%;
    padding:12px 14px;
    margin-bottom:14px;
    border-radius:12px;
    border:1px solid #d1d5db;
    font-size:14px;
    background:#f8fafc;
    transition:all .2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus{
    outline:none;
    border-color:#2563eb;
    background:#fff;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

/* BUTTON */
input[type="submit"]{
    width:100%;
    padding:12px;
    border:none;
    border-radius:12px;
    font-size:15px;
    font-weight:700;
    color:#fff;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    cursor:pointer;
    transition:all .2s ease;
}

input[type="submit"]:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(37,99,235,.25);
}

/* ERROR */
.error{
    background:#fef2f2;
    border:1px solid #fecaca;
    color:#991b1b;
    padding:10px;
    border-radius:10px;
    font-size:13px;
    margin-bottom:15px;
}

/* FOOTER OPTIONAL */
.footer-text{
    margin-top:14px;
    font-size:12px;
    color:#64748b;
}

/* RESPONSIVE */
@media(max-width:420px){
    .container{
        width:92%;
        padding:22px;
    }
}