/* ------------------------------
GLOBAL
------------------------------ */

body{
font-family:Inter,system-ui,-apple-system,sans-serif;
background:#f7f7f7;
margin:0;
padding:30px;
}

h1{
margin-bottom:6px;
}

p{
color:#555;
}

/* ------------------------------
CATEGORY GRID
------------------------------ */

#categories{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:12px;
margin-top:15px;
}

.category-card{
background:white;
border:1px solid #e5e5e5;
border-radius:10px;
padding:16px;
cursor:pointer;
transition:all .2s ease;
}

.category-card:hover{
border-color:#000;
transform:translateY(-2px);
box-shadow:0 4px 12px rgba(0,0,0,.05);
}

.system-header{
display:flex;
align-items:center;
gap:10px;
margin-bottom:6px;
}

.system-icon{
font-size:20px;
}

.category-card p{
font-size:14px;
margin:0;
}

.system-header{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
}

.system-icon{
  font-size:18px;
}

/* ------------------------------
QUESTION BLOCK
------------------------------ */

.question-block{
border:1px solid #eee;
border-radius:10px;
padding:14px;
margin-bottom:14px;
background:#fafafa;
}

.question{
font-weight:600;
margin-bottom:10px;
}


/* ------------------------------
ANSWER BUTTONS
------------------------------ */
.answers{
display:flex;
flex-wrap:wrap;
gap:8px;
}

.answer-btn{
padding:8px 12px;
border-radius:6px;
border:1px solid #ddd;
background:white;
cursor:pointer;
font-size:13px;
}

.answer-btn:hover{
border-color:#000;
}

.answer-btn.selected{
background:#111;
color:white;
border-color:#111;
}

/* ------------------------------
VERDICT BUTTON
------------------------------ */

.verdict-btn{
  margin-top:15px;
  background:#111;
  color:white;
  border:none;
  padding:12px 18px;
  border-radius:6px;
  cursor:pointer;
}

.verdict-btn:hover{
  background:#333;
}

.rerun-btn{
margin-top:15px;
padding:10px 14px;
border-radius:6px;
background:#111;
color:white;
border:none;
cursor:pointer;
}

.rerun-btn:hover{
background:#333;
}
/* ------------------------------
VERDICT PANEL
------------------------------ */

.verdict{
border:1px solid #ddd;
border-radius:12px;
padding:18px;
background:#fff;
margin-top:10px;
}

.verdict h3{
margin-top:10px;
margin-bottom:8px;
}

.system-row{
display:flex;
justify-content:space-between;
padding:6px 0;
border-bottom:1px solid #f0f0f0;
}

.system-name{
font-weight:600;
}


/* ------------------------------
PROGRESS BAR
------------------------------ */

.progress-bar{
  width:100%;
  height:8px;
  background:#eee;
  border-radius:4px;
  margin-bottom:10px;
}

.progress-fill{
  height:100%;
  background:#4CAF50;
  border-radius:4px;
  transition:width .3s ease;
}

/* ------------------------------
SYSTEM REPORT
------------------------------ */
.system-report{
  margin-top:10px;
}

.system-row{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px solid #eee;
}

.system-name{
  font-weight:600;
}

.system-status{
  font-size:14px;
}

.status-safe{
color:#2e7d32;
font-weight:600;
}

.status-review{
color:#f9a825;
font-weight:600;
}

.status-risk{
color:#c62828;
font-weight:600;
}

.status-safe{
color:#2e7d32;
font-weight:600;
}

.status-review{
color:#f9a825;
font-weight:600;
}

.status-risk{
color:#c62828;
font-weight:600;
}

.status-pending{
color:#666;
}

.risk-bar{
width:100%;
height:10px;
background:#eee;
border-radius:6px;
margin:12px 0;
}

.risk-fill{
height:100%;
background:#c62828;
border-radius:6px;
transition:width .4s ease;
}

.system-row{
display:flex;
justify-content:space-between;
padding:8px 0;
border-bottom:1px solid #eee;
}

.rerun-btn{
margin-top:15px;
padding:10px 16px;
border:none;
background:#111;
color:white;
cursor:pointer;
}