/* Lightweight styles (Bootstrap ki zaroorat nahi) */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; color: #222; background: #f3f5f9; }
a { color: #1f2a6b; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

.topbar { background: #1f2a6b; color: #fff; }
.topbar-inner { max-width: 1140px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.topbar .brand { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.topbar .brand-sub { color: #c9d0ea; font-size: 13px; }
.foot { text-align: center; color: #888; font-size: 12px; padding: 20px 0 30px; }

.btn { display: inline-block; padding: 7px 14px; font-size: 14px; line-height: 1.3; border: 1px solid #b9c0cf; border-radius: 4px; background: #fff; color: #1f2a6b; text-decoration: none; cursor: pointer; }
.btn:hover { background: #eef1f7; }
.btn:focus-visible { outline: 2px solid #3a4f96; outline-offset: 2px; }
.btn-primary { background: #1f2a6b; border-color: #1f2a6b; color: #fff; }
.btn-primary:hover { background: #17204f; color: #fff; }
.btn-sm { padding: 4px 10px; font-size: 13px; }
.btn-link { border-color: transparent; background: transparent; text-decoration: underline; }
.btn-default, .btn-outline-secondary { }

.alert { padding: 10px 14px; border-radius: 4px; margin-bottom: 14px; border: 1px solid transparent; }
.alert-success { background: #e7f5ec; border-color: #b6e0c3; color: #146c2e; }
.alert-danger { background: #fdecea; border-color: #f5c2bd; color: #a3241b; }

.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { padding: 8px 10px; text-align: left; }
.table-bordered th, .table-bordered td { border: 1px solid #d6dae3; }
.table-striped tbody tr:nth-child(odd) { background: #fafbfd; }

/* ---------- Report pages ---------- */
.rp-wrap { margin: 24px auto; }
.rp-head { border-left: 5px solid #1f2a6b; padding: 4px 0 4px 14px; margin-bottom: 20px; }
.rp-head h2 { margin: 0; color: #1f2a6b; font-weight: 700; font-size: 24px; }
.rp-head p { margin: 4px 0 0; color: #555; }
.rp-crumb { font-size: 13px; color: #666; margin-bottom: 10px; }
.rp-crumb a { text-decoration: none; }
.rp-box { border: 1px solid #d6dae3; background: #fff; padding: 18px 20px; margin-bottom: 20px; border-radius: 4px; }
.rp-box h4 { margin: 0 0 12px; font-weight: 700; color: #1f2a6b; font-size: 16px; }
.rp-steps { margin: 0 0 14px 18px; padding: 0; color: #444; line-height: 1.6; }
.rp-upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rp-upload input[type=file] { border: 1px solid #ccc; padding: 6px; border-radius: 4px; max-width: 100%; background: #fff; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rp-actions .grp { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rp-search { border: 1px solid #ccc; border-radius: 4px; padding: 7px 10px; min-width: 240px; font: inherit; }
.rp-table th { background: #eef1f7; white-space: nowrap; }
.rp-table td { vertical-align: middle; }
.rp-table td.nowrap { white-space: nowrap; }
.rp-file { font-weight: 600; color: #1f2a6b; text-decoration: none; }
.rp-file:hover { text-decoration: underline; }
.rp-muted { color: #777; font-size: 12px; }
.rp-empty { text-align: center; color: #666; padding: 26px 10px; }
.rp-inline { display: inline; margin: 0; }
.badge-pass { color: #146c2e; font-weight: 700; }
.badge-fail { color: #b3261e; font-weight: 700; }
.btn-red { background: #c8342b; border-color: #c8342b; color: #fff; }
.btn-red:hover { background: #a72a22; color: #fff; }
.btn-danger-link { border-color: transparent; background: transparent; color: #b3261e; }
.btn-danger-link:hover { background: #fdecea; }
