
:root{
--bg:#020617;
--panel:#0f172a;
--panel2:#111827;
--border:#1e293b;
--accent:#2563eb;
--accent2:#1d4ed8;
--text:#e5e7eb;
--muted:#94a3b8;
--danger:#dc2626;
--success:#16a34a;
}

body{
font-family:Inter,Arial,Helvetica,sans-serif;
background:linear-gradient(180deg,#020617,#020617 200px,#030a1a);
margin:0;
padding:0;
color:var(--text);
}

.container{
max-width:1100px;
margin:30px auto;
background:var(--panel);
padding:30px;
border-radius:12px;
border:1px solid var(--border);
box-shadow:0 15px 40px rgba(0,0,0,0.6);
}

h1{
margin-top:0;
font-size:22px;
letter-spacing:.5px;
}

h3{
margin-top:30px;
margin-bottom:10px;
font-size:16px;
color:#cbd5f5;
border-bottom:1px solid var(--border);
padding-bottom:6px;
}

.grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:18px;
}

label{
font-weight:600;
font-size:13px;
color:var(--muted);
}

input,textarea,select{
width:100%;
padding:9px 10px;
border-radius:6px;
border:1px solid var(--border);
background:var(--panel2);
color:var(--text);
font-size:13px;
}

input:focus,textarea:focus,select:focus{
outline:none;
border-color:var(--accent);
box-shadow:0 0 0 1px var(--accent);
}

textarea{
min-height:120px;
}

button{
margin-top:10px;
padding:9px 16px;
border:none;
border-radius:6px;
background:var(--accent);
color:white;
font-weight:600;
font-size:13px;
cursor:pointer;
transition:.2s;
}

button:hover{
background:var(--accent2);
transform:translateY(-1px);
}

.removeBtn{
background:var(--danger);
}

.removeBtn:hover{
background:#b91c1c;
}

.copyBtn{
background:var(--success);
}

.copyBtn:hover{
background:#15803d;
}

.infractionRow,.saisieRow{
display:flex;
gap:10px;
margin-bottom:10px;
align-items:center;
background:#030b1c;
padding:8px;
border-radius:6px;
border:1px solid var(--border);
}

.total{
font-weight:600;
margin-top:12px;
color:#cbd5f5;
font-size:13px;
}

#result{
white-space:pre-wrap;
background:#020617;
color:#e5e7eb;
padding:20px;
border-radius:8px;
margin-top:20px;
font-family:monospace;
border:1px solid var(--border);
max-height:350px;
overflow:auto;
}

#result::-webkit-scrollbar{width:6px}
#result::-webkit-scrollbar-thumb{background:#1e293b;border-radius:3px}

.statusBar{
background:#030b1c;
border-bottom:1px solid var(--border);
}

.statusContent{
max-width:1100px;
margin:auto;
display:flex;
gap:30px;
padding:10px 20px;
font-size:13px;
color:#cbd5f5;
}

.statusContent span{
font-weight:700;
}

.topBar{
background:#010409;
border-bottom:1px solid var(--border);
padding:14px 20px;
}

.topBarContent{
max-width:1100px;
margin:auto;
display:flex;
align-items:center;
}

.topLeft{
display:flex;
align-items:center;
gap:12px;
}

.topLogo{
width:46px;
}

.topTitle{
font-size:15px;
font-weight:700;
line-height:1.2;
}

.topTitle span{
display:block;
font-size:12px;
color:var(--muted);
font-weight:400;
}

.appFooter{
margin-top:40px;
background:#020617;
color:#cbd5f5;
padding:25px 20px;
border-top:1px solid var(--border);
}

.footerContent{
max-width:900px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
gap:20px;
}

.footerLeft{
display:flex;
align-items:center;
gap:12px;
}

.footerLogo{
width:60px;
}

.footerTitle{
font-size:14px;
}

.footerCenter{
font-size:13px;
line-height:1.7;
}

.footerCenter a{
color:#60a5fa;
text-decoration:none;
}

.footerCenter a:hover{
text-decoration:underline;
}

.footerCopyright{
text-align:center;
margin-top:15px;
font-size:12px;
color:#64748b;
}

.inlineFields{display:flex;gap:8px;align-items:center}
.mirandaChecks{display:flex;gap:15px;margin-top:5px;flex-wrap:wrap;font-size:13px}
.mirandaChecks label{display:flex;align-items:center;gap:4px}
.icon{font-size:14px;opacity:.8}
.gavChrono{margin-top:6px;font-size:13px;color:#cbd5f5}

.gavProgress{
margin-top:6px;
height:8px;
background:#020617;
border:1px solid var(--border);
border-radius:4px;
overflow:hidden;
}

#gavBar{
height:100%;
width:0%;
background:#22c55e;
transition:width 0.5s linear, background 0.3s;
}
.inlineFields input{flex:1}

@media(max-width:800px){
.grid{grid-template-columns:1fr}
.infractionRow,.saisieRow{flex-direction:column;align-items:stretch}
.statusContent{flex-direction:column;gap:6px}
}
.timeline{
max-width:1100px;
margin:10px auto 20px auto;
display:flex;
justify-content:space-between;
background:#030b1c;
border:1px solid var(--border);
border-radius:8px;
padding:10px;
}

.step{
flex:1;
text-align:center;
font-size:12px;
padding:6px 4px;
color:#94a3b8;
border-right:1px solid var(--border);
}

.step:last-child{border-right:none}

.step.active{
color:#22c55e;
font-weight:700;
}

.step.warning{
color:#f59e0b;
font-weight:700;
}

.step.danger{
color:#ef4444;
font-weight:700;
}




.appFooter{
margin-top:40px;
background:#0f172a;
color:#e5e7eb;
padding:25px 20px;
border-radius:10px;
animation:fadeFooter 1s ease;
}

.footerContent{
max-width:900px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
gap:20px;
}

.footerLeft{
display:flex;
align-items:center;
gap:12px;
}

.footerLogo{
width:60px;
height:auto;
}

.footerTitle{
font-size:14px;
line-height:1.3;
}

.footerCenter{
font-size:13px;
line-height:1.6;
}

.footerCenter a{
color:#38bdf8;
text-decoration:none;
}

.footerCenter a:hover{
text-decoration:underline;
}

.footerCopyright{
text-align:center;
margin-top:15px;
font-size:12px;
color:#9ca3af;
}

@keyframes fadeFooter{
from{opacity:0;transform:translateY(10px)}
to{opacity:1;transform:translateY(0)}
}



.topBar{
background:#020617;
border-bottom:1px solid #1e293b;
padding:12px 20px;
box-shadow:0 4px 10px rgba(0,0,0,0.6);
}

.topBarContent{
max-width:1100px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
}

.topLeft{
display:flex;
align-items:center;
gap:12px;
}

.topLogo{
width:45px;
height:auto;
}

.topTitle{
font-size:15px;
font-weight:bold;
line-height:1.2;
}

.topTitle span{
display:block;
font-size:12px;
color:#94a3b8;
font-weight:normal;
}

.container{
background:#020617;
}

input,textarea,select{
background:#0f172a;
color:#e5e7eb;
border:1px solid #1e293b;
}

button{
background:#1d4ed8;
}

button:hover{
background:#1e40af;
}

#result{
background:#020617;
}
