
@import url("dashboard.css");
@import url("sidebar.css");
@import url("international.css"); 
@import url("calendar.css");
@import url("search.css");
@import url("detail.css");
@import url("login.css");
@import url("common.css");
@import url("newlayer.css");
@import url("design.css");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0; 
}

input[readonly] {
    background-color: #f5f5f5 !important;
    color: #666 !important;
    cursor: not-allowed;
}

input::placeholder,
textarea::placeholder {
  color: #bbb;
  font-style: italic;
}

html, body {
  height: 100%;
  font-family:
  "Pretendard",
  "Noto Sans KR",
  -apple-system,
  BlinkMacSystemFont,
  "Apple SD Gothic Neo",
  "Malgun Gothic",
  sans-serif;
  font-size: 16px;
  line-height: 1.5;

  background: #f3f4f5;
  color: #222;

  -webkit-font-smoothing: antialiased;
}

/* LINK */

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  /*display: block;*/
}


:root {
  --bg-panel: #ffffff;
  --bg-header: #f8fafc;
  --line-soft: #e5e7eb;
  --line-strong: #cbd5e1;

  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #94a3b8;

  --accent-main: #1f3a5f;   /* AviaNext 블루 */
  --accent-soft: #e6eff8;

  --status-done-bg: #e6f1ff;
  --status-done-text: #1d4ed8;

  --status-wait-bg: #fef3c7;
  --status-wait-text: #92400e;
}

/* ===== App Layout ===== */
.app {
  display: flex;
  height: 100vh;
}

/* ===== Main ===== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.header {
  height: 56px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-left h1 {
  font-size: 16px;
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

/* ===== Content ===== */
.content {
  padding: 24px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d6d6d6 transparent;
  background: #f3f4f5;
  width: 100%;
}



.page-head h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.empty-area {
  height: calc(100vh - 140px);
  background: #f9fafb;
  border-radius: 8px;
}

/* 헤더 */
.panel-head {
  padding: 18px 22px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.panel-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.close-btn:hover {
  background: rgba(255,255,255,.25);
}

/* 바디 */
.panel-body {
  padding: 26px;
  overflow-y: auto;
  flex: 1;
  background: #f8fafc;
}

/* 폼 */
.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  background: #fff;
  transition: .2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.18);
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.inline {
  display: flex;
  gap: 8px;
}

.radio-group,
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.radio-group label,
.check-group label {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.panel-footer {
  padding: 20px 26px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.city-layer, .date-layer, .pax-layer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.city-layer.is-open, .date-layer.is-open, .pax-layer.is-open {
  display: flex;
}

/* 국제선 검색: 도시 선택 시 레이어 뒤 블랙 백 제거 */
main.international .city-layer,
main.international .city-layer.is-open {
  background: transparent;
}

/* 국제선 검색: 도시 선택 레이어 뜨는 위치 일정하게 */
main.international .city-layer.is-open {
  top: 167px;
  left: 14px;
  right: 0;
  bottom: 0;
  align-items: flex-start;
  justify-content: flex-start;
}

.mainFrame {
	width:100%;
	height:100%;
}
.mainFrame.on {
	display: block;
}
.mainFrame.off {
	display: none;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;      /* ← 줄바꿈 */
  gap: 4px ;       /* 세로 / 가로 간격 */
}

.menu-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  width: 100%;
}

.menu-star {
  cursor: pointer;
  font-size: 16px;
  color: #2c4a9a;
}

.menu-label {
  font-size: 13px;
  color: #111;
}

.cursor {
  cursor: pointer;
}


.allmenu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 9999;
  display: none;        /* 기본 숨김 */
}

.allmenu-overlay.active {
  display: block;
}

.allmenu-panel {
  position: fixed;
  top: 72px;
  left: 280px;
  right: 32px;

  background: #ffffff;
  border-radius: 14px;
  padding: 28px;

  box-shadow:
    0 10px 30px rgba(0,0,0,.12),
    0 30px 60px rgba(0,0,0,.08);
}

body.menu-open {
  overflow: hidden;
}

.fixed-tabs {
  position: fixed;                 /* ⭐ 핵심 */
  left: calc(260px + 300px);       /* 사이드바 + 400px */
  z-index: 100;
  top: 12px;   
  display: flex;             /* ⭐ 핵심 */
  align-items: center;       /* ⭐ 핵심 */
  gap: 8px;   
  
}

/* 탭 버튼 (기존 스타일 유지 가능) */
.reserve-tab {
  cursor: pointer;
  height: 22px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;

  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #ffffff;

  font-size: 13px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 5px 12px 5px 12px;
}

.reserve-tab:hover {
  background: #f1f5f9;
}

.reserve-tab.active {
  background: #1f3a5f;
  border-color: #1f3a5f;
  color: #ffffff;
}


/* 햄버거 버튼 */
.menu-toggle {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

/* 오버레이 */
.allmenu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 9999;

  display: none;
}

/* 패널 */
.allmenu-panel {
  box-shadow: 
  0 10px 30px rgba(0,0,0,0.12),
  0 30px 60px rgba(0,0,0,0.08);
  position: absolute;
  top: 60px;
  left: 260px; /* 사이드바 폭 */
  right: 40px;

  background: #ffffff;
  border-radius: 12px;
  padding: 24px;

  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.allmenu-panel {
  height: calc(100vh - 54px);
  overflow-y: auto;
  position: fixed;
  top: 54px;                /* 헤더 아래 */
  left: 240px;              /* 사이드바 + 여백 */
  right: 0px;

  background: #ffffff;
  border-radius: 6px;
  padding: 28px;

  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
}
/* 헤더 */
.allmenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.allmenu-header strong {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* 닫기 */
.allmenu-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f1f5f9;
  font-size: 18px;
  cursor: pointer;
}

.allmenu-close:hover {
  background: #e2e8f0;
}
/* 메뉴 그리드 */
.allmenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}

/* 파트너 메뉴 선택: 그룹 사이 얇은 구분선 */
#frmMenuSelect .allmenu-grid {
  column-gap: 0;
  row-gap: 10px;
}

#frmMenuSelect .allmenu-grid > .menu-group {
  padding: 10px 20px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

#frmMenuSelect .allmenu-grid > .menu-group:last-child {
  border-right: none;
}

/* 그룹 */
.menu-group h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f3a5f;
}

/*
.menu-group span {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
}

.menu-group span:hover {
  color: #1f3a5f;
  text-decoration: underline;
}
*/
/* 오버레이 기본 */
.allmenu-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* 활성 */
.allmenu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 패널 애니메이션 */
.allmenu-panel {
  transform: translateY(-10px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.allmenu-overlay.active .allmenu-panel {
  transform: translateY(0);
  opacity: 1;
}

.menu-toggle.active {
  background: #e5e7eb;
  border-radius: 6px;
}






/* 공지사항 상세 */

/* 테이블 기본 */
table.regis-hotel {
  width: 100%;
  border-collapse: collapse;
  background: #000;
  font-size: 14px;
}

/* 행 구분선 */
table.regis-hotel tr {
  border-bottom: 1px solid #eef1f4;
}

/* 좌측 라벨 */
table.regis-hotel th.regis-hotel-td1 {
  background: #f8fafc;
  color: #333;
  font-weight: 600;
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

/* 우측 입력 영역 */
table.regis-hotel td.regis-hotel-td2 {
  padding: 14px 16px;
  vertical-align: middle;
  color: #222;
}

/* 필수 항목 표시 */
table.regis-hotel th[required]::after {
  content: " *";
  color: #e53935;
  font-weight: 700;
}

/* 인풋 / 셀렉트 / 텍스트영역 */
table.regis-hotel .form-control {
  height: 42px;
  border-radius: 6px;
  border: 1px solid #dfe3e8;
  font-size: 14px;
  padding: 0 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

table.regis-hotel .form-control-sm {
  height: 36px;
  font-size: 13px;
}

table.regis-hotel textarea.form-control,
table.regis-hotel textarea {
  height: auto;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
}

/* 포커스 */
table.regis-hotel .form-control:focus {
  border-color: #2979ff;
  box-shadow: 0 0 0 3px rgba(41,121,255,0.12);
}

/* 사이즈 input */
table.regis-hotel .wh100 {
  width: 100px !important;
  display: inline-block;
}

table.regis-hotel .wh90 {
  width: 90px !important;
  display: inline-block;
}

/* 체크박스 */
table.regis-hotel label {
  font-size: 14px;
  color: #222;
  cursor: pointer;
}

table.regis-hotel input[type="checkbox"] {
  margin-right: 6px;
  transform: translateY(1px);
}

/* readonly input (날짜) */
table.regis-hotel input[readonly] {
  background-color: #fff;
  cursor: pointer;
}

/* 내용 영역 (에디터) */
table.regis-hotel #ir1 {
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  padding: 12px;
}





/* ===== 로딩 스피너 (파란색 둥근 바) ===== */
.avn-loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  pointer-events: none;
}

/* 파란색 둥근 원 스피너 */
.avn-loading-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid rgba(37, 99, 235, 0.15);
  border-top-color: #2563eb;
  animation: avn-spin 0.9s linear infinite;
}

@keyframes avn-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 로딩 텍스트 */
.avn-loading-text {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* 팝업 박스 내부 로딩 위치 조정 */
#smallPopupData,
#smallPopupWhiteData {
  position: relative;
  min-height: 200px;
}

/* 상단 헤더: 즐겨찾기(★) 옆 안내 메시지 */
.top-header-notice {
  font-size: 12px;
  color: #b45309;
  margin-left: 8px;
  vertical-align: middle;
  max-width: min(420px, 40vw);
  line-height: 1.35;
}

/* 웹 터미널 모달 */
.web-terminal {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr) 150px 150px;
  width: 100%;
  min-width: 980px;
  overflow: hidden;
  color: #e2e8f0;
  border: 1px solid #6b8ba9;
  border-radius: 6px;
  background: #020617;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.web-terminal-pane {
  min-width: 0;
  border-right: 1px solid #334155;
}

.web-terminal-pane:nth-child(4) {
  border-right: 0;
}

.web-terminal-header {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  color: #f8fafc;
  background: #52769a;
  font-size: 12px;
  font-weight: 700;
}

.web-terminal-header span {
  color: #bfdbfe;
  font-size: 13px;
}

.web-terminal-command {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 6px 10px;
  color: #164e63;
  background: #cffafe;
}

.web-terminal-command label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.web-terminal-command input {
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 0 9px;
  color: #0f172a;
  border: 1px solid #67a7b7;
  border-radius: 3px;
  outline: none;
  background: #fff;
  font-family: Consolas, "Courier New", monospace;
  text-transform: uppercase;
}

.web-terminal-command input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16);
}

.web-terminal-loading {
  display: none;
  position: absolute;
  right: 16px;
  color: #0e7490;
  font-size: 11px;
}

.web-terminal-screen {
  height: 350px;
  padding: 10px;
  overflow: auto;
  color: #fff;
  background: #020617;
  font: 12px/1.55 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  scrollbar-color: #475569 #0f172a;
}

.web-terminal-side .web-terminal-screen {
  height: 392px;
  padding: 8px;
}

.web-terminal-notices,
.web-terminal-history {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.web-terminal-notices button,
.web-terminal-history button {
  width: 100%;
  padding: 3px 6px;
  overflow: hidden;
  color: #e2e8f0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font: inherit;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.web-terminal-notices button:hover,
.web-terminal-history button:hover {
  color: #fff;
  background: #1e293b;
}

.web-terminal-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 42px;
  padding: 0 12px;
  color: #334155;
  border-top: 1px solid #94a3b8;
  background: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
}

.web-terminal-footer label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.web-terminal-footer input[type="radio"] {
  accent-color: #2563eb;
}

/* 관리자 오늘의 팝업 */
.aos_today_popup_wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1600;
  pointer-events: none;
}

.aos_today_popup_wrap.is-open {
  display: block;
}

.aos_today_popup_list,
.aos_today_popup_item {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.aos_today_popup_inner {
  position: absolute;
  display: flex;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  overflow: hidden;
  color: #1e293b;
  border: 1px solid #d9e0e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  pointer-events: auto;
}

.aos_today_popup_media {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.aos_today_popup_image_area {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0f172a;
}

.aos_today_popup_image_area > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aos_today_popup_overlay_text {
  position: absolute;
  inset: auto 0 0;
  max-height: 70%;
  padding: 28px 24px 22px;
  overflow-y: auto;
  color: #fff;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.aos_today_popup_overlay_text strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.aos_today_popup_content {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.aos_today_popup_head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.aos_today_popup_head_title {
  font-size: 18px;
  color: #0f172a;
}

.aos_today_popup_body {
  flex: 1;
  min-height: 0;
  padding: 18px 20px;
  overflow-y: auto;
  line-height: 1.6;
}

.aos_today_popup_action {
  padding: 10px 18px;
  border-top: 1px solid #eef2f7;
  text-align: center;
}

.aos_today_popup_action_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  color: #fff;
  border-radius: 6px;
  background: #2563eb;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.aos_today_popup_action_btn:hover {
  color: #fff;
  background: #1d4ed8;
}

.aos_today_popup_bottom {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 16px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.aos_today_popup_bottom button {
  padding: 5px 7px;
  color: #475569;
  border: 0;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.aos_today_popup_close {
  font-weight: 600;
}

@media (max-width: 640px) {
  .aos_today_popup_inner {
    top: 12px !important;
    left: 12px !important;
    width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px);
  }
}



