*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:#f4f7fb;
  color:#1e293b;
}
.topbar{
  background:#0f172a;
  color:#fff;
  padding:14px 20px;
  border-bottom:4px solid #2563eb;
}
.topbar-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:16px;
}
.logo{
  height:70px;
  width:auto;
  background:#fff;
  padding:6px;
  border-radius:10px;
}
.title-wrap h1{
  margin:0;
  font-size:24px;
}
.title-wrap p{
  margin:4px 0;
  font-size:16px;
}
.title-wrap small{
  opacity:.85;
}
.container{
  max-width:1100px;
  margin:30px auto;
  padding:0 16px;
}
.card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  padding:24px;
  margin-bottom:20px;
}
h2{
  margin-top:0;
}
.form-group{
  margin-bottom:16px;
}
label{
  display:block;
  margin-bottom:6px;
  font-weight:bold;
}
input, select{
  width:100%;
  padding:12px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  font-size:16px;
}
button, .btn{
  display:inline-block;
  background:#2563eb;
  color:#fff;
  text-decoration:none;
  border:none;
  padding:12px 18px;
  border-radius:10px;
  cursor:pointer;
  font-size:16px;
}
button:hover, .btn:hover{
  background:#1d4ed8;
}
.btn-danger{
  background:#dc2626;
}
.btn-secondary{
  background:#475569;
}
.btn-live{
  background:#16a34a;
  color:#fff;
  border:none;
}

.btn-live:hover{
  background:#15803d;
}


.success{
  background:#dcfce7;
  color:#166534;
  padding:12px;
  border-radius:10px;
  margin-bottom:16px;
}
.error{
  background:#fee2e2;
  color:#991b1b;
  padding:12px;
  border-radius:10px;
  margin-bottom:16px;
}
table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}
th, td{
  padding:12px;
  border-bottom:1px solid #e2e8f0;
  text-align:left;
}
th{
  background:#e2e8f0;
}
.footer{
  text-align:center;
  padding:20px;
  color:#64748b;
}
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
@media print {
  .no-print { display:none !important; }
  body { background:#fff; }
  .card { box-shadow:none; }
}