/* ================= FONT SELF HOST ================= */

@font-face{
font-family:'Inter';
src:url('/storage/fonts/inter/inter-regular.woff2') format('woff2');
font-weight:400;
font-style:normal;
font-display:swap;
}

@font-face{
font-family:'Inter';
src:url('/storage/fonts/inter/inter-medium.woff2') format('woff2');
font-weight:500;
font-style:normal;
font-display:swap;
}

@font-face{
font-family:'Inter';
src:url('/storage/fonts/inter/inter-semibold.woff2') format('woff2');
font-weight:600;
font-style:normal;
font-display:swap;
}

/* ================= ROOT ================= */

:root{
--black:#000;
--text:#e5e7eb;
--muted:#9ca3af;
--orange:#f97316;
--ok:#22c55e;
--error:#f87171;
--border:rgba(249,115,22,.45);

--radius:2px;

/* COMPACT SCALE */
--space-xs:4px;
--space-sm:8px;
--space-md:12px;
--space-lg:18px;
--space-xl:28px;
}

*{
box-sizing:border-box;
font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

body{
margin:0;
background:#000;
color:var(--text);
font-size:15px;
}

/* PAGE */

.page{
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;
padding:28px;
}

/* CONTAINERS */

.container{
width:100%;
max-width:560px;
}

.container-wide{
width:100%;
max-width:1100px;
}

/* LOGO */

.logo{
width:230px;
margin:0 auto 26px auto;
display:block;
}

.logo-small{
width:140px;
display:block;
}

/* CARD */

.card{
padding:28px 30px;
border:1px solid var(--border);
box-shadow:0 0 6px rgba(249,115,22,.06);
background:#000;
}

/* STATUS */

.status{
color:var(--ok);
font-size:1rem;
margin-bottom:14px;
}

.rows{
font-size:.95rem;
line-height:1.55;
}

.label{
color:var(--muted);
display:inline-block;
width:60px;
}

.hr{
border-top:1px solid var(--border);
margin:20px 0;
}

/* INPUT */

input{
width:100%;
padding:11px;
margin:6px 0;
background:#000;
border:1px solid #333;
color:#fff;
font-size:.95rem;
border-radius:var(--radius);
}

input:focus{
outline:none;
border-color:var(--orange);
}

/* BUTTON */

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
background:var(--orange);
color:#000;
padding:11px 20px;
border:0;
cursor:pointer;
text-decoration:none;
font-size:.95rem;
border-radius:var(--radius);
transition:opacity .15s ease;
}

.btn:hover{
opacity:.9;
}

.btn-secondary{
background:#111;
color:#fff;
border:1px solid #333;
}

/* button spacing inside forms */

form .btn{
margin-top:8px;
}

/* ERROR */

.error{
color:var(--error);
font-weight:600;
font-size:.9rem;
margin-top:14px;
display:block;
}

/* TOPBAR */

.topbar{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:18px;
gap:14px;
flex-wrap:wrap;
}

.logged{
font-size:.9rem;
color:var(--muted);
margin-top:4px;
}

.actions{
display:flex;
gap:10px;
flex-wrap:wrap;
}

/* TABLE */

table{
width:100%;
border-collapse:collapse;
margin-top:18px;
}

th,td{
padding:12px 10px;
border-bottom:1px solid #222;
}

th{
color:var(--muted);
cursor:pointer;
text-align:left;
font-size:.85rem;
}

td:last-child, th:last-child{
text-align:right;
width:170px;
}

tr:hover td{
background:#111;
}

.file{
color:var(--orange);
text-decoration:none;
font-size:.95rem;
}

/* FOOTER */

footer{
margin-top:30px;
border-top:1px solid var(--border);
padding-top:18px;
font-size:.8rem;
color:#6b7280;
}

.brand{
font-weight:600;
font-size:.95rem;
color:#fff;
margin-bottom:8px;
}

.brand a{
color:#fff;
text-decoration:none;
}

.brand .sk{
color:var(--orange);
}

.operator{
margin-top:3px;
color:var(--muted);
}

.legal{
margin-top:10px;
line-height:1.5;
}

/* MODAL */

.modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.75);
display:none;
align-items:center;
justify-content:center;
padding:16px;
}

.modal .card{
width:420px;
max-width:100%;
}

.modal-actions{
display:flex;
gap:10px;
margin-top:16px;
}

/* PROGRESS */

.progress{
height:8px;
background:#222;
margin-top:12px;
}

#bar{
height:8px;
background:var(--orange);
width:0%;
}

.small{
font-size:.75rem;
color:#777;
margin-top:8px;
}

/* MOBILE */

@media(max-width:700px){

.page{ padding:16px; }

.container,
.container-wide{ max-width:100%; }

.logo{ width:180px; }

.card{ padding:22px; }

.topbar{
flex-direction:column;
align-items:flex-start;
}

.actions{
width:100%;
}

.actions .btn{
flex:1;
}

.btn{
width:100%;
}

}
