/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

@font-face {
  font-family: 'CoGothic VF';
  src: url('../vendor/fonts/agizze/CoGothicVF.otf') format('opentype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Allotrope Variable';
  src: url('../vendor/fonts/agizze/Allotrope-Variable.otf') format('opentype');
  font-style: normal;
  font-display: swap;
}

:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
  --agizze-font-family: 'CoGothic VF', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --agizze-display-font-family: 'Allotrope Variable', 'CoGothic VF', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --agizze-orange: #e87f18;
  --agizze-orange-bright: #fd8f3a;
  --agizze-blue-deep: #1a2a42;
  --agizze-blue-night: #0c1726;
  --bs-font-sans-serif: var(--agizze-font-family);
  --bs-body-font-family: var(--agizze-font-family);
  --font-family-base: var(--agizze-font-family);
  --bs-menu-bg: #e3e3e3;
  --bs-menu-bg-rgb: 227, 227, 227;
  --bs-menu-hover-bg: rgba(26, 42, 66, 0.08);
  --bs-menu-sub-active-bg: rgba(26, 42, 66, 0.12);
  --bs-menu-active-bg: color-mix(in srgb, var(--agizze-orange) 82%, #ffffff 18%);
  --bs-menu-active-color: #fff;
}

[data-semidark-menu="true"],
[data-bs-theme="dark"] {
  --bs-menu-bg: var(--agizze-blue-deep);
  --bs-menu-bg-rgb: 26, 42, 66;
  --bs-menu-hover-bg: rgba(255, 255, 255, 0.05);
  --bs-menu-sub-active-bg: rgba(255, 255, 255, 0.08);
  --bs-menu-active-bg: color-mix(in srgb, var(--agizze-orange) 78%, #000000 22%);
  --bs-menu-active-color: #fff;
  --bs-dark: var(--agizze-blue-deep);
  --bs-dark-rgb: 26, 42, 66;
}

/* Dark mode harmonized with AGIZZE blue deep */
[data-bs-theme="dark"] {
  --bs-body-bg: #162238;
  --bs-paper-bg: #1a2a42;
  --bs-card-bg: #273552;
  --bs-body-color: #cfd6e8;
  --bs-heading-color: #f2f5ff;
  --bs-border-color: rgba(207, 214, 232, 0.14);
}

[data-bs-theme="dark"] body,
[data-bs-theme="dark"] .layout-page,
[data-bs-theme="dark"] .content-wrapper {
  background-color: var(--bs-body-bg);
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .bg-navbar-theme,
[data-bs-theme="dark"] .navbar {
  background-color: var(--bs-card-bg);
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--agizze-font-family);
}

.menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 34px;
  height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
  font-family: var(--agizze-display-font-family);
  letter-spacing: 0.01em;
}

.report-mobile-brand {
  font-family: var(--agizze-display-font-family);
  letter-spacing: 0.01em;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/*
* Menu: remove the bullet/circle indicator from 2nd/3rd level items
******************************************************************************/
.menu .menu-sub > .menu-item > .menu-link::before,
.menu .menu-sub .menu-sub > .menu-item > .menu-link::before,
.menu .menu-sub .menu-sub .menu-sub > .menu-item > .menu-link::before {
  content: none !important;
  display: none !important;
}

/*
* Buttons: warning (yellow) text should be white by default
******************************************************************************/
.btn-warning {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
}

/* Force text color on yellow buttons */
.btn-primary,
.btn-warning {
  color: #fff !important;
}
.btn-primary:hover,
.btn-warning:hover,
.btn-primary:active,
.btn-warning:active,
.btn-primary:focus,
.btn-warning:focus {
  color: #fff !important;
}

/*
* Force contrast color for primary/warning (used by theme color utilities)
******************************************************************************/
:root,
[data-bs-theme="light"] {
  --bs-warning-contrast: #fff;
  --bs-warning-contrast-rgb: 255, 255, 255;
  --bs-primary-contrast: #fff;
  --bs-primary-contrast-rgb: 255, 255, 255;
}

/*
* Theme customizer: in light mode hide gray/white swatches and custom picker
******************************************************************************/
[data-bs-theme="light"] .template-customizer-colors-options > .custom-option:nth-child(6),
[data-bs-theme="light"] .template-customizer-colors-options > .custom-option:nth-child(7),
[data-bs-theme="light"] .template-customizer-colors-options > .custom-option:last-child {
  display: none !important;
}
