:root {
  --app-bg-color: #286263;
  --app-bg-image: none;
  --app-surface-color: #286263;

  --theme-background-popup: rgba(0, 0, 0, 0.468);
  --popup-panel-bg: rgba(255, 255, 255, 0.08);
  --popup-panel-border: rgba(255, 255, 255, 0.16);

  --theme-rgb: 70, 110, 255;
  --glass-tint: rgba(var(--theme-rgb), 0.12);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  --glass-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.16);

  --page-content-width-desktop: 1200px;
  --page-content-width-laptop: 1000px;
  --page-content-width-ultra: 1500px;

  --page-content-gutter-desktop: 40px;
  --page-content-gutter-laptop: 60px;
  --page-content-gutter-ultra: 80px;

  --page-content-margin-top-desktop: 30px;
  --page-content-margin-top-laptop: 18px;
  --page-content-margin-top-ultra: 120px;

  /* 페이지별로 따로 쓰고 싶을 때 */
  --page-content-margin-top-ultra-dashboard: 120px;
  --page-content-margin-top-ultra-default: 80px;
}

html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--app-surface-color, #286263);
  background-image: var(--app-bg-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-y: auto;

  /* Firefox: 페이지 스크롤 숨김 */
  scrollbar-width: none;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: transparent;
  overflow-x: hidden;

  /* Firefox: 페이지 스크롤 숨김 */
  scrollbar-width: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Pretendard", sans-serif;
  list-style: none;
}

button {
  outline: none;
  cursor: pointer;
}

button:hover {
  transform: translateY(0) scale(1.01);
  filter: brightness(1.05);
  transition: 0.2s;
}

button:active {
  transform: translateY(0) scale(0.99);
  transition: 0.2s;
}

button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.blpHeader.is-dragging .liquidGlass-effect {
  filter: none;
}

.red {
  color: red;
  font-weight: bold;
}

/* ============================= */
/* page scrollbar: 숨김 */
/* ============================= */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ============================= */
/* inner element scrollbar only */
/* ============================= */

/* 스크롤이 실제로 생기는 내부 박스들에만 적용 */
.workTaskCardFrame,
.inviteSuggestionBox,
.recentActivityBody,
.taskCommentList,
.commonQuickNavInner,
.mainpageSidebarInner,
.projectListFrame,
.chatHistoryList,
.taskDetailAssigneeList,
.novaResultScroll,
.adminTableWrap,
.activityTimeline {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.04);
}

.workTaskCardFrame::-webkit-scrollbar,
.inviteSuggestionBox::-webkit-scrollbar,
.recentActivityBody::-webkit-scrollbar,
.taskCommentList::-webkit-scrollbar,
.commonQuickNavInner::-webkit-scrollbar,
.mainpageSidebarInner::-webkit-scrollbar,
.projectListFrame::-webkit-scrollbar,
.chatHistoryList::-webkit-scrollbar,
.taskDetailAssigneeList {
  width: 8px;
  height: 8px;
}

.workTaskCardFrame::-webkit-scrollbar-track,
.inviteSuggestionBox::-webkit-scrollbar-track,
.recentActivityBody::-webkit-scrollbar-track,
.taskCommentList::-webkit-scrollbar-track,
.commonQuickNavInner::-webkit-scrollbar-track,
.mainpageSidebarInner::-webkit-scrollbar-track,
.projectListFrame::-webkit-scrollbar-track,
.chatHistoryList::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.workTaskCardFrame::-webkit-scrollbar-thumb,
.inviteSuggestionBox::-webkit-scrollbar-thumb,
.recentActivityBody::-webkit-scrollbar-thumb,
.taskCommentList::-webkit-scrollbar-thumb,
.commonQuickNavInner::-webkit-scrollbar-thumb,
.mainpageSidebarInner::-webkit-scrollbar-thumb,
.projectListFrame::-webkit-scrollbar-thumb,
.chatHistoryList::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workTaskCardFrame::-webkit-scrollbar-thumb:hover,
.inviteSuggestionBox::-webkit-scrollbar-thumb:hover,
.recentActivityBody::-webkit-scrollbar-thumb:hover,
.taskCommentList::-webkit-scrollbar-thumb:hover,
.commonQuickNavInner::-webkit-scrollbar-thumb:hover,
.mainpageSidebarInner::-webkit-scrollbar-thumb:hover,
.projectListFrame::-webkit-scrollbar-thumb:hover,
.chatHistoryList::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}
