﻿/* regen.doweb.kr 스타일 Pages 스위치 — AMITI 통합용 */
.nav-segment {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 40px;
  padding: 3px;
  border: 1px solid rgba(223, 231, 241, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.nav-pages {
  box-shadow: 0 8px 20px rgba(8, 27, 58, 0.08);
}

.nav-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-right: 1px solid rgba(223, 231, 241, 0.95);
  color: #8a98a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-segment .nav-page {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #0a1628;
  font-weight: 800;
  font-size: 0.84rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-segment .nav-page[aria-current="page"] {
  background: #081b3a;
  color: #fff;
}

.nav-segment .nav-page:hover:not([aria-current="page"]) {
  background: #eef3fa;
}

.nav-explorer {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: #081b3a;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(8, 27, 58, 0.22);
  white-space: nowrap;
}

.nav-explorer:hover {
  background: #061226;
  color: #fff !important;
}

/* Explorer 상단 고정 스위치 바 */
.explorer-switch-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line, #e5eaf3);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.explorer-switch-bar .brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.explorer-switch-bar .brand-mini img {
  width: 28px;
  height: 28px;
}

.explorer-switch-bar .brand-mini strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.1;
}

.explorer-switch-bar .brand-mini span {
  display: block;
  color: var(--muted, #64708a);
  font-size: 0.68rem;
}

.explorer-switch-bar .nav-cta-mini {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #2367ff;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

body.has-explorer-switch #app {
  padding-top: 52px;
  height: 100vh;
  box-sizing: border-box;
}

body.has-explorer-switch .app-shell {
  height: calc(100vh - 52px);
}

body.has-explorer-switch .sidebar,
body.has-explorer-switch .right-panel {
  min-height: calc(100vh - 52px);
}

@media (max-width: 720px) {
  .explorer-switch-bar .brand-mini span,
  .explorer-switch-bar .nav-cta-mini {
    display: none;
  }
}
