@import url("./responsive-page-headers-v7066.css?v=7.0.70");

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

:root {
  --color-bg: #f3f7f6;
  --color-surface: #ffffff;
  --color-primary: #0f766e;
  --color-primary-dark: #115e59;
  --color-text: #17211f;
  --color-muted: #66736f;
  --color-border: #dbe7e4;
  --color-soft: #ecf8f6;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 7px 22px rgba(15, 67, 62, 0.05);
  --shadow-md: 0 14px 40px rgba(15, 67, 62, 0.08);
}

html { min-height: 100%; background: var(--color-bg); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

button, input, select, textarea { font: inherit; }

.page-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.button {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.button-outline {
  color: var(--color-primary-dark);
  background: #fff;
  border: 1px solid var(--color-border);
}

.button-outline:hover { background: var(--color-soft); }

.eyebrow {
  margin: 0 0 8px;
  color: #488078;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.status-message {
  min-height: 24px;
  margin: 18px 0 0;
  color: #b45309;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .page-container {
    width: calc(100% - 24px);
    padding-top: 18px;
  }
}


.menu-card {
    text-decoration: none;
    color: inherit;
}

.menu-card:hover {
    text-decoration: none;
    color: inherit;
}

.menu-title{
    font-size:18px;
    font-weight:700;
    margin-top:8px;
}

.menu-desc{
    margin-top:6px;
    font-size:13px;
    color:#777;
}

.menu-card,
.menu-card:hover,
.menu-card:focus,
.menu-card:visited {
  color: inherit;
  text-decoration: none;
}
/* v4.6.36 unified admin header navigation */
.topbar .brand,
.page-header .brand-link,
.report-topbar .brand,
.topbar-actions a,
.header-actions a,
.report-top-actions a {
  text-decoration: none !important;
}
.topbar-actions,
.header-actions,
.report-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.header-logout-button {
  font: inherit;
  cursor: pointer;
  background: transparent;
}
@media (max-width: 900px) {
  .topbar,
  .page-header,
  .report-topbar {
    align-items: flex-start;
    gap: 12px;
  }
  .topbar-actions,
  .header-actions,
  .report-top-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* v6.0.2 — compact signed-in mobile account actions */
@media (max-width: 680px) {
  .topbar .topbar-actions,
  .topbar .report-top-actions,
  .member-topbar .topbar-actions,
  .header-actions,
  .report-top-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
    min-width: 0;
  }

  .topbar .topbar-actions .profile-link,
  .topbar .topbar-actions a[href*="profile.html"],
  .member-topbar .topbar-actions a[href*="profile.html"] {
    display: inline-flex !important;
  }

  .topbar .topbar-actions .button,
  .topbar .report-top-actions .button,
  .member-topbar .topbar-actions .button,
  .header-actions .button,
  .report-top-actions .button {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 7px 9px !important;
    border-radius: 10px !important;
    font-size: .76rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 420px) {
  .topbar {
    gap: 6px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .topbar .topbar-actions,
  .member-topbar .topbar-actions {
    width: auto !important;
    margin-left: auto !important;
  }

  .topbar .topbar-actions .button,
  .member-topbar .topbar-actions .button {
    min-height: 34px !important;
    padding: 6px 8px !important;
    font-size: .72rem !important;
  }
}

/* v6.0.3 — vertically center signed-in account buttons */
@media (max-width: 680px) {
  .topbar .topbar-actions .button,
  .member-topbar .topbar-actions .button,
  .header-actions .button,
  .report-top-actions .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }
}

/* v6.0.4 — meetings/clubs mobile header: brand first row, navigation second row */
@media (max-width: 680px) {
  .topbar.mobile-two-row-topbar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 9px 10px 10px !important;
  }

  .topbar.mobile-two-row-topbar > .brand {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .topbar.mobile-two-row-topbar > .topbar-actions {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 1px 0 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }

  .topbar.mobile-two-row-topbar > .topbar-actions::-webkit-scrollbar {
    display: none !important;
  }

  .topbar.mobile-two-row-topbar > .topbar-actions .button,
  .topbar.mobile-two-row-topbar > .topbar-actions .link-button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: auto !important;
    min-height: 34px !important;
    padding: 6px 9px !important;
    border-radius: 9px !important;
    font-size: .72rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}


/* v6.7.23 — My ShuttleX member pages topbar actions = dashboard header */
.member-page-topbar .member-page-topbar-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  width: auto !important;
}

.member-page-topbar .member-page-topbar-actions .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 9px 16px !important;
  border-radius: 12px !important;
  border: 1px solid var(--color-border) !important;
  background: #fff !important;
  color: var(--color-primary-dark) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.member-page-topbar .member-page-topbar-actions .button:hover {
  background: var(--color-soft) !important;
}

@media (max-width: 680px) {
  .member-page-topbar {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .member-page-topbar .member-page-topbar-actions {
    width: auto !important;
    margin-left: auto !important;
    gap: 6px !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
  }

  .member-page-topbar .member-page-topbar-actions .button {
    min-height: 38px !important;
    padding: 9px 11px !important;
    border-radius: 11px !important;
    font-size: .82rem !important;
  }
}

@media (max-width: 420px) {
  .member-page-topbar .member-page-topbar-actions {
    gap: 5px !important;
  }

  .member-page-topbar .member-page-topbar-actions .button {
    min-height: 36px !important;
    padding: 8px 9px !important;
    font-size: .78rem !important;
  }
}


/* v6.7.26 — My ShuttleX subpage header geometry = dashboard */
.member-page-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 68px !important;
  padding: 0 28px !important;
  gap: 12px !important;
  background: rgba(255,255,255,.92) !important;
  border-bottom: 1px solid var(--color-border) !important;
  backdrop-filter: blur(16px) !important;
  box-sizing: border-box !important;
}

.member-page-topbar > .brand {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.member-page-topbar > .member-page-topbar-actions {
  flex: 0 0 auto !important;
  width: auto !important;
  margin-left: auto !important;
  align-self: center !important;
}

@media (max-width: 680px) {
  .member-page-topbar {
    min-height: 62px !important;
    padding: 0 16px !important;
    align-items: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 420px) {
  .member-page-topbar {
    padding-left: 9px !important;
    padding-right: 9px !important;
    gap: 6px !important;
  }
}

/* v6.7.27 My ShuttleX 회원 이용순서 */
.member-journey{display:flex;align-items:center;gap:6px;margin:0 0 14px;padding:6px;border:1px solid var(--color-border);border-radius:14px;background:#fff;overflow-x:auto;scrollbar-width:none}
.member-journey::-webkit-scrollbar{display:none}
.member-journey a{display:inline-flex;align-items:center;justify-content:center;flex:1 0 auto;min-height:34px;padding:6px 10px;border-radius:9px;color:#64748b;text-decoration:none!important;font-size:12px;font-weight:850;white-space:nowrap}
.member-journey a:hover{background:#f1f5f9;color:#0f766e}
.member-journey a.is-current{background:#0f766e;color:#fff}
@media(max-width:680px){.member-journey{margin-bottom:10px;padding:5px}.member-journey a{flex:0 0 auto;min-height:32px;padding:5px 9px;font-size:11px}}

/* v6.7.28 표준 오류/권한 안내 */
.sx-error-guide{display:grid;gap:14px;padding:4px 2px}
.sx-error-guide__hero{display:grid;grid-template-columns:48px minmax(0,1fr);gap:13px;align-items:center;padding:15px;border:1px solid #e2e8f0;border-radius:15px;background:#f8fafc}
.sx-error-guide__hero>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#fff;font-size:22px;font-weight:950}
.sx-error-guide__hero strong{display:block;color:#0f172a;font-size:16px;line-height:1.45}
.sx-error-guide__hero p{margin:5px 0 0;color:#64748b;font-size:13px;line-height:1.55}
.sx-error-guide__help{padding:14px 16px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff}
.sx-error-guide__help b{display:block;margin-bottom:5px;color:#1e3a8a;font-size:13px}.sx-error-guide__help p{margin:0;color:#475569;font-size:13px;line-height:1.65}
.sx-error-guide__detail{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff}.sx-error-guide__detail summary{padding:11px 13px;cursor:pointer;color:#64748b;font-size:12px;font-weight:850}.sx-error-guide__detail code{display:block;padding:12px 13px;border-top:1px solid #e2e8f0;background:#0f172a;color:#e2e8f0;font-size:11px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.sx-error-guide--permission .sx-error-guide__hero{border-color:#fed7aa;background:#fffaf3}.sx-error-guide--link .sx-error-guide__hero{border-color:#bfdbfe;background:#f8fbff}.sx-error-guide--empty .sx-error-guide__hero{border-color:#d1fae5;background:#f7fefa}

/* v6.9.272 - 주요 운영화면 모임 선택: 선택값은 영역 내 한 줄 말줄임, 펼친 목록은 전체 라벨 유지 */
#meetingSelect {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#meetingSelect option { white-space: normal; }
