/* 전자주주총회 에뮬레이션 사이트 — 로그인/총회장 셸 스타일 (widget.css와 별개, 페이지 셸용) */

body.hall-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Malgun Gothic', sans-serif;
  background: #0f172a;
  color: #1a1a1a;
}

/* --- 로그인 --- */

.hall-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hall-login-card {
  /* 레이아웃은 hall-theme.css 가 담당. 여기 max-width 를 두면 데스크톱이 모바일 폭으로 고정됨 */
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 32px;
}

.hall-ci {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.hall-login-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
}

.hall-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.hall-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
}

.hall-tab.active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.hall-pane {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.hall-pane.active {
  display: flex;
}

.hall-pane input,
.hall-pane select {
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.hall-pane label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: -6px;
}

.hall-submit {
  margin-top: 8px;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hall-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.hall-error {
  color: #dc2626;
  font-size: 13px;
  min-height: 18px;
}

.hall-hint {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 16px;
  text-align: center;
}

/* --- 총회장 셸 (헤더/본문, 세부 레이아웃은 위젯 내부에서 구성) --- */

.hall-shell {
  min-height: 100vh;
  background: #0f172a;
  display: flex;
  flex-direction: column;
}

.hall-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: #111827;
  color: #f8fafc;
}

.hall-topbar .hall-ci {
  color: #cbd5e1;
  margin: 0;
}

.hall-meeting-name {
  font-weight: 700;
  font-size: 15px;
}

.hall-live-badge {
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.hall-clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: #cbd5e1;
}

.hall-status-pill {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #334155;
  color: #e2e8f0;
}

.hall-status-pill--open {
  background: #16a34a;
  color: #fff;
}

.hall-body-wrap {
  flex: 1;
  background: #f8fafc;
  padding: 16px;
}

.hint {
  font-size: 13px;
  color: #64748b;
}

.hall-content-grid {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .hall-content-grid {
    grid-template-columns: 1fr;
  }
}

.hall-panel {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hall-panel h3 {
  font-size: 13px;
  margin: 0 0 8px;
  color: #334155;
}

.hall-agenda-tree,
.hall-agenda-tree ul {
  list-style: none;
  margin: 0;
  padding-left: 14px;
}

.hall-agenda-tree {
  padding-left: 0;
}

.hall-agenda-item {
  padding: 4px 0;
  font-size: 13px;
  cursor: pointer;
  color: #475569;
}

.hall-agenda-item.active {
  color: #1d4ed8;
  font-weight: 700;
}

.hall-attendance-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}

.hall-bar {
  height: 10px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  margin: 4px 0 10px;
}

.hall-bar > div {
  height: 100%;
  background: #1d4ed8;
}

.hall-open-btn {
  margin-left: 8px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: #16a34a;
  color: #fff;
}

.hall-open-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* --- 주주 화면 안건/투표/질의 탭 --- */

.hall-content-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 12px;
}

.hall-content-tab {
  padding: 8px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.hall-content-tab.active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.hall-content-pane {
  display: none;
}

.hall-content-pane.active {
  display: block;
}

.hall-query-log-btn {
  margin-bottom: 12px;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
}

.hall-query-log-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.5);
}

.hall-query-log-box {
  width: min(480px, 90%);
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.hall-query-log-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
  font-size: 13px;
}
