@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
*{box-sizing:border-box}
body{font-family:Inter,system-ui,Arial,sans-serif;background:#f5f6fa;margin:0;padding:20px;color:#222}
.container{width:100%;max-width:1000px;margin:0 auto;padding:10px 15px}
h2{margin:0 0 20px}
.search-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:20px}
.search-bar label{font-weight:600}
.search-bar input{flex:1;min-width:180px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px}
.search-bar button{background:#4CAF1A;color:#fff;border:none;border-radius:6px;padding:10px 12px;font-weight:600;cursor:pointer}
.card{background:#fff;border-radius:10px;box-shadow:0 8px 22px rgba(0,0,0,.06);margin-bottom:16px;overflow:hidden}
.card .title{background:#251F67;color:#fff;padding:14px 18px;font-weight:600}
.card .row{display:flex;flex-wrap:wrap;padding:10px 18px;border-top:1px solid #eef1f5}
.card .row .label{width:120px;min-width:120px;color:#555;font-weight:600}
.card .row .val{flex:1;min-width:160px}
.header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:12px;gap:10px}
.header a{color:#251F67;text-decoration:none;font-weight:600}
.header a:hover{text-decoration:underline}
.table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,.06)}
.table th,.table td{padding:12px 14px;border-bottom:1px solid #eef1f5;text-align:left}
.table th{background:#251F67;color:#fff}
.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:6px;text-decoration:none;border:0;cursor:pointer;text-align:center}
.btn-primary{background:#2563eb;color:#fff}
.btn-danger{background:#dc2626;color:#fff}
.btn-secondary{background:#64748b;color:#fff}
.form{background:#fff;padding:18px;border-radius:10px;box-shadow:0 8px 22px rgba(0,0,0,.06)}
.form input[type=text], .form input[type=password], .form textarea, .form input[type=file]{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:6px;margin:6px 0 12px}
.form .actions{display:flex;flex-wrap:wrap;gap:10px}
.note{font-size:12px;color:#64748b}
.login{max-width:420px;margin:60px auto}
.alert{padding:10px 12px;border-radius:8px;background:#fee2e2;color:#991b1b;margin-bottom:12px}
.success{background:#ecfdf5;color:#065f46}
.badge{display:inline-flex;align-items:center;gap:6px;color:#e11d48;font-weight:600}
.badge img{width:18px;height:18px;vertical-align:middle}
@media(max-width:768px){
  .search-bar{flex-direction:column;align-items:stretch}
  .search-bar input,.search-bar button{width:100%}
  .header{flex-direction:column;align-items:flex-start;gap:6px}
  .card .row{flex-direction:column}
  .card .row .label{width:100%;margin-bottom:4px}
  .form .actions{flex-direction:column}
  .form .actions .btn{width:100%}
}
