/* 학원 등록 신청서 스킨 — ad_new 스킨의 톤을 따르되 신청서용으로 정리 */
.apply_wrap { max-width:760px; margin:40px auto 70px; padding:0 16px;
  font-family:'AppleSDGothicNeo','Apple SD Gothic Neo','Noto Sans KR',sans-serif; }
.apply_head { text-align:center; margin-bottom:28px; }
.apply_title { font-size:26px; font-weight:800; color:#1a1a1a; margin:0 0 10px; }
.apply_desc { font-size:14px; color:#777; line-height:1.7; margin:0; }

.apply_tbl { width:100%; border-collapse:collapse; border-top:2px solid #2C5F9E; }
.apply_tbl th, .apply_tbl td { padding:14px 12px; border-bottom:1px solid #eaeaea;
  font-size:14px; text-align:left; vertical-align:middle; }
.apply_tbl th { width:130px; background:#f8fbff; color:#333; font-weight:700; white-space:nowrap; }
.req { color:#e53935; }

.apply_inp { width:100%; max-width:420px; box-sizing:border-box; padding:10px 12px;
  border:1px solid #d5d5d5; border-radius:6px; font-size:14px; color:#333; background:#fff; }
.apply_inp:focus { outline:none; border-color:#2C5F9E; box-shadow:0 0 0 2px rgba(44,95,158,.12); }

.apply_phone { display:flex; align-items:center; gap:6px; }
.apply_inp_fixed { max-width:72px; text-align:center; background:#f3f3f3; color:#666; }
.apply_inp_num { max-width:104px; text-align:center; }
.apply_dash { color:#999; }

.apply_region { display:flex; gap:8px; flex-wrap:wrap; }
.apply_region .apply_inp { max-width:206px; }

.apply_chk_group { display:flex; flex-wrap:wrap; gap:8px; }
.apply_chk_item { display:inline-flex; align-items:center; gap:6px; padding:8px 13px;
  border:1px solid #ddd; border-radius:20px; font-size:13px; color:#444;
  cursor:pointer; background:#fff; transition:all .15s; user-select:none; }
.apply_chk_item:hover { border-color:#2C5F9E; color:#2C5F9E; }
.apply_chk_item input { accent-color:#2C5F9E; margin:0; }
.apply_chk_item:has(input:checked) { background:#2C5F9E; border-color:#2C5F9E; color:#fff; }
.apply_hint { margin:8px 0 0; font-size:12px; color:#999; }

.apply_textarea { width:100%; box-sizing:border-box; min-height:120px; padding:12px;
  border:1px solid #d5d5d5; border-radius:6px; font-size:14px; line-height:1.7;
  color:#333; resize:vertical; font-family:inherit; }
.apply_textarea:focus { outline:none; border-color:#2C5F9E; box-shadow:0 0 0 2px rgba(44,95,158,.12); }

.apply_privacy { margin:16px 0 0; padding:12px 14px; background:#f7f7f7; border-radius:6px;
  font-size:12px; color:#888; line-height:1.6; }

.apply_btns { display:flex; justify-content:center; gap:10px; margin-top:26px; }
.apply_btn_cancel, .apply_btn_submit { padding:13px 40px; border-radius:8px; font-size:15px;
  font-weight:700; cursor:pointer; text-decoration:none; border:0; display:inline-block; }
.apply_btn_cancel { background:#eee; color:#555; line-height:normal; }
.apply_btn_cancel:hover { background:#e2e2e2; }
.apply_btn_submit { background:#2C5F9E; color:#fff; }
.apply_btn_submit:hover { background:#24507f; }
.apply_btn_submit:disabled { background:#9db6d2; cursor:default; }

/* 목록 */
.apply_list_wrap { max-width:1100px; margin:36px auto 70px; padding:0 16px;
  font-family:'AppleSDGothicNeo','Apple SD Gothic Neo','Noto Sans KR',sans-serif; }
.apply_list_head { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.apply_list_title { font-size:22px; font-weight:800; color:#1a1a1a; margin:0; }
.apply_btn_write { padding:9px 22px; background:#2C5F9E; color:#fff; border-radius:8px;
  font-size:14px; font-weight:700; text-decoration:none; }
.apply_btn_write:hover { background:#24507f; }
.apply_list_tbl { width:100%; border-collapse:collapse; border-top:2px solid #2C5F9E; }
.apply_list_tbl th { padding:12px 8px; background:#f8fbff; border-bottom:1px solid #e3e3e3;
  font-size:13px; font-weight:700; color:#333; }
.apply_list_tbl td { padding:13px 8px; border-bottom:1px solid #f0f0f0; font-size:13px; color:#444; }
.apply_list_tbl tbody tr:hover { background:#fafcff; }
.col_center { text-align:center; }
.col_left { text-align:left; }
.apply_list_link { color:#2C5F9E; font-weight:700; text-decoration:none; }
.apply_list_link:hover { text-decoration:underline; }
.apply_empty { text-align:center; padding:60px 0 !important; color:#999; font-size:14px; }
.apply_paging { text-align:center; margin-top:22px; }

/* 상세 */
.apply_view_wrap { max-width:760px; margin:40px auto 70px; padding:0 16px;
  font-family:'AppleSDGothicNeo','Apple SD Gothic Neo','Noto Sans KR',sans-serif; }
.apply_view_head { border-bottom:2px solid #2C5F9E; padding-bottom:14px; margin-bottom:0; }
.apply_view_title { font-size:22px; font-weight:800; color:#1a1a1a; margin:0 0 8px; }
.apply_view_meta { font-size:13px; color:#999; }
.apply_route { margin-left:10px; color:#2C5F9E; font-weight:700; }
.apply_info_box { border-bottom:1px solid #eaeaea; }
.apply_info_row { display:flex; border-bottom:1px solid #f0f0f0; }
.apply_info_row:last-child { border-bottom:0; }
.apply_info_label { width:130px; flex:0 0 130px; padding:13px 12px; background:#f8fbff;
  font-size:13px; font-weight:700; color:#333; }
.apply_info_val { flex:1; padding:13px 12px; font-size:14px; color:#444; word-break:break-all; }
.apply_info_val a { color:#2C5F9E; text-decoration:none; }
.apply_badges { display:flex; flex-wrap:wrap; gap:6px; }
.apply_badge { display:inline-block; padding:4px 11px; background:#EBF4FF; color:#2C5F9E;
  border-radius:20px; font-size:12px; font-weight:700; }
.apply_view_content { padding:20px 12px; font-size:14px; color:#333; line-height:1.8; }
.apply_content_label { font-size:13px; font-weight:700; color:#333; margin-bottom:10px; }
.apply_muted { color:#aaa; }
.apply_view_btns { display:flex; justify-content:center; gap:8px; margin-top:20px; }
.apply_btn_list, .apply_btn_edit, .apply_btn_del { padding:10px 26px; border-radius:8px;
  font-size:14px; font-weight:700; text-decoration:none; }
.apply_btn_list { background:#eee; color:#555; }
.apply_btn_edit { background:#2C5F9E; color:#fff; }
.apply_btn_del { background:#e53935; color:#fff; }

@media (max-width:640px) {
  .apply_tbl th, .apply_tbl td { display:block; width:auto; }
  .apply_tbl th { border-bottom:0; padding-bottom:6px; background:transparent; }
  .apply_tbl td { padding-top:0; }
  .apply_inp, .apply_region .apply_inp { max-width:100%; }
  .apply_inp_fixed { max-width:64px; }
  .apply_inp_num { max-width:none; flex:1; }
  .apply_list_tbl thead { display:none; }
  .apply_list_tbl td { display:block; text-align:left !important; border-bottom:0; padding:4px 8px; }
  .apply_list_tbl tbody tr { display:block; border-bottom:1px solid #eee; padding:10px 0; }
  .apply_info_row { flex-direction:column; }
  .apply_info_label { width:auto; flex:none; }
}

/* ===== 하단 실시간 신청 현황 =====
   현장 영업에서 "문의가 이렇게 들어온다" 를 보여주는 영역.
   성함·학원명은 recent_list.php 에서 마스킹된 상태로 넘어온다. */
.apply_recent { margin-top:44px; padding-top:28px; border-top:1px solid #eaeaea; }
.apply_recent_head { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.apply_recent_head strong { font-size:15px; font-weight:800; color:#1a1a1a; }
.apply_recent_dot { width:8px; height:8px; border-radius:50%; background:#e53935; flex:0 0 8px;
  animation:apply_pulse 1.6s ease-in-out infinite; }
@keyframes apply_pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.35;transform:scale(.8);} }
.apply_recent_scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.apply_recent_tbl { width:100%; min-width:460px; border-collapse:collapse; }
.apply_recent_tbl th { padding:9px 8px; background:#f8fbff; border-bottom:1px solid #e3e3e3;
  font-size:12px; font-weight:700; color:#555; white-space:nowrap; text-align:center; }
.apply_recent_tbl td { padding:11px 8px; border-bottom:1px solid #f2f2f2; font-size:13px;
  color:#444; text-align:center; white-space:nowrap; }
.apply_recent_time { color:#999; font-size:12px; }
.apply_recent_mine { background:#EBF4FF; }
.apply_recent_mine td { font-weight:700; color:#2C5F9E; }
.apply_recent_badge { display:inline-block; padding:3px 9px; background:#2C5F9E; color:#fff;
  border-radius:20px; font-size:11px; font-weight:700; }
.apply_recent_empty { padding:32px 0; text-align:center; color:#aaa; font-size:13px; margin:0; }
.apply_recent_note { margin:10px 0 0; font-size:11px; color:#aaa; }
.apply_dong_etc { max-width:420px; }
@media (max-width:640px) {
  .apply_recent_tbl { min-width:420px; }
  .apply_recent_tbl th, .apply_recent_tbl td { padding:9px 6px; font-size:12px; }
}
/* 시연용 샘플 표시 — 실제 신청과 반드시 구분되어야 한다 */
.apply_recent_sample { display:inline-block; margin-left:5px; padding:2px 7px; background:#f0f0f0;
  color:#999; border:1px solid #e0e0e0; border-radius:20px; font-size:10px; font-weight:700; }
.apply_recent_demo_note { margin:0 0 12px; padding:9px 12px; background:#FFF8E6; border:1px solid #F5E3B3;
  border-radius:6px; font-size:12px; color:#8a6d1f; }
