/* Nexora IMS admin - branch exam schedule and student check-in (brexams.js) */
.be-how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.be-how > div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.be-how b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-size: 13px; }

.be-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.be-card { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.be-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.be-top h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.be-win { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.be-win .i, .be-meta .i, .be-info .i { width: 15px; height: 15px; flex: none; }
.be-meta, .be-info { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.be-meta span, .be-info span { display: inline-flex; align-items: center; gap: 6px; }
.be-info:empty { display: none; }
.be-info { padding: 10px 12px; border-radius: 12px; background: var(--blue-50); }
.be-rq { font-size: 12.5px; color: var(--muted); }
.be-note { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.be-note .i { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.be-note.wait { background: var(--amber-bg); color: #8A5300; }
.be-note.bad { background: var(--red-bg); color: #B42328; }
.be-note.ok { background: var(--green-bg); color: var(--green); }
.be-prog .st-bar { margin-top: 6px; }
.be-pl { font-size: 12.5px; color: var(--ink-2); }
.be-pl b { color: var(--ink); font-size: 14px; }
.be-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.be-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.be-stats > div { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.be-stats b { font-size: 24px; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.be-stats span { font-size: 12px; color: var(--muted); font-weight: 600; }

.be-list { display: flex; flex-direction: column; }
.be-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line-2); }
.be-row:first-child { border-top: 0; }
.be-row.in { background: #F4FBF6; }
.be-who { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.be-who b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.be-who span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.be-st { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.be-in, .be-out { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.be-in { color: var(--green); } .be-out { color: var(--muted); font-weight: 600; }
.be-in .i { width: 15px; height: 15px; }

@media (max-width: 760px) {
  .be-how, .be-stats { grid-template-columns: repeat(2, 1fr); }
  .be-grid { grid-template-columns: 1fr; }
  .be-row { flex-wrap: wrap; }
  .be-st { order: 3; justify-content: flex-start; flex: 1 1 100%; }
}
