:root{
    --bg:#A6AEBA;
    --outer:#cfd3da;
    --inner:#e6e9ef;
    --panel:#0034c8;
    --card:#0034c8;
    --accent:#ffffff;
    --muted:#6b7280;
    --warn:#dc2626;
    --yellow:#FF8C11;
    --radius-lg:18px;
    --radius-md:12px;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
    background:var(--bg);
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    color:var(--accent);
    display:flex;
    justify-content:center;
    align-items:flex-start;
    min-height:100vh;
    padding:20px;
}
.wrap{
    width:100%;
    max-width:420px;
    display:flex;
    flex-direction:column;
    gap:12px;
}
.outer{
    background:linear-gradient(#d9dce2,var(--outer));
    border-radius:var(--radius-lg);
    padding:14px;
    box-shadow:0 10px 28px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.6);
}
.inner{
    background:linear-gradient(180deg,var(--panel) 0%,#002a9a 100%);
    border-radius:var(--radius-md);
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:18px;
    color:#fff;
    text-align:center;
    box-shadow:inset 0 2px 0 rgba(255,255,255,.25);
}
.logo img{
    width:100%;
    max-width:184px;
    height:auto;
    filter:drop-shadow(0 4px 10px rgba(0,0,0,.3));
}
.title{
    font-weight:700;
    font-size:clamp(16px,2.5vw,20px);
    letter-spacing:.4px;
}
.error{
    background:#fee2e2;
    color:#7f1d1d;
    border:1px solid #fecaca;
    padding:8px;
    border-radius:8px;
    font-weight:500;
    text-align:center;
}
.card{
    background:var(--card);
    border-radius:10px;
    box-shadow:0 6px 18px rgba(0,0,0,.12);
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:12px;
    color:var(--accent);
}
form{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.row{
    display:flex;
    flex-direction:column;
    gap:6px;
    text-align:left;
}
.label{
    font-weight:500;
    color:var(--accent);
}
input[type="text"], input[type="password"]{
    width:100%;
    padding:10px 12px;
    border-radius:8px;
    border:1px solid #d1d5db;
    background:#f9fafb;
    font:inherit;
    color:#111827;
}
input::placeholder{ color:#9ca3af; }
.captchaBox{
    display:flex;
    justify-content:center;
    align-items:center;
    background:#0034c8;
    border:0px solid #e5e7eb;
    border-radius:8px;
    height:70px;
    overflow:hidden;
}
.captchaBox img{
    max-height:120%;
    cursor:pointer;
}
.actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:4px;
}
.btn{
    border:0;
    cursor:pointer;
    font-weight:700;
    padding:10px 18px;
    border-radius:10px;
    color:#111827;
    background:linear-gradient(#fff,#e5e7eb);
    box-shadow:0 2px 0 rgba(255,255,255,.7) inset,0 3px 0 #b6bcc6,0 6px 16px rgba(0,0,0,.15);
    text-transform:uppercase;
    letter-spacing:1.2px;
}
.btn:active{ transform:translateY(1px); }
.link{
    text-align:center;
    font-size:12px;
}
.link a{
    color:var(--yellow);
    text-decoration:none;
    font-weight:700;
}
.link a:hover{
    text-decoration:underline;
}
.footer{
    text-align:center;
    font-size:12px;
    color:#4b5563;
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-top:8px;
}
@media (max-width:480px){
    body{padding:10px;}
    .inner{padding:16px;}
    .card{padding:12px;}
}
