:root,
html[data-skin],
html[data-skin][data-bs-theme=light],
[data-bs-theme=light] {
  --brand: #B0603E;
  --brand-strong: #8A4529;
  --brand-soft: #D4835E;
  --brand-deep: #3D1A0F;
  --brand-accent: #DB2777;
  --brand-accent-2: #EC4899;
  --brand-tint: #FDF2EC;
  --brand-tint-2: #FBEBE2;
  --brand-border: #F2DFD5;
  --theme-primary: #B0603E;
  --theme-primary-rgb: 176, 96, 62;
  --theme-primary-text-emphasis: #8A4529;
  --theme-primary-bg-subtle: #FBEBE2;
  --theme-primary-border-subtle: #F2DFD5;
  --theme-link-color: #B0603E;
  --theme-link-color-rgb: 176, 96, 62;
  --theme-link-hover-color: #8A4529;
  --theme-link-hover-color-rgb: 138, 69, 41;
  --theme-focus-ring-color: #8A4529;
  --theme-focus-ring-width: 0.2rem;
  --brand-border-strong: #AC8573;
  --theme-chart-primary: #B0603E;
  --theme-chart-primary-rgb: 176, 96, 62;
}

[data-bs-theme=dark],
html[data-skin][data-bs-theme=dark] {
  --theme-primary: #B0603E;
  --theme-primary-rgb: 176, 96, 62;
  --theme-primary-text-emphasis: #D4835E;
  --theme-primary-bg-subtle: rgba(176, 96, 62, 0.2);
  --theme-primary-border-subtle: #6A3A25;
  --theme-link-color: #D4835E;
  --theme-link-color-rgb: 212, 131, 94;
  --theme-link-hover-color: #FBEBE2;
  --theme-link-hover-color-rgb: 251, 235, 226;
  --theme-focus-ring-color: #8A4529;
  --theme-focus-ring-width: 0.2rem;
  --brand-border-strong: #AC8573;
  --theme-chart-primary: #B0603E;
  --theme-chart-primary-rgb: 176, 96, 62;
}

.btn-primary {
  --theme-btn-color: #fff;
  --theme-btn-bg: #B0603E;
  --theme-btn-border-color: #B0603E;
  --theme-btn-hover-color: #fff;
  --theme-btn-hover-bg: #8A4529;
  --theme-btn-hover-border-color: #8A4529;
  --theme-btn-focus-shadow-rgb: 188, 120, 91;
  --theme-btn-active-color: #fff;
  --theme-btn-active-bg: #8A4529;
  --theme-btn-active-border-color: #8A4529;
  --theme-btn-disabled-color: #fff;
  --theme-btn-disabled-bg: #B0603E;
  --theme-btn-disabled-border-color: #B0603E;
}

.btn-outline-primary {
  --theme-btn-color: #B0603E;
  --theme-btn-bg: transparent;
  --theme-btn-border-color: #B0603E;
  --theme-btn-hover-color: #fff;
  --theme-btn-hover-bg: #B0603E;
  --theme-btn-hover-border-color: #B0603E;
  --theme-btn-focus-shadow-rgb: 176, 96, 62;
  --theme-btn-active-color: #fff;
  --theme-btn-active-bg: #B0603E;
  --theme-btn-active-border-color: #B0603E;
  --theme-btn-disabled-color: #B0603E;
  --theme-btn-disabled-bg: transparent;
  --theme-btn-disabled-border-color: #B0603E;
}

.btn-soft-primary {
  --theme-btn-color: #8A4529;
  --theme-btn-bg: #FBEBE2;
  --theme-btn-hover-color: #fff;
  --theme-btn-hover-bg: #B0603E;
  --theme-btn-hover-border-color: #B0603E;
  --theme-btn-active-color: #fff;
  --theme-btn-active-bg: #B0603E;
  --theme-btn-active-border-color: #B0603E;
  --theme-btn-disabled-color: #8A4529;
  --theme-btn-disabled-bg: #FBEBE2;
  --theme-btn-disabled-border-color: #FBEBE2;
}

.btn-ghost-primary {
  --theme-btn-color: #8A4529;
  --theme-btn-hover-color: #fff;
  --theme-btn-hover-bg: #B0603E;
  --theme-btn-hover-border-color: #B0603E;
  --theme-btn-active-color: #8A4529;
  --theme-btn-active-bg: #FBEBE2;
  --theme-btn-active-border-color: #FBEBE2;
  --theme-btn-disabled-color: #F2DFD5;
  --theme-btn-disabled-bg: #FBEBE2;
  --theme-btn-disabled-border-color: #FBEBE2;
}

[data-bs-theme=dark] .btn-soft-primary,
[data-bs-theme=dark] .btn-ghost-primary {
  --theme-btn-color: #D4835E;
  --theme-btn-bg: rgba(176, 96, 62, 0.2);
}

[data-bs-theme=dark] .btn-ghost-primary {
  --theme-btn-bg: transparent;
  --theme-btn-active-color: #D4835E;
  --theme-btn-active-bg: rgba(176, 96, 62, 0.2);
  --theme-btn-active-border-color: rgba(176, 96, 62, 0.2);
  --theme-btn-disabled-color: #6A3A25;
}

.btn-link {
  --theme-btn-focus-shadow-rgb: 188, 120, 91;
}

[data-bs-theme=dark] .accordion-button::after {
  --theme-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4835E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --theme-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4835E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.text-primary {
  --theme-text-opacity: 1;
  color: rgba(176, 96, 62, var(--theme-text-opacity)) !important;
}

.text-primary-emphasis {
  color: #8A4529 !important;
}

[data-bs-theme=dark] .text-primary-emphasis {
  color: #D4835E !important;
}

.bg-primary {
  --theme-bg-opacity: 1;
  background-color: rgba(176, 96, 62, var(--theme-bg-opacity)) !important;
}

.bg-primary-subtle {
  background-color: #FBEBE2 !important;
}

[data-bs-theme=dark] .bg-primary-subtle {
  background-color: rgba(176, 96, 62, 0.2) !important;
}

.text-bg-primary {
  color: #fff !important;
  background-color: RGBA(176, 96, 62, var(--theme-bg-opacity, 1)) !important;
}

.border-primary {
  --theme-border-opacity: 1;
  border-color: rgba(176, 96, 62, var(--theme-border-opacity)) !important;
}

.border-primary-subtle {
  border-color: #F2DFD5 !important;
}

[data-bs-theme=dark] .border-primary-subtle {
  border-color: #6A3A25 !important;
}

.link-primary {
  color: RGBA(176, 96, 62, var(--theme-link-opacity, 1)) !important;
  text-decoration-color: RGBA(176, 96, 62, var(--theme-link-underline-opacity, 1)) !important;
}

.link-primary:hover, .link-primary:focus {
  color: RGBA(138, 69, 41, var(--theme-link-opacity, 1)) !important;
  text-decoration-color: RGBA(138, 69, 41, var(--theme-link-underline-opacity, 1)) !important;
}

[data-bs-theme=dark] .link-primary {
  color: RGBA(212, 131, 94, var(--theme-link-opacity, 1)) !important;
  text-decoration-color: RGBA(212, 131, 94, var(--theme-link-underline-opacity, 1)) !important;
}

[data-bs-theme=dark] .link-primary:hover, [data-bs-theme=dark] .link-primary:focus {
  color: RGBA(251, 235, 226, var(--theme-link-opacity, 1)) !important;
  text-decoration-color: RGBA(251, 235, 226, var(--theme-link-underline-opacity, 1)) !important;
}

.link-underline-primary {
  --theme-link-underline-opacity: 1;
  text-decoration-color: rgba(176, 96, 62, var(--theme-link-underline-opacity)) !important;
}

.focus-ring-primary {
  --theme-focus-ring-color: rgba(176, 96, 62, var(--theme-focus-ring-opacity));
}

.fill-primary {
  fill: rgba(176, 96, 62, 0.15);
}

.alert-primary {
  --theme-alert-color: #8A4529;
  --theme-alert-bg: #FBEBE2;
  --theme-alert-border-color: #F2DFD5;
  --theme-alert-link-color: #8A4529;
}

[data-bs-theme=dark] .alert-primary {
  --theme-alert-color: #D4835E;
  --theme-alert-bg: rgba(176, 96, 62, 0.2);
  --theme-alert-border-color: #6A3A25;
  --theme-alert-link-color: #D4835E;
}

.list-group-item-primary {
  --theme-list-group-color: #8A4529;
  --theme-list-group-bg: #FBEBE2;
  --theme-list-group-border-color: #F2DFD5;
  --theme-list-group-action-hover-bg: #F2DFD5;
  --theme-list-group-action-active-bg: #F2DFD5;
  --theme-list-group-active-color: #FBEBE2;
  --theme-list-group-active-bg: #8A4529;
  --theme-list-group-active-border-color: #8A4529;
}

[data-bs-theme=dark] .list-group-item-primary {
  --theme-list-group-color: #D4835E;
  --theme-list-group-bg: rgba(176, 96, 62, 0.2);
  --theme-list-group-border-color: #6A3A25;
  --theme-list-group-action-hover-bg: #6A3A25;
  --theme-list-group-action-active-bg: #6A3A25;
  --theme-list-group-active-color: #fff;
  --theme-list-group-active-bg: #B0603E;
  --theme-list-group-active-border-color: #B0603E;
}

.table-primary {
  --theme-table-color: #313a46;
  --theme-table-bg: #F2DFD5;
  --theme-table-border-color: #DFCFC7;
  --theme-table-striped-bg: #8A6A5A;
  --theme-table-striped-color: #fff;
  --theme-table-active-bg: #8A6A5A;
  --theme-table-active-color: #fff;
  --theme-table-hover-bg: #8A6A5A;
  --theme-table-hover-color: #fff;
}

.badge-soft-primary {
  --theme-badge-color: #8A4529;
  background-color: #FBEBE2;
}

.badge-soft-primary[href] {
  color: #8A4529;
  background-color: #FBEBE2;
}

.badge-soft-primary[href]:is(:hover, :focus) {
  color: #8A4529;
  background-color: #FBEBE2;
}

[data-bs-theme=dark] .badge-soft-primary {
  --theme-badge-color: #D4835E;
  background-color: rgba(176, 96, 62, 0.2);
}

[data-bs-theme=dark] .badge-soft-primary[href] {
  color: #D4835E;
  background-color: rgba(176, 96, 62, 0.2);
}

[data-bs-theme=dark] .badge-soft-primary[href]:is(:hover, :focus) {
  color: #D4835E;
  background-color: rgba(176, 96, 62, 0.2);
}

.badge-outline-primary {
  --theme-badge-color: #B0603E;
  border: 1px solid #B0603E;
  background-color: transparent;
}

.badge-outline-primary[href] {
  color: #8A4529;
  background-color: #FBEBE2;
}

.badge-outline-primary[href]:is(:hover, :focus) {
  color: #8A4529;
  background-color: #FBEBE2;
}

[data-bs-theme=dark] .badge-outline-primary {
  --theme-badge-color: #D4835E;
  border-color: #D4835E;
}

[data-bs-theme=dark] .badge-outline-primary[href] {
  color: #D4835E;
  background-color: rgba(176, 96, 62, 0.2);
}

[data-bs-theme=dark] .badge-outline-primary[href]:is(:hover, :focus) {
  color: #D4835E;
  background-color: rgba(176, 96, 62, 0.2);
}

.pagination-primary {
  --theme-pagination-hover-color: #B0603E;
  --theme-pagination-active-bg: #B0603E;
  --theme-pagination-active-border-color: #B0603E;
}

.pagination-soft-primary {
  --theme-pagination-hover-color: #8A4529;
  --theme-pagination-active-color: #8A4529;
  --theme-pagination-active-bg: #FBEBE2;
  --theme-pagination-active-border-color: transparent;
}

[data-bs-theme=dark] .pagination-soft-primary {
  --theme-pagination-hover-color: #D4835E;
  --theme-pagination-active-color: #D4835E;
  --theme-pagination-active-bg: rgba(176, 96, 62, 0.2);
}

.nav-pills-primary {
  --theme-nav-pills-link-active-bg: #B0603E;
  --theme-nav-link-hover-color: #B0603E;
}

.nav-tabs.nav-bordered-primary .nav-item .nav-link:hover, .nav-tabs.nav-bordered-primary .nav-item .nav-link:focus {
  color: #B0603E;
}

.nav-tabs.nav-bordered-primary .nav-item .nav-link.active {
  border-bottom: 1px solid #B0603E;
  color: #B0603E;
}

.popover-primary {
  --theme-popover-bg: #B0603E;
}

.tooltip-primary {
  --theme-tooltip-bg: #B0603E;
}

.form-check-input:checked {
  background-color: #B0603E;
  border-color: #B0603E;
}

.form-check-primary .form-check-input:checked {
  background-color: #B0603E;
  border-color: #B0603E;
}

.form-check-input:focus {
  -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #8A4529;
          box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #8A4529;
}

.form-select:focus {
  -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #8A4529;
          box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #8A4529;
}

.nav-link:focus-visible {
  -webkit-box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #8A4529;
          box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #8A4529;
}

.custom-progress:has(.bg-primary) {
  background-color: rgba(176, 96, 62, 0.1);
}

.progress-data.bg-primary {
  background-color: rgba(176, 96, 62, 0.2) !important;
}

[data-simplebar-primary] .simplebar-scrollbar:before {
  background: #B0603E;
}

[data-slider-color=primary] .noUi-connect {
  background: #B0603E;
}

[data-bs-theme=dark] [data-slider-color=primary] .noUi-handle {
  background: #B0603E;
}

[data-slider-color=primary][data-slider-style=line].noUi-horizontal .noUi-handle {
  background: #B0603E;
}

html[data-menu-color=light],
html[data-skin][data-menu-color=light],
html[data-skin][data-bs-theme=dark][data-menu-color=light] {
  --theme-sidenav-item-hover-color: #B0603E;
  --theme-sidenav-item-active-color: #B0603E;
}

html[data-menu-color=gray],
html[data-skin][data-menu-color=gray],
html[data-skin][data-bs-theme=dark][data-menu-color=gray] {
  --theme-sidenav-item-hover-color: #B0603E;
}

html[data-topbar-color=light],
html[data-skin][data-topbar-color=light],
html[data-skin][data-bs-theme=dark][data-topbar-color=light] {
  --theme-topbar-item-hover-color: #B0603E;
}

html[data-topbar-color=gray],
html[data-skin][data-topbar-color=gray],
html[data-skin][data-bs-theme=dark][data-topbar-color=gray] {
  --theme-topbar-item-hover-color: #B0603E;
}

.error-text-alt {
  background: -webkit-gradient(linear, left top, right top, from(#B0603E), to(#DB2777));
  background: linear-gradient(90deg, #B0603E 0%, #DB2777 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fc .fc-daygrid-day.fc-day-today {
  background-color: rgba(176, 96, 62, 0.1);
}

.fc .fc-timegrid-col.fc-day-today {
  background-color: rgba(176, 96, 62, 0.1);
}

.fc-daygrid-event-harness .fc-daygrid-event.bg-primary-subtle .fc-event-title,
.fc-daygrid-event-harness .fc-daygrid-event.bg-primary-subtle .fc-event-main {
  color: #8A4529 !important;
}

.fc-timegrid-event-harness .fc-timegrid-event.bg-primary-subtle .fc-event-title {
  color: #8A4529 !important;
}

.fc-list-table .fc-list-event.bg-primary-subtle {
  color: #8A4529 !important;
}

.fc-list-table .fc-list-event.bg-primary-subtle .fc-list-event-title > a {
  color: #8A4529 !important;
}

.fc-list-table .fc-list-event.bg-primary-subtle .fc-list-event-dot {
  border-color: #B0603E;
}

[data-bs-theme=dark] .fc-daygrid-event-harness .fc-daygrid-event.bg-primary-subtle .fc-event-title,
[data-bs-theme=dark] .fc-daygrid-event-harness .fc-daygrid-event.bg-primary-subtle .fc-event-main {
  color: #D4835E !important;
}

[data-bs-theme=dark] .fc-timegrid-event-harness .fc-timegrid-event.bg-primary-subtle .fc-event-title {
  color: #D4835E !important;
}

[data-bs-theme=dark] .fc-list-table .fc-list-event.bg-primary-subtle {
  color: #D4835E !important;
}

[data-bs-theme=dark] .fc-list-table .fc-list-event.bg-primary-subtle .fc-list-event-title > a {
  color: #D4835E !important;
}

.ql-toolbar span:hover,
.ql-toolbar button:hover {
  color: #B0603E !important;
}

.ql-snow a {
  color: #B0603E;
}

.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step, .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step-line {
  background: rgba(176, 96, 62, 0.3);
}

html[data-menu-color=dark],
html[data-skin][data-menu-color=dark],
html[data-skin][data-bs-theme=dark][data-menu-color=dark] {
  --theme-sidenav-bg: #2A1108;
  --theme-sidenav-border-color: rgba(176, 96, 62, 0.22);
  --theme-sidenav-item-color: #CBAFA3;
  --theme-sidenav-item-hover-color: #FFFFFF;
  --theme-sidenav-item-hover-bg: rgba(176, 96, 62, 0.18);
  --theme-sidenav-item-active-color: #FFFFFF;
  --theme-sidenav-item-active-bg: #B0603E;
}

html[data-skin][data-menu-color=dark] .sidenav-menu {
  background: linear-gradient(180deg, #2A1108 0%, #3D1A0F 48%, #4A2314 100%);
  border-inline-end: 1px solid rgba(176, 96, 62, 0.22);
  box-shadow: 6px 0 28px rgba(42, 17, 8, 0.28);
}

html[data-skin][data-menu-color=dark] .sidenav-menu .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(176, 96, 62, 0.18);
}

html[data-skin][data-menu-color=dark] .sidenav-menu .sidenav-user {
  border-radius: 16px;
  background-color: rgba(176, 96, 62, 0.16) !important;
  background-blend-mode: overlay;
  border: 1px solid rgba(219, 176, 156, 0.22);
  margin-inline: 10px;
  padding: 16px;
}

html[data-skin][data-menu-color=dark] .sidenav-menu .sidenav-user .avatar-md {
  border: 2px solid rgba(219, 176, 156, 0.45);
}

html[data-skin][data-menu-color=dark] .side-nav .side-nav-item .side-nav-link {
  border-radius: 12px;
  font-weight: 600;
  padding-block: 10px;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

html[data-skin][data-menu-color=dark] .side-nav .side-nav-item .side-nav-link .menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(219, 176, 156, 0.10);
  transition: background-color .2s ease, color .2s ease;
}

html[data-skin][data-menu-color=dark] .side-nav .side-nav-item .side-nav-link:hover,
html[data-skin][data-menu-color=dark] .side-nav .side-nav-item .side-nav-link:focus {
  color: #FFFFFF;
  background-color: rgba(176, 96, 62, 0.18);
}

html[data-skin][data-menu-color=dark] .side-nav .side-nav-item .side-nav-link:hover .menu-icon {
  background: rgba(219, 176, 156, 0.20);
  color: #F2C4AC;
}

html[data-skin][data-menu-color=dark] .side-nav .side-nav-item .side-nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(90deg, #B0603E 0%, #8A4529 100%);
  box-shadow: 0 6px 18px rgba(176, 96, 62, 0.38);
}

html[data-skin][data-menu-color=dark] .side-nav .side-nav-item .side-nav-link.active .menu-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

html[data-skin][data-menu-color=dark] .side-nav .sub-menu {
  position: relative;
  margin-inline-start: 26px;
  padding-inline-start: 14px;
  border-inline-start: 1px solid rgba(219, 176, 156, 0.22);
}

html[data-skin][data-menu-color=dark] .side-nav .sub-menu .side-nav-item .side-nav-link {
  border-radius: 10px;
  font-weight: 500;
  padding-block: 8px;
}

html[data-skin][data-menu-color=dark] .side-nav .sub-menu .side-nav-item .side-nav-link.active {
  background: rgba(176, 96, 62, 0.28);
  color: #FFFFFF;
  box-shadow: none;
}

html[data-skin][data-menu-color=dark] .side-nav .side-nav-item .side-nav-link .menu-arrow {
  opacity: .65;
}

html[data-skin][data-menu-color=dark] .sidenav-menu .button-on-hover .btn-on-hover-icon {
  background-color: #CBAFA3;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove {
  border-color: #8A4529;
}

[data-bs-theme=dark] .text-primary {
  color: rgba(212, 131, 94, var(--theme-text-opacity, 1)) !important;
}

.btn-ghost-primary {
  --theme-btn-disabled-color: #C9A18B;
}

:root,
html[data-skin] {
  --theme-font-sans-serif: "Alexandria", sans-serif;
  --theme-font-family-secondary: "Alexandria", sans-serif;
}
