/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/
:root,[data-bs-theme=light]{
    /* New Color Palette - Primary Definitions */
    --thistel: #927E8F;
    --error: #C00F0C;
    --login-error: #C00C0F;
    --mint--10: #E5F4F0;
    --mint--20: #CBE9E1;
    --mint--30: #B0DED3;
    --mint--40: #96D3C4;
    --mint--50: #7CC8B5;
    --mint--60-base: #62BDA6;
    --mint--70: #529E8A;
    --mint--80: #417E6F;
    --mint--90: #315F53;
    --mint--100: #213F37;

    --steel-blue--10: #E8EEF8;
    --steel-blue--20: #D1DDF0;
    --steel-blue--30: #B9CCE9;
    --steel-blue--40: #A2BBE2;
    --steel-blue--50: #8BAADA;
    --steel-blue--60-base: #7499D3;
    --steel-blue--70: #6180B0;
    --steel-blue--80: #4D668D;
    --steel-blue--90: #3A4D6A;
    --steel-blue--100: #273346;

    --thistel--10: #F9F4F8;
    --thistel--20: #F3E9F1;
    --thistel--30: #EDDEEB;
    --thistel--40: #E7D3E4;
    --thistel--50: #E1C8DD;
    --thistel--60: #DBBDD6;
    --thistel--70: #B79EB2;
    --thistel--80: #927E8F;
    --thistel--90: #6E5F6B;
    --thistel--100: #493F47;

    --saffron--mango--10: #FDF6E3;
    --saffron--mango--20: #FCEDC6;
    --saffron--mango--30: #FAE4A9;
    --saffron--mango--40: #F8DB8D;
    --saffron--mango--50: #F7D271;
    --saffron--mango--60: #F5C954;
    --saffron--mango--70: #CCA746;
    --saffron--mango--80: #A38638;
    --saffron--mango--90: #7B652A;
    --saffron--mango--100: #52431C;

    --burning--orange--10: #FFE8DE;
    --burning--orange--20: #FED2BC;
    --burning--orange--30: #FEBB9B;
    --burning--orange--40: #FEA47A;
    --burning--orange--50: #FD8E58;
    --burning--orange--60: #FD7737;
    --burning--orange--70: #D3632E;
    --burning--orange--80: #A94F25;
    --burning--orange--90: #7F3C1C;
    --burning--orange--100: #542812;

    --slate--10: #E2E4E6;
    --slate--20: #C4C9CD;
    --slate--30: #A7AEB4;
    --slate--40: #8A939B;
    --slate--50: #6C7882;
    --slate--60-base: #4F5D69;
    --slate--70: #424E58;
    --slate--80: #353E46;
    --slate--90: #282F35;
    --slate--100: #1A1A1A;

    --violet---light--1: #FDFCFE;
    --violet---light--2: #FAF8FF;
    --violet---light--3: #F4F0FE;
    --violet---light--4: #EBE4FF;
    --violet---light--5: #E1D9FF;
    --violet---light--6: #D4CAFE;
    --violet---light--7: #C2B5F5;
    --violet---light--8: #AA99EC;
    --violet---light--9: #6E56CF;

    --background--cream: #FBF8EF;
    --background---white: #FFFFFF;
    --background---black: #000000;
    --background--gray-1: #F1F3F5;
    --background--gray-2: #F9F9F9;
    --text---onbrand-white: #F5F5F5;
    --text---default---white: #FFFFFF;
    --text---default---black: #1A1F23;
    --text---default---secondary: #424E58;
    --text---disabled: #8A939B;
    --text--tertiary: #6C7882;
    /* End of New Color Palette - Primary Definitions */
}


.topbar {
    background-color: var(--steel-blue--10) !important;
}

.topbar-user {
    background-color: var(--steel-blue--10);
}

.page-content {
    padding-bottom: 110px !important; /* 根據你的 footer 高度調整這個值 */
}

.footer {
    background-color: var(--steel-blue--70);
    color: var(--text---default---white);
    padding: 20px;
    box-sizing: border-box;
    min-height: 90px;
}

.footer p {
    margin: 5px 0;
}

.footer-version{
    position: absolute;
    right: 120px;
    bottom: 10px;
    margin: 0;
    text-align: right;
    font-size: 13px;
    line-height: 1.6;
}

.btn-primary {
  --vz-btn-color: var(--text---onbrand-white);
  --vz-btn-bg: var(--steel-blue--80);
  --vz-btn-border-color: var(--slate--60-base);

  --vz-btn-hover-bg: var(--steel-blue--70);
  --vz-btn-hover-border-color: var(--slate--60-base);

  --vz-btn-focus-shadow-rgb: var(--steel-blue--80);

  --vz-btn-active-bg: var(--steel-blue--90);
  --vz-btn-active-border-color: var(--slate--70);

  --vz-btn-disabled-color: var(--slate--40);
  --vz-btn-disabled-bg: var(--slate--20);
  --vz-btn-disabled-border-color: var(--slate--30);
}

.btn-info {
    background-color: var(--steel-blue--30);
    border-color: var(--steel-blue--30);
}

.btn {
    border-radius: 16px !important;
}

.css-error {
   color: var(--login-error);
    font-size: 16px;
}

.text-modal-title {
    color: var(--steel-blue--90);
}

.copy-text-modal-title {
    color: var(--steel-blue--30);
}

/* ------------------------- */
/* 平板 Styles                */
/* ------------------------- */
@media (max-width: 767.98px) {
  .navbar-brand-box {
    display: none;
  }
}

/* 讓三條線等長、垂直等距、無位移 */
.hamburger-icon,
.hamburger-icon.open {
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transform: none !important;
}

.hamburger-icon span,
.hamburger-icon.open span {
  position: absolute;
  right: 0 !important;
  left: 0 !important;       /* 保證左右對齊容器 */
  margin: 0 auto !important;
  height: 2px;
  width: 100% !important;   /* 強制等長 */
  border-radius: 2px;
  background-color: var(--vz-header-item-sub-color);
  transform: none !important;
  transition: 0.3s cubic-bezier(0.8, 0.5, 0.2, 1.4);
  transition-delay: 0ms !important;
}

/* 位置：0px / 6px / 12px，14px 高剛好等距 */
.hamburger-icon span:nth-child(1),
.hamburger-icon.open span:nth-child(1) {
  top: 0 !important;
}
.hamburger-icon span:nth-child(2),
.hamburger-icon.open span:nth-child(2) {
  top: 6px !important;
}
.hamburger-icon span:nth-child(3),
.hamburger-icon.open span:nth-child(3) {
  top: 12px !important;    /* 用 top:12px 取代 bottom:0，避免與其他規則衝突 */
}

/* 取消 hover 位移，避免視覺不對齊 */
.vertical-menu-btn:hover .hamburger-icon span:nth-child(1),
.vertical-menu-btn:hover .hamburger-icon span:nth-child(3) {
  top: unset !important;   /* 先清掉可能的 top/bottom */
  bottom: unset !important;
}
.vertical-menu-btn:hover .hamburger-icon span:nth-child(1) {
  top: 0 !important;
}
.vertical-menu-btn:hover .hamburger-icon span:nth-child(2) {
  top: 6px !important;
}
.vertical-menu-btn:hover .hamburger-icon span:nth-child(3) {
  top: 12px !important;
}

/* 確保三條線在最上層，圓形在下層 */
.hamburger-icon span,
.hamburger-icon.open span {
  z-index: 2;
}

/* 預設狀態下，在後方加上白色實心圓 */
.hamburger-icon::after {
  content: "" !important;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  background: var(--text---default---white);                 /* 白色填滿 */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;                          /* 在三條線之下 */
}

/* open 時移除偽元素（即移除白色圓形背景） */
.hamburger-icon.open::after {
  content: none !important;
}


/* ------------------------- */
/* 手機 Styles                */
/* ------------------------- */
@media (max-width: 575.98px) {
  .navbar-brand-box {
    display: none;
  }
}

/* 讓三條線等長、垂直等距、無位移 */
.hamburger-icon,
.hamburger-icon.open {
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transform: none !important;
}

.hamburger-icon span,
.hamburger-icon.open span {
  position: absolute;
  right: 0 !important;
  left: 0 !important;       /* 保證左右對齊容器 */
  margin: 0 auto !important;
  height: 2px;
  width: 100% !important;   /* 強制等長 */
  border-radius: 2px;
  background-color: var(--vz-header-item-sub-color);
  transform: none !important;
  transition: 0.3s cubic-bezier(0.8, 0.5, 0.2, 1.4);
  transition-delay: 0ms !important;
}

/* 位置：0px / 6px / 12px，14px 高剛好等距 */
.hamburger-icon span:nth-child(1),
.hamburger-icon.open span:nth-child(1) {
  top: 0 !important;
}
.hamburger-icon span:nth-child(2),
.hamburger-icon.open span:nth-child(2) {
  top: 6px !important;
}
.hamburger-icon span:nth-child(3),
.hamburger-icon.open span:nth-child(3) {
  top: 12px !important;    /* 用 top:12px 取代 bottom:0，避免與其他規則衝突 */
}

/* 取消 hover 位移，避免視覺不對齊 */
.vertical-menu-btn:hover .hamburger-icon span:nth-child(1),
.vertical-menu-btn:hover .hamburger-icon span:nth-child(3) {
  top: unset !important;   /* 先清掉可能的 top/bottom */
  bottom: unset !important;
}
.vertical-menu-btn:hover .hamburger-icon span:nth-child(1) {
  top: 0 !important;
}
.vertical-menu-btn:hover .hamburger-icon span:nth-child(2) {
  top: 6px !important;
}
.vertical-menu-btn:hover .hamburger-icon span:nth-child(3) {
  top: 12px !important;
}

/* 確保三條線在最上層，圓形在下層 */
.hamburger-icon span,
.hamburger-icon.open span {
  z-index: 2;
}

/* 預設狀態下，在後方加上白色實心圓 */
.hamburger-icon::after {
  content: "" !important;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  background: var(--text---default---white); !important;     /* 白色填滿 */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;                          /* 在三條線之下 */
}

/* open 時移除偽元素（即移除白色圓形背景） */
.hamburger-icon.open::after {
  content: none !important;
}
