@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap");
:root {
  --bg-body1: #17202e;
  --bg-body2: #010614;
  --bg-mobile: #0f172a;
  --bg-mobile2: #0f172a;

  --bg-box: #151718;
  --bg-card: #ffffff0e;
  --bg-item: #35353a00;
  --bg-focus: #3f3f447e;
  --bg-datepicker: #0c0e0c;

  --bg-gray: #5f5f5f;
  --bg-blue: #006983;
  --bg-red: #af5656;
  --bg-yellow: #a16207;
  --bg-green: #187a4e;

  --bg-dark-gray: #3d3d3d;
  --bg-dark-green: #003c46;
  --bg-dark-blue: #020080;
  --bg-dark-yellow: #472300;
  --bg-dark-red: #800000;

  --bg-light-gray: #ffffff50;
  --bg-light-green: #00ff002f;
  --bg-light-blue: #00aaff2f;
  --bg-light-yellow: #ffbb002f;
  --bg-light-red: #ff45002f;

  --glass-blue: #0095c770;

  --bd-bottom: #ffffff1a;
  --bd-item: #3f3f46;
  --bd-focus: #3f89ff;

  --color: #d1d1d1;
  --color-sub: #b2c6e6;
  --color-gray: #92a0b8;
  --color-muted: #64748b;
  --color-blue: #ace1ff;
  --color-red: #ffb294;
  --color-yellow: #f8e6c8;
  --color-green: #a2dfc0;

  --xs: 0.8rem;
  --sm: 0.9rem;
  --md: 1rem;
  --lg: 1.1rem;
  --xl: 1.3rem;
  --xxl: 1.5rem;

  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.9);
  --shadow-focus: 0 0 0 2px #9fc4ff27;

  --hover: rgba(255, 255, 255, 0.08);
  --active: rgba(0, 105, 131, 0.4);
  --accent: #d1d34d;

  --op-min: rgba(255, 255, 255, 0.05);
  --op-1: rgba(255, 255, 255, 0.1);
  --op-2: rgba(255, 255, 255, 0.2);

  --bg-radial: radial-gradient(circle at top, var(--bg-body1) 0%, var(--bg-body2) 100%);
  --bg-linear: linear-gradient(180deg, #17202e 0%, #000000 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}
/* ---------------------------------------------------------------------------------------------------- */
/* Reset & Layout */
body {
  background: var(--bg-radial) !important;
}
.app-layout-container-row {
  display: flex;
  width: 100%;
  height: 100vh; /* Fallback */
  height: calc(var(--vh, 1vh) * 100); /* Dynamic vh for mobile */
  font-family: "Roboto", "Noto Sans KR", sans-serif !important;
  font-size: var(--md) !important;
  line-height: 1.5 !important;
  color: var(--color) !important;
  overflow: hidden;
}
.app-layout-container-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh; /* Fallback */
  /* height: calc(var(--vh, 1vh) * 100); /* Dynamic vh for mobile */
  background: var(--bg-radial) !important;
  font-family: "Roboto", "Noto Sans KR", sans-serif !important;
  font-size: var(--md) !important;
  line-height: 1.5 !important;
  color: var(--color) !important;
  overflow: hidden;
}
/* Content Area */
.app-content {
  flex: 1 !important;
  position: relative;
  overflow-y: hidden;
}
/* ---------------------------------------------------------------------------------------------------- */
.box {
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  background-color: transparent;
  border: 1px solid var(--bd-bottom);
}

.header {
  display: flex;
  justify-content: start;
  align-items: center !important;
  width: 100%;
  background-color: var(--op-1);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--bd-bottom);
  box-shadow: var(--shadow-sm);
}

iframe {
  width: 100%;
  min-height: 100%;
  border: none;
  overflow: hidden;
  background: var(--bg-radial) !important;
}
/* ---------------------------------------------------------------------------------------------------- */
.menu-box {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
}

/* 6. Sidebar & Navigation (Menu)--------------------------------------------------------------- */
.sidebar {
  width: 13rem !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width 0.3s ease;
  background: var(--bg-linear);
  color: var(--color);
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

.sidebar {
  width: 11rem !important;
}
.sidebar-header {
  padding: 1rem 1rem 0;
  letter-spacing: 0.5px;
}
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.sidebar-nav li {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem !important;
  color: #a0a0a0;
  text-decoration: none;
  font-size: var(--md);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav li:hover {
  background-color: #2a2a2a;
  color: #fff;
}

.sidebar-nav li.active {
  background-color: #252525;
  color: var(--color-green);
  border-left-color: var(--color-green);
  font-weight: 500;
}

/* Custom Scrollbar ---------------------------------------------------------------------------------------------------- */

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1e1e1e;
}
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* font ---------------------------------------------------------------------------------------------------- */
.fs-xs {
  font-size: var(--xs) !important;
}
.fs-sm {
  font-size: var(--sm) !important;
}
.fs {
  font-size: var(--md) !important;
}
.fs-lg {
  font-size: var(--lg) !important;
}
.fs-xl {
  font-size: var(--xl) !important;
}

.fs-xxl {
  font-size: var(--xxl) !important;
}

.fw-700 {
  font-weight: 700 !important;
}
.fw-600 {
  font-weight: 600 !important;
}
.fw-500 {
  font-weight: 500 !important;
}
.fw-300 {
  font-weight: 300 !important;
}

.lh-1 {
  line-height: 1 !important;
}
.lh-125 {
  line-height: 1.25 !important;
}
.lh-175 {
  line-height: 1.75 !important;
}
.lh-2 {
  line-height: 2 !important;
}

.fc {
  color: var(--color) !important;
}
.fc-white {
  color: white !important;
}
.fc-gray {
  color: var(--color-gray) !important;
}
.fc-blue {
  color: var(--color-blue) !important;
}
.fc-red {
  color: var(--color-red) !important;
}
.fc-yellow {
  color: var(--color-yellow) !important;
}
.fc-green {
  color: var(--color-green) !important;
}
.fc-black {
  color: black !important;
}
.fc-sub {
  color: var(--color-sub) !important;
}
.fc-muted {
  color: var(--color-muted) !important;
}

/* Container & Spacing ------------------------------------------------------------------------------------------------------------*/
.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}
.px-1 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-3 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.pt-1 {
  padding-top: 0.5rem;
}
.pt-2 {
  padding-top: 1rem;
}
.pt-3 {
  padding-top: 1.5rem;
}
.pb-1 {
  padding-bottom: 0.5rem;
}
.pb-2 {
  padding-bottom: 1rem;
}
.pb-3 {
  padding-bottom: 1.5rem;
}
.pr-1 {
  padding-right: 0.5rem;
}
.pr-2 {
  padding-right: 1rem;
}
.pl-2 {
  padding-left: 1rem;
}

.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.5rem;
}
.m-2 {
  margin: 1rem;
}
.m-3 {
  margin: 1.5rem;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mx-1 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-2 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-3 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-3 {
  margin-right: 1rem;
}

.bs {
  box-shadow: var(--shadow) !important;
}
.bs-sm {
  box-shadow: var(--shadow-sm) !important;
}
.bs-hover:hover {
  box-shadow: var(--shadow-hover) !important;
}
.bs-focus:focus {
  box-shadow: var(--shadow-focus) !important;
}
.ts {
  text-shadow: var(--shadow) !important;
}
.ts-sm {
  text-shadow: var(--shadow-sm) !important;
}
.ts-hover:hover {
  text-shadow: var(--shadow-hover) !important;
}

/* Overflow */
.of-hidden {
  overflow: hidden;
}
.of-y-auto {
  overflow-y: auto;
}

.ta-c {
  text-align: center;
}
.ta-r {
  text-align: right;
}
.ta-l {
  text-align: left;
}

.uppercase {
  text-transform: uppercase;
}

.truncate {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/*  Backgrounds */
.bg-dark {
  background-color: var(--bg-dark) !important;
}
.bg-mobile {
  background-color: var(--bg-mobile) !important;
}
.bg-box {
  background-color: var(--bg-box) !important;
}
.bg-gray {
  background-color: var(--bg-gray) !important;
}
.bg-blue {
  background-color: var(--bg-blue) !important;
}
.bg-red {
  background-color: var(--bg-red) !important;
}
.bg-yellow {
  background-color: var(--bg-yellow) !important;
}
.bg-green {
  background-color: var(--bg-green) !important;
}
.bg-white {
  background-color: white !important;
}
.bg-dark-blue {
  background-color: var(--bg-dark-blue) !important;
}
.bg-dark-green {
  background-color: var(--bg-dark-green) !important;
}
.bg-dark-yellow {
  background-color: var(--bg-dark-yellow) !important;
}
.bg-dark-red {
  background-color: var(--bg-dark-red) !important;
}
.bg-none,
.bg-trans {
  background-color: transparent !important;
}

.op-1 {
  background-color: rgba(255, 255, 255, 0.1);
}
.op-2 {
  background-color: rgba(255, 255, 255, 0.2);
}
.op-min {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Borders & Rounded */
.bd {
  border: 1px solid var(--bd-bottom) !important;
}
.bd-item {
  border: 1px solid var(--bd-item) !important;
}
.bd-white {
  border: 1px solid white !important;
}
.bd-none,
.bd-0 {
  border: none !important;
}
.bd-b {
  border-bottom: 1px solid var(--bd-bottom) !important;
}
.bd-t {
  border-top: 1px solid var(--bd-bottom) !important;
}
.bd-r {
  border-right: 1px solid var(--bd-bottom) !important;
}
.bd-l {
  border-left: 1px solid var(--bd-bottom) !important;
}
.bd-2px {
  border-width: 2px !important;
}

/* Rounded Corners */
.rd-sm {
  border-radius: 0.25rem !important;
}
.rd-item {
  border-radius: 0.5rem !important;
}
.rd-box {
  border-radius: 1rem !important;
}
.rd-circle {
  border-radius: 50% !important;
}
.rd-box-top {
  border-radius: 1rem 1rem 0 0 !important;
}
.rd-box-bottom {
  border-radius: 0 0 1rem 1rem !important;
}
.rd-0 {
  border-radius: 0 !important;
}

/* Interactivity (Hover & Transition) */
.cs-p {
  cursor: pointer;
}
.cs-d {
  cursor: default;
}
.cs-m {
  cursor: move;
}

/* Sizing ------------------------------------------------------------------------------------------------------------*/

.w-100 {
  width: 100% !important;
}
.w-90 {
  width: 90% !important;
}
.w-80 {
  width: 80% !important;
}
.w-75 {
  width: 75% !important;
}
.w-70 {
  width: 70% !important;
}
.w-66 {
  width: 66% !important;
}

.w-60 {
  width: 60% !important;
}
.w-50 {
  width: 50% !important;
}
.w-45 {
  width: 45% !important;
}
.w-40 {
  width: 40% !important;
}
.w-33 {
  width: 33% !important;
}

.w-30 {
  width: 30% !important;
}

.w-25 {
  width: 25% !important;
}

.w-20 {
  width: 20% !important;
}
.w-15 {
  width: 15% !important;
}
.w-10 {
  width: 10% !important;
}

.vw-100 {
  width: 100vw !important;
}

.min-w-0 {
  min-width: 0 !important;
}

.min-w-100 {
  min-width: 100% !important;
}

.min-w-33 {
  min-width: 33% !important;
}

.min-w-50 {
  min-width: 50% !important;
}

.min-w-100 {
  min-width: 100% !important;
}

.max-w-33 {
  max-width: 33% !important;
}

.max-w-50 {
  max-width: 50% !important;
}
.max-w-100 {
  max-width: 100% !important;
}
.m-w-100 {
  max-width: 100% !important;
  min-width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.h-80 {
  height: 80% !important;
}
.h-75 {
  height: 75% !important;
}
.h-70 {
  height: 70% !important;
}
.h-66 {
  height: 66% !important;
}
.h-60 {
  height: 60% !important;
}

.h-50 {
  height: 50% !important;
}
.h-40 {
  height: 40% !important;
}
.h-30 {
  height: 30% !important;
}
.h-33 {
  height: 33% !important;
}
.h-25 {
  height: 25% !important;
}
.h-20 {
  height: 20% !important;
}

.min-h-0 {
  min-height: 0 !important;
}
.min-h-100 {
  min-height: 100% !important;
}
.max-h-100 {
  max-height: 100% !important;
}

.vh-100 {
  height: 100vh !important;
}
.w-auto {
  width: auto !important;
}
.h-auto {
  height: auto !important;
}
/* ----------------------------------------------------------------------------------------- */

a {
  text-decoration: none;
  color: inherit;
  color: var(--color);
  font-size: var(--md) !important;
  width: 100%;
}

img {
  width: 100%;
  height: 100%;
  object-position: top;
  object-fit: cover;
}

/* 1. Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="number"],
select,
textarea {
  display: block;
  width: 100%;
  color: var(--color);
  padding: 0.25rem 0.5rem;
  font-family: "Roboto", "Noto Sans KR", sans-serif !important;
  font-size: var(--sm);
  line-height: 1.5rem !important;
  background-color: var(--bg-item);
  border: 1px solid var(--bd-item) !important;
  border-radius: 0.5rem;
  resize: none;
  box-shadow: var(--shadow-sm) !important;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M4.47 6.53a.75.75 0 0 1 1.06 0L8 9l2.47-2.47a.75.75 0 1 1 1.06 1.06L8.53 10.59a.75.75 0 0 1-1.06 0L4.47 7.59a.75.75 0 0 1 0-1.06Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 16px 16px;
  padding-right: 1.5rem;
  cursor: pointer;
}

select option {
  background-color: var(--bg-body1) !important;
  color: var(--color) !important;
}

input:focus,
select:focus {
  border-color: var(--bd-focus) !important;
  background-color: var(--bg-focus) !important;
  box-shadow: var(--shadow-focus) !important;
}

input[type="text"].datepicker {
  background-image: url(/img/calendar.svg);
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 16px 16px;
  cursor: pointer;
}

input[type="text"].search {
  padding-left: 2rem;
  width: 10rem;
  background-image: url(/img/search.png);
  background-repeat: no-repeat;
  background-position: left 0.5rem center;
  background-size: 16px 16px;
}

input[type="text"].search.trans {
  background-color: transparent !important;
  border: none !important;
}

input[type="text"].search.trans:focus {
  border-color: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

input[type="text"].edit,
select.edit {
  border: none !important;
  border-radius: 0% !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  font-size: var(--sm) !important;
}

select.edit {
  padding-right: 0.2rem !important;
  text-align: center !important;
}

input[type="text"].edit:focus,
select.edit:focus {
  border: none !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--color-gray);
}

::-webkit-input-placeholder {
  color: var(--color-gray);
  opacity: 1;
}

input[type="text"]:focus::placeholder {
  color: transparent;
}

input[type="time"],
input[type="date"] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.05em;
  color-scheme: dark;
  padding: 0.4rem 0.3rem 0.4rem 1rem;
}

input[type="time"]:focus,
input[type="time"]:required:valid,
input[type="date"]:focus,
input[type="date"]:required:valid {
  color: var(--color);
}

input[type="time"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0);
  width: 17px; /* 아이콘 너비 조절 */
  height: 17px; /* 아이콘 높이 조절 */
  cursor: pointer;
}

input:-webkit-autofill,
input:autofill {
  -webkit-text-fill-color: var(--color) !important; /* 글자색 */
  box-shadow: 0 0 0 1000px var(--bg-item) inset !important; /* 배경색 */
  -webkit-box-shadow: 0 0 0 1000px var(--bg-item) inset !important;
  transition: background-color 5000s ease-in-out 0s; /* 배경색 변경 애니메이션 지연 */
}

/* --------------------------------------------------------------------------------------------------------------- */
label {
  color: var(--color-sub);
  font-size: var(--sm);
  vertical-align: middle;
  align-items: center;
  white-space: nowrap;
  line-height: 1.5rem;
}

.input-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.125rem;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.5rem;
}

.input-box label {
  font-size: var(--sm);
  color: var(--color-sub);
  align-self: flex-start;
  padding-left: 0.5rem;
  text-shadow: var(--shadow-text) !important;
  white-space: nowrap;
}
/*---------------------------------------------------------------------------------------------------------  */
.input-box.inline {
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
}
.input-box.inline label {
  width: 30%;
  color: var(--color-sub);
  padding: 0.5rem 0 0.5rem 0.5rem !important;
  font-size: var(--sm) !important;
  background-color: var(--bg-item);
  border: 1px solid var(--bd-item) !important;
  border-right: none !important;
  border-radius: 0.5rem 0 0 0.5rem !important;
  text-align: left;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm) !important;
  white-space: nowrap;
}
.input-box.inline input,
.input-box.inline select {
  width: 70%;
  padding: 0.5rem 0 0.5rem 0.5rem !important;
  border-left: none !important;
  border-radius: 0 0.5rem 0.5rem 0 !important;
  /* clip-path: inset(-1rem -1rem -1rem 0); */
}

.input-box.inline input:focus,
.input-box.inline select:focus {
  border-color: var(--bd-focus) !important;
  background-color: var(--bg-focus) !important;
  box-shadow: none !important;
}

.input-box.inline:focus-within label {
  border-color: var(--bd-focus) !important;
  background-color: var(--bg-focus) !important;
  box-shadow: none !important;
}
.input-box.inline.blank {
  height: 2.5rem !important;
  pointer-events: none;
}
/*----------------------------------------------------------------------------------------------------------------- */
.input-box.textarea {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

.input-box.textarea label {
  width: 100% !important;
  color: var(--color-sub);
  padding: 0.5rem 0 0 0.5rem;
  font-size: var(--md) !important;
  background-color: var(--bg-item);
  border: 1px solid var(--bd-item) !important;
  border-bottom: none !important;
  border-radius: 0.5rem 0.5rem 0 0 !important;
  align-self: flex-start;
  text-align: left;
}
.input-box.textarea textarea {
  width: 100% !important;
  border-top: none !important;
  border-radius: 0 0 0.5rem 0.5rem !important;
  /* clip-path: inset(0 -1rem -1rem -1rem); */
}
.input-box.textarea textarea:focus {
  border-color: var(--bd-focus) !important;
  background-color: var(--bg-focus) !important;
  box-shadow: none !important;
}

.input-box.textarea:focus-within label {
  border-color: var(--bd-focus) !important;
  background-color: var(--bg-focus) !important;
  box-shadow: none !important;
}
:is(.input-box.trans, .input-box.inline.trans, .input-box.textarea.trans) :is(label, input, select, textarea) {
  background-color: transparent !important;
}

:is(.input-box.trans, .input-box.inline.trans, .input-box.textarea.trans) :is(label:focus, input:focus, select:focus, textarea:focus) {
  background: var(--bg-body2) !important;
}

/* --------------------------------------------------------------------------------------------------------------- */
.input-box-float {
  position: relative;
  width: 100%;
  margin-top: 15px;
}
.input-box-float .label-float {
  position: absolute;
  left: 12px;
  top: 50%;
  padding: 0 5px;
  transform: translateY(-50%);
  background-color: var(--bg-item) !important;
  color: var(--color-gray);
  transition: all 0.2s ease-out;
  pointer-events: none;
  z-index: 10;
}
.input-box-float input {
  padding-top: 0.75rem !important;
  padding-bottom: 0.25rem !important;
  background-color: var(--bg-item) !important;
}
.input-box-float input:focus ~ .label-float,
.input-box-float input:not(:placeholder-shown) ~ .label-float {
  top: 0;
  transform: translateY(-50%) scale(0.9);
  font-size: 0.8rem;
  color: var(--color-blue);
  font-weight: 350;
  background-color: var(--bg-item) !important;
}

input:disabled,
select:disabled,
textarea:disabled {
  pointer-events: none;
  opacity: 0.8;
  cursor: default;
}
/* 2. Buttons ---------------------------------------------------------------------------------------------------*/
button {
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-size: var(--sm);
  color: var(--color);
  padding: 0.5rem 1rem;
  border: 1px solid var(--bd-bottom) !important;
  border-radius: 0.375rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-shadow: var(--shadow-text) !important;
  box-shadow: var(--shadow) !important;
  white-space: nowrap;
}
button:hover {
  color: white;
  filter: brightness(1.15);
  box-shadow: var(--shadow-hover);
  transition: all 0.1s ease;
}

button:active {
  transform: translateY(1px);
}

button.mobile {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 400;
}

button.sm {
  padding: 0.325rem 0.75rem !important;
  font-size: var(--xs) !important;
  font-weight: 350 !important;
}

.btn-blue {
  background-color: var(--bg-blue);
  color: var(--color);
}
.btn-green {
  background-color: var(--bg-green);
  color: var(--color);
}
.btn-yellow {
  background-color: var(--bg-yellow);
  color: var(--color);
}
.btn-gray {
  background-color: var(--bg-gray);
  color: var(--color);
}
.btn-red {
  background-color: var(--bg-red);
  color: var(--color);
}

/* 3. label -----------------------------------------------------------------------------------*/
.label-sm {
  display: block;
  font-size: var(--sm) !important;
  background-color: transparent;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--bd-item);
  border-radius: 0.5rem;
  width: fit-content;
  min-width: fit-content;
  box-shadow: var(--shadow-sm);
}

.label-sm.xs {
  font-size: var(--xs) !important;
  padding: 0.125em 0.5rem !important;
}

.label-sm.red {
  color: var(--color-red);
  background-color: rgba(175, 86, 86, 0.2);
}

.label-sm.blue {
  color: var(--color-blue);
  background-color: rgba(124, 207, 255, 0.3);
}
.label-sm.green {
  color: var(--color-green);
  background-color: rgba(128, 255, 192, 0.3);
}
.label-sm.yellow {
  color: var(--color-yellow);
  background-color: rgba(253, 196, 109, 0.3);
}

.label-sm.gray {
  color: var(--color-gray) !important;
  border-color: var(--bg-gray) !important;
}

/* -------------------------------------------------------------------------------------------- */
.menu-item {
  display: flex;
  justify-items: center;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--color);
  font-size: var(--md) !important;
  background-color: var(--bg-gray);
  border: var(--bd-item);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  text-shadow: var(--shadow-text) !important;
  transition: all 0.2s;
  cursor: pointer;
}
.menu-item:hover {
  filter: brightness(1.15);
  box-shadow: var(--shadow-hover);
  transition: all 0.2s ease;
}

.menu-item:active {
  transform: scale(0.98);
}

.menu-item.active {
  color: white;
  background-color: var(--bg-green);
}
/* -------------------------------- */
.menu-item.trans {
  color: var(--color-sub);
  background-color: transparent !important;
  box-shadow: none !important;
  border: 1px solid var(--color-gray) !important;
}
.menu-item.trans:hover {
  color: white;
  border: 1px solid var(--color-sub) !important;
  transition: all 0.2s ease;
}
.menu-item.trans.active {
  background-color: rgba(64, 255, 57, 0.15) !important;
  color: var(--color-green) !important ;
  border: 1px solid var(--color-green) !important;
}
/* -------------------------------- */
.menu-item.shadow {
  color: var(--color-sub);
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.menu-item.shadow:hover {
  color: white;
  filter: brightness(1.15);
  box-shadow: var(--shadow-hover) !important;
  transition: all 0.2s ease;
}
.menu-item.shadow.active {
  color: var(--color-blue);
  font-weight: 600;
}
/* ------------------------------------- */
.tab-box {
  display: flex;
  justify-items: center;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem 0.5rem;
  color: var(--color);
  font-size: var(--md);
  background-color: var(--op-1);
  border: var(--bd-item);
  border-bottom: none !important;
  border-radius: 0.5rem 0.5rem 0 0;
  text-shadow: var(--shadow-text) !important;
  transition: all 0.2s;
  cursor: pointer;
}
.tab-box:hover {
  color: white;
  background-color: var(--op-2);
  transition: all 0.1s ease;
}

.tab-box.active {
  color: white;
  background-color: var(--bg-green);
}

.tab-line {
  height: 4px;
  background-color: var(--bg-green);
  width: 100%;
  border-radius: none;
  margin: 0.5rem 0;
  padding: 0;
  box-shadow: var(--shadow-sm);
}

/* icon ---------------------------------------------------------------------------------------------- */
.icon-rd {
  display: flex !important;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color);
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.icon-rd.sm {
  width: 1.5rem !important;
  height: 1.5rem !important;
  border-width: 1px !important;
  font-size: 0.775em !important;
}

.icon-rd img {
  width: 100% !important;
  height: 100% !important;
  object-position: top center;
  object-fit: cover;
}

.icon-rd p {
  margin: 0;
  padding: 0;
  font-size: var(--lg);
  line-height: 1;
  color: inherit;
  width: fit-content;
  text-align: center;
  vertical-align: middle;
}

.icon-rd.sm p {
  margin: 0;
  padding: 0;
  font-size: var(--sm);
  line-height: 0.8;
  color: var(--color);
  width: fit-content;
  text-align: center;
  vertical-align: middle;
}

.icon-sq {
  display: flex !important;
  overflow: hidden;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: var(--shadow-sm);
}

.icon-sq img {
  width: 100% !important;
  height: 100% !important;
  object-position: center;
  object-fit: contain;
}

.icon-sq p {
  margin: 0;
  padding: 0;
  font-size: var(--xl);
  line-height: 1;
  color: inherit;
  width: fit-content;
}

.icon-sq.sm {
  width: 2rem !important;
  height: 2rem !important;
  border-width: 1px !important;
  font-size: 1.125em !important;
}

.icon-sq.sm > i {
  transform: translateY(0.1em);
}

.icon-lg {
  width: 3rem !important;
  height: 3rem !important;
}

/* //----------------------------------------------//----------------------------------------------//---------------------------------------------- */

/* 4. Tables */
table.default {
  width: 100%;
  height: 100%;
  text-align: left;
  border-spacing: 0px;
  border-style: none;
  border-collapse: collapse;
  table-layout: auto;
}
table.default thead {
  display: block;
  background-color: var(--op-1);
  color: white;
}

table.default tbody {
  display: block;
  height: calc(100% - 2.5rem); /* 헤더 높이 제외 */
  overflow-y: auto;
}

@supports (overflow-y: overlay) {
  table.default tbody {
    overflow-y: overlay;
  }
}

table.default thead tr,
table.default tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

table.default tbody tr {
  border-bottom: 1px solid var(--bd-bottom);
  transition: background-color 0.15s ease-in-out;
}

table.default tbody tr:hover {
  background-color: var(--hover);
  cursor: pointer;
}

table.default tbody tr:hover td {
  color: white;
}

table.default tbody tr.active {
  background-color: var(--active) !important;
  color: white;
  font-weight: 500 !important;
}
/* 
table.default tbody tr:last-child {
  border-bottom: none !important;
} */

table.default th,
table.default td {
  padding: 0.725rem 0.25rem;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  width: fit-content;
  min-width: fit-content;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: var(--sm) !important;
  font-family: "Noto Sans KR", sans-serif !important;
  color: var(--color);
}

table.default th:hover {
  cursor: pointer;
}

/* 5. Lists (UL/OL) */

ul {
  display: flex;
  flex-direction: column;
  height: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow-y: auto overlay;
  gap: 0;
}

ul li {
  vertical-align: middle;
  align-items: center;
  font-size: var(--md);
  padding: 0.5rem 0.1rem;
}

ul li:hover {
  background-color: var(--op-2);
  color: var(--color-yellow);
  transition: all 0.1s ease-in-out;
  cursor: pointer;
}
ul li.active {
  background-color: var(--bg-blue);
  color: white;
}

/* Display----------------------------------------------------------------------------------------------- */
.flex {
  display: flex;
  justify-items: flex-start;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}
.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
  align-items: start;
  grid-auto-rows: min-content;
  gap: 1rem;
  padding: 1rem;
  width: 100%;
  overflow-y: auto;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.hidden {
  display: none !important;
}

/* Position */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.sticky {
  position: sticky;
  top: 0;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.top-0 {
  top: 0;
}
.left-0 {
  left: 0;
}
.bottom-0 {
  bottom: 0;
}
.right-0 {
  right: 0;
}
.z-0 {
  z-index: 0;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}

/* Flex & Grid Layout ---------------------------------------------------------------------------------------------*/
.flex-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-items: flex-start;
}
.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  align-items: flex-start;
  justify-items: flex-start;
  justify-content: flex-start;
}
.flex-row > [class*="col-"] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.flex-1 {
  flex: 1 !important;
}
.items-center {
  align-items: center !important;
}
.items-start {
  align-items: flex-start !important;
}
.justify-between {
  justify-content: space-between !important;
}
.justify-center {
  justify-content: center !important;
}
.justify-end {
  justify-content: flex-end !important;
}
.justify-start {
  justify-content: flex-start !important;
}
.justify-around {
  justify-content: space-around !important;
}
.gap-0 {
  gap: 0rem !important;
}
.gap-1 {
  gap: 0.5rem !important;
}
.gap-2 {
  gap: 1rem !important;
}
.gap-3 {
  gap: 1.5rem !important;
}
/* Grid Columns (2-20rem)/ default grid-16 */
.grid-14 {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) !important;
}
.grid-12 {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)) !important;
}
.grid-10 {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)) !important;
}
.grid-8 {
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)) !important;
}
.grid-6 {
  grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)) !important;
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr)) !important;
}
.grid-18 {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)) !important;
}
.grid-20 {
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)) !important;
}
.grid-100 {
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)) !important;
}
/* Column Span (1-12) - Bootstrap 스타일 */
.col-1 {
  grid-column: span 1 / span 1;
  flex: 0 0 calc(100% / 12 * 1);
  max-width: calc(100% / 12 * 1);
}
.col-2 {
  grid-column: span 2 / span 2;
  flex: 0 0 calc(100% / 12 * 2);
  max-width: calc(100% / 12 * 2);
}
.col-3 {
  grid-column: span 3 / span 3;
  flex: 0 0 calc(100% / 12 * 3);
  max-width: calc(100% / 12 * 3);
}
.col-4 {
  grid-column: span 4 / span 4;
  flex: 0 0 calc(100% / 12 * 4);
  max-width: calc(100% / 12 * 4);
}
.col-5 {
  grid-column: span 5 / span 5;
  flex: 0 0 calc(100% / 12 * 5);
  max-width: calc(100% / 12 * 5);
}
.col-6 {
  grid-column: span 6 / span 6;
  flex: 0 0 calc(100% / 12 * 6);
  max-width: calc(100% / 12 * 6);
}
.col-7 {
  grid-column: span 7 / span 7;
  flex: 0 0 calc(100% / 12 * 7);
  max-width: calc(100% / 12 * 7);
}
.col-8 {
  grid-column: span 8 / span 8;
  flex: 0 0 calc(100% / 12 * 8);
  max-width: calc(100% / 12 * 8);
}
.col-9 {
  grid-column: span 9 / span 9;
  flex: 0 0 calc(100% / 12 * 9);
  max-width: calc(100% / 12 * 9);
}
.col-10 {
  grid-column: span 10 / span 10;
  flex: 0 0 calc(100% / 12 * 10);
  max-width: calc(100% / 12 * 10);
}
.col-11 {
  grid-column: span 11 / span 11;
  flex: 0 0 calc(100% / 12 * 11);
  max-width: calc(100% / 12 * 11);
}
.col-12 {
  grid-column: span 12 / span 12;
  flex: 0 0 100%;
  max-width: 100%;
}
/* Transitions ---------------------------------------------------------------------------------------------------*/
.transition {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
/* ============================================================================   */

@supports (overflow-y: overlay) {
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.5);
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: content-box;
  }
  ::-webkit-scrollbar-track {
    background-color: transparent;
  }
}

/* * =============================
 * Animation Utilities
 * ============================= 
 */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes slide-left {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-bottom {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-in-bottom {
  animation: slide-in-bottom 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.spin {
  animation: spin 1s linear infinite;
}

.ripple {
  position: relative;
  overflow: hidden;
}

.floating {
  animation: float 2s ease-in-out infinite;
}

.slide-l {
  animation: slide-left 0.3s ease-out forwards;
}

.slide-r {
  animation: slide-right 0.3s ease-out forwards;
}

@supports not ((backdrop-filter: blur(5px)) or (-webkit-backdrop-filter: blur(5px))) {
}

/* context Menu ---------------------------------------------------------------------------------------------------- */

.context-menu {
  position: absolute;
  background: var(--bg-gray);
  border: 1px solid var(--border-item);
  border-radius: 4px;
  box-shadow: var(--shadow);
  z-index: 9999;
  min-width: 100px;
}

.context-menu .menu-item {
  padding: 5px 15px;
  cursor: pointer;
}

.context-menu .menu-item:hover {
  background-color: var(--hover);
  color: white;
}

/* ---------------------------------------------------------------------------------------------------------------------------- */

input[type="text"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:focus,
input[type="password"]:-webkit-autofill,
input[type="password"]:-webkit-autofill:hover,
input[type="password"]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1f2937 inset !important;
  -webkit-text-fill-color: #f3f4f6 !important;
  border: 1px solid var(--bd-focus) !important;
  outline: none !important;
  transition: background-color 5000s ease-in-out 0s;
}
