:root {
  color-scheme: light;
}

body {
  font-family: "Noto Sans KR", "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.64;
  letter-spacing: -0.003em;
  color: #0b1e33;
  background: #f4f9ff;
}

h1,
h2,
h3,
h4,
h5 {
  letter-spacing: -0.015em;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.68rem 0.82rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #23384d;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
  background: rgba(19, 127, 236, 0.08);
  color: #137fec;
}

.nav-link-active {
  background: rgba(19, 127, 236, 0.12);
  color: #137fec;
}

.panel-card {
  border: 1px solid #d2e6fb;
  border-radius: 0.95rem;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 78, 130, 0.06);
}

.text-slate-500 {
  color: #3a556f !important;
}

.text-slate-600 {
  color: #243b53 !important;
}

.text-slate-900 {
  color: #102a43 !important;
}

.text-xs {
  font-size: 0.81rem !important;
  line-height: 1.36 !important;
}

.text-sm {
  font-size: 0.92rem !important;
  line-height: 1.48 !important;
}

.text-lg {
  font-size: 1.16rem !important;
}

.font-bold,
.font-semibold,
.font-black {
  color: #0f2742;
}

input,
select,
textarea {
  font-size: 0.98rem;
  color: #0f2742;
  background: #ffffff;
  border-color: #bfd8f2 !important;
}

input::placeholder,
textarea::placeholder {
  color: #4f6f8f;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(19, 127, 236, 0.2);
  border-radius: 9999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #137fec;
  background: rgba(19, 127, 236, 0.07);
}

.locked {
  opacity: 0.5;
  pointer-events: none;
}

.sf-sidebar {
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 45;
  width: 4.9rem;
  transform: none;
  transition: width 0.22s ease;
  overflow: hidden;
}

.sf-sidebar:hover {
  width: 16rem;
}

.sf-sidebar .nav-link {
  justify-content: center;
}

.sf-sidebar .nav-link span:last-child {
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.sf-sidebar:hover .nav-link {
  justify-content: flex-start;
}

.sf-sidebar:hover .nav-link span:last-child {
  opacity: 1;
  width: auto;
}

.sf-sidebar > div > div > div:last-child {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.sf-sidebar:hover > div > div > div:last-child {
  opacity: 1;
  width: auto;
}

.sf-main-shell {
  width: 100%;
  margin-left: 4.9rem;
  transition: margin-left 0.22s ease;
}

.bg-background-light {
  background: #f4f9ff !important;
}

.bg-white {
  background: #ffffff !important;
}

.border-slate-200 {
  border-color: #d6e6f7 !important;
}

.border-slate-300 {
  border-color: #b8d1ec !important;
}

.sf-sidebar:hover + .sf-main-shell {
  margin-left: 16rem;
}

@media (max-width: 1023px) {
  .sf-sidebar {
    width: 4.2rem;
  }

  .sf-main-shell {
    margin-left: 4.2rem;
  }

  .sf-sidebar:hover {
    width: 14rem;
  }

  .sf-sidebar:hover + .sf-main-shell {
    margin-left: 14rem;
  }
}
