/* 대기자 순번 조회 (사용자) — admission(ai-make) 톤앤매너 참고 */
.wait-page {
  width: 100%;
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.wait-page * { box-sizing: border-box; }

.wait-page .wait-head { text-align: center; margin-bottom: 30px; }
.wait-page .wait-head h1 { font-size: 24px; font-weight: 700; color: #0f2d59; margin: 0 0 8px; }
.wait-page .wait-head p { font-size: 14px; color: #64748b; margin: 0; }

.wait-page .wait-search {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 14px;
}
.wait-page .wait-search .label {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #1e293b;
  padding: 0 10px;
  white-space: nowrap;
}
.wait-page .wait-search input[type="text"] {
  flex: 1;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
}
.wait-page .wait-search input[type="text"]:focus { border-color: #2b6cb0; }
.wait-page .wait-search .btn {
  height: 46px;
  padding: 0 24px;
  background: #0f2d59;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.wait-page .wait-table {
  width: 100%;
  border-top: 2px solid #0f2d59;
  border-collapse: collapse;
}
.wait-page .wait-table th,
.wait-page .wait-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #cbd5e1;
  font-size: 14px;
  text-align: center;
  color: #1e293b;
}
.wait-page .wait-table thead th { background: #f8fafc; font-weight: 700; color: #0f2d59; }
.wait-page .wait-table .btn-view {
  display: inline-block;
  padding: 6px 16px;
  background: #2b6cb0;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.wait-page .wait-result-msg {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 18px;
  text-align: center;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 24px;
}
.wait-page .wait-result-msg strong { color: #2b6cb0; font-size: 20px; }

.wait-page .wait-sec-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f2d59;
  border-bottom: 2px solid #0f2d59;
  padding-bottom: 8px;
  margin: 28px 0 0;
}

.wait-page .wait-info { width: 100%; border-collapse: collapse; }
.wait-page .wait-info th {
  width: 120px;
  text-align: left;
  padding: 12px;
  background: #f8fafc;
  font-weight: 700;
  color: #1e293b;
  font-size: 14px;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: top;
}
.wait-page .wait-info td {
  padding: 12px;
  font-size: 14px;
  color: #1e293b;
  border-bottom: 1px solid #cbd5e1;
}

.wait-page .wait-btns { text-align: center; margin: 30px 0 60px; }
.wait-page .wait-btns .btn {
  display: inline-block;
  min-width: 130px;
  height: 48px;
  line-height: 48px;
  margin: 0 4px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.wait-page .wait-btns .btn-cancel { background: #0f2d59; color: #fff; }
.wait-page .wait-btns .btn-delay { background: #2b6cb0; color: #fff; }
.wait-page .wait-btns .btn-list { background: #e2e8f0; color: #334155; }

/* 본인확인 모달 (wait_1) */
.wait-modal-bg {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}
.wait-modal-bg.on { display: block; }
.wait-modal-bg .wait-modal {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 380px;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
}
.wait-modal-bg .wait-modal h3 { font-size: 18px; font-weight: 700; color: #0f2d59; margin: 0 0 6px; text-align: center; }
.wait-modal-bg .wait-modal p { font-size: 13px; color: #64748b; margin: 0 0 16px; text-align: center; line-height: 1.5; }
.wait-modal-bg .wait-modal input[type="text"] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 16px;
  outline: none;
}
.wait-modal-bg .wait-modal .modal-btns { display: flex; gap: 8px; }
.wait-modal-bg .wait-modal .modal-btns button {
  flex: 1;
  height: 44px;
  border: 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.wait-modal-bg .wait-modal .modal-btns .ok { background: #0f2d59; color: #fff; }
.wait-modal-bg .wait-modal .modal-btns .cancel { background: #e2e8f0; color: #334155; }
