:root{--blue:#1D3670;--orange:#EE7718;--white:#fff;--light:#EDEEEF;--black:#231F20;--muted:#6F737A;--border:#D8DADD;--ok:#2E7D32;--err:#C62828}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(135deg,#eef2f8,#fff);font-family:"Segoe UI",Arial,sans-serif;color:var(--black)}main{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px}.card,.login-card{width:min(900px,100%);background:rgba(255,255,255,.92);border:1px solid var(--border);border-radius:18px;box-shadow:0 20px 60px rgba(29,54,112,.12);padding:26px}.login-card{width:min(520px,100%)}.brandline{height:6px;background:linear-gradient(90deg,var(--blue) 0 72%,var(--orange) 72%);border-radius:999px;margin-bottom:22px}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}h1{margin:0 0 8px;color:var(--blue);font-size:34px;font-weight:850;letter-spacing:-.4px}.lead{margin:0 0 20px;color:var(--muted);line-height:1.45}.form{display:flex;flex-direction:column;gap:12px}label{font-weight:750;color:var(--blue)}input[type=password],input[type=file]{width:100%;padding:12px;border:1px solid #C9CDD3;border-radius:10px;background:#fff;font:inherit}input[type=file]::file-selector-button{border:0;border-radius:9px;padding:10px 16px;margin-right:12px;font-weight:750;cursor:pointer;background:var(--blue);color:#fff}button{border:0;border-radius:10px;padding:12px 20px;font-weight:800;font-size:15px;cursor:pointer;background:var(--orange);color:#fff;box-shadow:0 5px 14px rgba(238,119,24,.18)}button.secondary{background:var(--blue)}button:disabled{opacity:.5;cursor:not-allowed}.status{margin-top:18px;padding:13px 14px;border-radius:10px;background:#f5f6f8;color:var(--blue);font-weight:650}.status.ok{background:#ecf7ee;color:var(--ok)}.status.err,.alert.err{background:#fff0f0;color:var(--err)}.alert{padding:12px 14px;border-radius:10px;margin:12px 0;font-weight:650}.hidden{display:none}.note{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.45}@media(max-width:640px){main{padding:16px}.card,.login-card{padding:20px}h1{font-size:29px}}


/* ARMA_ENGINEERING_UI_START */

body{
    background:
        radial-gradient(circle at 18% 18%, rgba(238,119,24,.14), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(29,54,112,.18), transparent 34%),
        linear-gradient(135deg,#eef3fa 0%,#ffffff 42%,#e8edf6 100%) !important;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:.42;
    background-image:
        linear-gradient(rgba(29,54,112,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29,54,112,.055) 1px, transparent 1px);
    background-size:38px 38px;
}

main{
    position:relative;
    z-index:1;
}

.card{
    width:min(1040px,100%) !important;
    padding:30px !important;
    border-radius:24px !important;
    border:1px solid rgba(255,255,255,.78) !important;
    background:rgba(255,255,255,.88) !important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:
        0 28px 80px rgba(29,54,112,.16),
        inset 0 1px 0 rgba(255,255,255,.95) !important;
}

.login-card{
    border-radius:24px !important;
    border:1px solid rgba(255,255,255,.78) !important;
    background:rgba(255,255,255,.90) !important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.brandline{
    height:7px !important;
    margin-bottom:24px !important;
    background:linear-gradient(90deg,#1D3670 0 66%,#EE7718 66% 100%) !important;
    box-shadow:0 6px 18px rgba(238,119,24,.18);
}

.topbar{
    align-items:flex-start !important;
    padding-bottom:22px;
    margin-bottom:24px;
    border-bottom:1px solid rgba(29,54,112,.10);
}

h1{
    font-size:42px !important;
    line-height:.95 !important;
    font-weight:900 !important;
    letter-spacing:-1.1px !important;
    color:#071432 !important;
}

.arma-engineering-head{
    margin-top:14px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
}

.eh-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(29,54,112,.08);
    color:#1D3670;
    font-size:11px;
    font-weight:900;
    letter-spacing:.12em;
}

.eh-kicker::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:#EE7718;
    box-shadow:0 0 0 5px rgba(238,119,24,.12);
}

.eh-title{
    font-size:34px;
    line-height:1;
    font-weight:950;
    font-style:italic;
    color:#1D3670;
    letter-spacing:-.7px;
}

.eh-subtitle{
    margin-top:6px;
    font-size:17px;
    font-weight:800;
    color:#EE7718;
}

.eh-status{
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(46,125,50,.09);
    color:#2E7D32;
    border:1px solid rgba(46,125,50,.18);
    font-size:13px;
    font-weight:900;
    white-space:nowrap;
}

.pulse{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#2E7D32;
    box-shadow:0 0 0 0 rgba(46,125,50,.42);
    animation:pulseArma 1.7s infinite;
}

@keyframes pulseArma{
    0%{box-shadow:0 0 0 0 rgba(46,125,50,.42)}
    70%{box-shadow:0 0 0 9px rgba(46,125,50,0)}
    100%{box-shadow:0 0 0 0 rgba(46,125,50,0)}
}

.engineering-menu{
    margin-top:22px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.eng-step{
    min-height:124px;
    padding:16px;
    border-radius:18px;
    background:
        linear-gradient(180deg,rgba(255,255,255,.92),rgba(246,248,252,.86));
    border:1px solid rgba(29,54,112,.12);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 12px 28px rgba(29,54,112,.08);
    display:flex;
    flex-direction:column;
    gap:13px;
    position:relative;
    overflow:hidden;
}

.eng-step::after{
    content:"";
    position:absolute;
    right:-26px;
    bottom:-30px;
    width:92px;
    height:92px;
    border-radius:28px;
    border:1px solid rgba(29,54,112,.08);
    transform:rotate(24deg);
}

.eng-step b{
    display:block;
    color:#071432;
    font-size:16px;
    line-height:1.12;
    font-weight:950;
}

.eng-step small{
    display:block;
    margin-top:5px;
    color:#6F737A;
    font-size:12.5px;
    line-height:1.28;
    font-weight:650;
}

.eng-icon{
    width:44px;
    height:44px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#7c3aed;
    background:rgba(124,58,237,.10);
    border:1px solid rgba(124,58,237,.16);
}

.eng-icon svg{
    width:29px;
    height:29px;
}

.eng-icon.blue{
    color:#006fff;
    background:rgba(0,111,255,.10);
    border-color:rgba(0,111,255,.16);
}

.eng-icon.green{
    color:#0f9f4a;
    background:rgba(15,159,74,.10);
    border-color:rgba(15,159,74,.16);
}

.eng-icon.orange{
    color:#EE7718;
    background:rgba(238,119,24,.12);
    border-color:rgba(238,119,24,.18);
}

.upload-form{
    margin-top:6px;
    padding:22px;
    border-radius:20px;
    background:rgba(248,250,253,.78);
    border:1px solid rgba(29,54,112,.10);
}

label{
    font-size:15px !important;
    font-weight:900 !important;
}

input[type=file]{
    padding:14px !important;
    border-radius:14px !important;
    border:1px dashed rgba(29,54,112,.32) !important;
    background:#fff !important;
}

button{
    border-radius:14px !important;
    padding:14px 22px !important;
    font-weight:950 !important;
    letter-spacing:.01em;
}

button:not(.secondary){
    background:linear-gradient(135deg,#EE7718,#ff8f2f) !important;
    box-shadow:0 12px 28px rgba(238,119,24,.24) !important;
}

button.secondary{
    background:linear-gradient(135deg,#1D3670,#071432) !important;
    box-shadow:0 12px 28px rgba(29,54,112,.18) !important;
}

.note{
    margin-top:16px !important;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(29,54,112,.055);
    border:1px solid rgba(29,54,112,.08);
}

@media(max-width:900px){
    .engineering-menu{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .engineering-menu{
        grid-template-columns:1fr;
    }

    .eh-title{
        font-size:28px;
    }

    h1{
        font-size:34px !important;
    }
}

/* ARMA_ENGINEERING_UI_END */