/* ═══════════════════════════════════════
   SUBJECT BANK  (bottom sheet)
═══════════════════════════════════════ */

.bank-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  align-items: flex-end;
}

.bank-overlay.open {
  display: flex;
}

.bank-sheet {
  background: #fff;
  width: 100%;
  max-height: 75vh;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header bar */
.bank-hdr {
  background: #388e3c;
  color: #fff;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bank-hdr button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

/* Search input */
.bank-sb {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

.bank-sb input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  direction: rtl;
  outline: none;
}

.bank-sb input:focus {
  border-color: #388e3c;
}

/* Scrollable item list */
.bank-items {
  overflow-y: auto;
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Individual subject row */
.bank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}

.bank-row:hover { background: #f5f5f5; }

/* Color swatch */
.b-sw {
  width: 10px;
  height: 36px;
  border-radius: 3px;
  flex-shrink: 0;
}

.b-inf { flex: 1; min-width: 0; }
.b-nm  { font-size: 14px; font-weight: 700; }
.b-sub { font-size: 12px; color: #888; margin-top: 2px; }

.b-pl {
  color: #388e3c;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}
