/* Custom Scrollbar Styles */
/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #64664a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #52543c;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #64664a transparent;
}

/* Horizontal scrollbar */
::-webkit-scrollbar:horizontal {
  height: 8px;
}

/* Vertical scrollbar */
::-webkit-scrollbar:vertical {
  width: 8px;
}

.font-garamond {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.bg-tertiary {
  background-color: #2d3d30 !important;
}

.bg-tertiary-700 {
  background-color: #344837 !important;
}

.bg-secondary-50 {
  background-color: #f8f1ec !important;
}

.main-sidebar .sidebar {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 3.5rem);
}

.sidebar-menu-custom {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.sidebar-menu-custom .logout-menu {
  margin-top: auto !important;
}

.text-header-5xl {
  font-size: 53px !important;
  line-height: 1 !important;
}
.text-header-4xl {
  font-size: 45px !important;
  line-height: 1 !important;
}
.text-header-3xl {
  font-size: 29px !important;
  line-height: 1 !important;
}
.text-header-2xl {
  font-size: 26px !important;
  line-height: 1 !important;
}
.text-header-xl {
  font-size: 21px !important;
  line-height: 1 !important;
}
.text-header-lg {
  font-size: 18px !important;
  line-height: 1 !important;
}
.text-header-base {
  font-size: 17px !important;
  line-height: 1 !important;
}
.text-header-sm {
  font-size: 16px !important;
  line-height: 1 !important;
}
.text-header-xs {
  font-size: 14px !important;
  line-height: 1 !important;
}

.text-body-5xl {
  font-size: 50px !important;
}

.text-body-4xl {
  font-size: 40px !important;
}

.text-body-3xl {
  font-size: 32px !important;
}

.text-body-2xl {
  font-size: 25px !important;
}

.text-body-xl {
  font-size: 20px !important;
}

.text-body-lg {
  font-size: 16px !important;
}

.text-body-base {
  font-size: 13px !important;
}

.text-body-sm {
  font-size: 10px !important;
}

.text-body-xs {
  font-size: 8px !important;
}

/* Responsive Text Header Classes */
@media (min-width: 576px) {
  .sm-text-header-5xl {
    font-size: 53px !important;
    line-height: 1 !important;
  }
  .sm-text-header-4xl {
    font-size: 45px !important;
    line-height: 1 !important;
  }
  .sm-text-header-3xl {
    font-size: 29px !important;
    line-height: 1 !important;
  }
  .sm-text-header-2xl {
    font-size: 26px !important;
    line-height: 1 !important;
  }
  .sm-text-header-xl {
    font-size: 21px !important;
    line-height: 1 !important;
  }
  .sm-text-header-lg {
    font-size: 18px !important;
    line-height: 1 !important;
  }
  .sm-text-header-base {
    font-size: 17px !important;
    line-height: 1 !important;
  }
  .sm-text-header-sm {
    font-size: 16px !important;
    line-height: 1 !important;
  }
  .sm-text-header-xs {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .sm-text-body-5xl {
    font-size: 50px !important;
  }
  .sm-text-body-4xl {
    font-size: 40px !important;
  }
  .sm-text-body-3xl {
    font-size: 32px !important;
  }
  .sm-text-body-2xl {
    font-size: 25px !important;
  }
  .sm-text-body-xl {
    font-size: 20px !important;
  }
  .sm-text-body-lg {
    font-size: 16px !important;
  }
  .sm-text-body-base {
    font-size: 13px !important;
  }
  .sm-text-body-sm {
    font-size: 10px !important;
  }
  .sm-text-body-xs {
    font-size: 8px !important;
  }
}

@media (min-width: 768px) {
  .md-text-header-5xl {
    font-size: 53px !important;
    line-height: 1 !important;
  }
  .md-text-header-4xl {
    font-size: 45px !important;
    line-height: 1 !important;
  }
  .md-text-header-3xl {
    font-size: 29px !important;
    line-height: 1 !important;
  }
  .md-text-header-2xl {
    font-size: 26px !important;
    line-height: 1 !important;
  }
  .md-text-header-xl {
    font-size: 21px !important;
    line-height: 1 !important;
  }
  .md-text-header-lg {
    font-size: 18px !important;
    line-height: 1 !important;
  }
  .md-text-header-base {
    font-size: 17px !important;
    line-height: 1 !important;
  }
  .md-text-header-sm {
    font-size: 16px !important;
    line-height: 1 !important;
  }
  .md-text-header-xs {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .md-text-body-5xl {
    font-size: 50px !important;
  }
  .md-text-body-4xl {
    font-size: 40px !important;
  }
  .md-text-body-3xl {
    font-size: 32px !important;
  }
  .md-text-body-2xl {
    font-size: 25px !important;
  }
  .md-text-body-xl {
    font-size: 20px !important;
  }
  .md-text-body-lg {
    font-size: 16px !important;
  }
  .md-text-body-base {
    font-size: 13px !important;
  }
  .md-text-body-sm {
    font-size: 10px !important;
  }
  .md-text-body-xs {
    font-size: 8px !important;
  }
}

@media (min-width: 992px) {
  .lg-text-header-5xl {
    font-size: 53px !important;
    line-height: 1 !important;
  }
  .lg-text-header-4xl {
    font-size: 45px !important;
    line-height: 1 !important;
  }
  .lg-text-header-3xl {
    font-size: 29px !important;
    line-height: 1 !important;
  }
  .lg-text-header-2xl {
    font-size: 26px !important;
    line-height: 1 !important;
  }
  .lg-text-header-xl {
    font-size: 21px !important;
    line-height: 1 !important;
  }
  .lg-text-header-lg {
    font-size: 18px !important;
    line-height: 1 !important;
  }
  .lg-text-header-base {
    font-size: 17px !important;
    line-height: 1 !important;
  }
  .lg-text-header-sm {
    font-size: 16px !important;
    line-height: 1 !important;
  }
  .lg-text-header-xs {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .lg-text-body-5xl {
    font-size: 50px !important;
  }
  .lg-text-body-4xl {
    font-size: 40px !important;
  }
  .lg-text-body-3xl {
    font-size: 32px !important;
  }
  .lg-text-body-2xl {
    font-size: 25px !important;
  }
  .lg-text-body-xl {
    font-size: 20px !important;
  }
  .lg-text-body-lg {
    font-size: 16px !important;
  }
  .lg-text-body-base {
    font-size: 13px !important;
  }
  .lg-text-body-sm {
    font-size: 10px !important;
  }
  .lg-text-body-xs {
    font-size: 8px !important;
  }
}

@media (min-width: 1200px) {
  .xl-text-header-5xl {
    font-size: 53px !important;
    line-height: 1 !important;
  }
  .xl-text-header-4xl {
    font-size: 45px !important;
    line-height: 1 !important;
  }
  .xl-text-header-3xl {
    font-size: 29px !important;
    line-height: 1 !important;
  }
  .xl-text-header-2xl {
    font-size: 26px !important;
    line-height: 1 !important;
  }
  .xl-text-header-xl {
    font-size: 21px !important;
    line-height: 1 !important;
  }
  .xl-text-header-lg {
    font-size: 18px !important;
    line-height: 1 !important;
  }
  .xl-text-header-base {
    font-size: 17px !important;
    line-height: 1 !important;
  }
  .xl-text-header-sm {
    font-size: 16px !important;
    line-height: 1 !important;
  }
  .xl-text-header-xs {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .xl-text-body-5xl {
    font-size: 50px !important;
  }
  .xl-text-body-4xl {
    font-size: 40px !important;
  }
  .xl-text-body-3xl {
    font-size: 32px !important;
  }
  .xl-text-body-2xl {
    font-size: 25px !important;
  }
  .xl-text-body-xl {
    font-size: 20px !important;
  }
  .xl-text-body-lg {
    font-size: 16px !important;
  }
  .xl-text-body-base {
    font-size: 13px !important;
  }
  .xl-text-body-sm {
    font-size: 10px !important;
  }
  .xl-text-body-xs {
    font-size: 8px !important;
  }
}

.font-light {
  font-weight: 300 !important;
}
.font-normal {
  font-weight: 400 !important;
}
.font-medium {
  font-weight: 500 !important;
}
.font-semibold {
  font-weight: 600 !important;
}
.font-bold {
  font-weight: 700 !important;
}
.text-primary-color {
  color: #34352a;
}

.text-primary-400 {
  color: #9e9e7d;
}
.text-primary-800 {
  color: #414232;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/gotham/Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/gotham/GothamNarrow-Book.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/gotham/GothamNarrow-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

.font-gotham {
  font-family: "Gotham" !important;
}

.font-yrsa {
  font-family: "Yrsa" !important;
}

.button-primary {
  background-color: #34352a;
  color: #fff;
  border-radius: 0;
  padding: 10px 20px;
  letter-spacing: 1px;
  font-weight: normal;
  /* text-transform: uppercase; */
  border: none;
  cursor: pointer;
}

.button-primary-light {
  background-color: #e8e8df;
  color: #34352a;
  border-radius: 0;
  padding: 10px 20px;
  letter-spacing: 2px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.button-outline-primary {
  background-color: transparent;
  color: #34352a;
  border-radius: 0;
  padding: 10px 20px;
  letter-spacing: 2px;
  font-weight: 700;
  border: 1px solid #34352a;
}

.button-primary:hover {
  background-color: #4f503b !important;
  color: #fff;
}

.button-primary.disabled {
  background-color: #d4d3c2;
  color: #fff;
  cursor: not-allowed;
}
button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto #34352b;
}

.modern-stats-card {
  padding: 24px;
  border: 1px solid #d4d3c2;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.modern-stats-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.stats-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #6b8d6b 0%, #5a7a5a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stats-icon i {
  font-size: 24px;
  color: #ffffff;
}

.stats-icon-img {
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.stats-content {
  flex: 1;
}

.stats-title {
  font-size: 14px;
  color: #9e9e7d;
  margin: 0 0 8px 0;
  font-weight: 500;
  line-height: 1.2;
}

.stats-number {
  font-size: 28px;
  font-weight: 700;
  color: #414232;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.stats-change {
  display: flex;
  align-items: center;
  gap: 8px;
}

.change-label {
  font-size: 12px;
  color: #9e9e7d;
  font-weight: 400;
}

.change-percent {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
}

.change-percent.positive {
  background-color: #cee5b1;
  color: #065f46;
}

.change-percent.negative {
  background-color: #ffc9c8;
  color: #991b1b;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .modern-stats-card {
    padding: 20px;
    gap: 12px;
  }

  .stats-icon {
    width: 56px;
    height: 56px;
  }

  .stats-icon i {
    font-size: 20px;
  }

  .stats-number {
    font-size: 24px;
  }
}

.card-success-theme {
  color: #2d3d30;
  border-radius: 0;
  background-color: transparent;
  border: 1px solid #2d3d30;
}

.card.card-success-theme .card-header {
  background-color: #2d3d30;
  color: #fff;
  border-radius: 0;
  padding: 10px 20px;
}

.primary-input {
  border: none;
  padding: 15px;
  width: 100%;
  color: #b8b79e;
  color: #9E9E7D;
  background-color: #f4e8e0;
}

.primary-input::placeholder {
  color: #b8b79e;
}

.primary-input::-webkit-input-placeholder {
  color: #b8b79e;
}

.primary-input::-moz-placeholder {
  color: #b8b79e;
}

.primary-input:-ms-input-placeholder {
  color: #b8b79e;
}

.primary-input select,
select.primary-input {
  /*  padding-right: 60px;
    background-position: right 20px center; */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8b79e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 16px;
}

.primary-input:focus {
  outline: none;
  box-shadow: none;
  color: #828260;
}

/* Select2 özel stilleri - primary-input tasarımını korumak için */
.select2-container--default .select2-selection--single {
  border: none !important;
  padding: 15px !important;
  height: auto !important;
  background-color: #f4e8e0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #b8b79e !important;
  padding: 0 !important;
  line-height: normal !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: #b8b79e !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100% !important;
  right: 20px !important;
  top: 0 !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: #b8b79e transparent transparent transparent !important;
  border-style: solid !important;
  border-width: 5px 4px 0 4px !important;
  height: 0 !important;
  left: 50% !important;
  margin-left: -4px !important;
  margin-top: -2px !important;
  position: absolute !important;
  top: 50% !important;
  width: 0 !important;
}

.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: transparent transparent #b8b79e transparent !important;
  border-width: 0 4px 5px 4px !important;
}

.select2-container--default .select2-dropdown {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  background-color: #f4e8e0 !important;
}

.select2-container--default .select2-results__option {
  padding: 12px 15px !important;
  color: #64664a !important;
  border-top: 1px solid #868177;
  background-color: #f4e8e0 !important;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #e8ddd4 !important;
  color: #34352a !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #e8ddd4 !important;
  color: #34352a !important;
}

.select2-container {
  width: 100% !important;
}

/* Select2 focus durumu */
.select2-container--default.select2-container--focus
  .select2-selection--single {
  outline: none !important;
  box-shadow: none !important;
}

/* Select2 search box stilleri */
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: none !important;
  padding: 10px 15px !important;
  background-color: #f4e8e0 !important;
  color: #b8b79e !important;
  outline: none !important;
}

.select2-container--default
  .select2-search--dropdown
  .select2-search__field::placeholder {
  color: #b8b79e !important;
}

.image-upload {
  position: relative;
  max-width: 300px;
  margin: 50px auto;
}

.image-upload .image-edit {
  position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}

.image-upload .image-edit input {
  display: none;
}

.image-upload .image-edit input + label {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: 400;
  transition: all 0.2s ease-in-out;
}

.image-upload .image-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}

.image-upload .image-edit input + label:after {
  content: "\f040";
  font-family: FontAwesome;
  color: #757575;
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  margin: auto;
}

.image-upload .image-preview {
  width: 192px;
  height: 192px;
  position: relative;
  border: 1px solid #2d3d30;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.image-upload .image-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 0.1px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.error input.primary-input,input.error.primary-input, .error textarea.primary-input {
  border: 1px solid red;
}

/* Horizontal Scrollable Tabs */
.tabs-container {
  position: relative;
  width: 100%;
}

.tabs-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  /* padding-left: 50px; */
  padding-right: 50px;
}

.tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.tabs-wrapper .nav-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 0;
  min-width: 100%;
}

.tabs-wrapper .nav-tabs .nav-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.tabs-wrapper .nav-tabs .nav-link {
  white-space: nowrap;
}



.tabs-scroll-btn {
  position: absolute;
  top: 0;
  height: 100%;
  width: 40px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.tabs-scroll-btn.tabs-scroll-left {
  left: 0;
  background: transparent;
}

.tabs-scroll-btn.tabs-scroll-left:hover {
    background: transparent;
}

.tabs-scroll-btn.tabs-scroll-right {
  right: 0;
  background: transparent;
}

.tabs-scroll-btn.tabs-scroll-right:hover {
  background: transparent;
}

.tabs-scroll-btn i {
  color: #64664a;
  font-size: 16px;
}

.tabs-scroll-btn.hidden {
  opacity: 0;
  pointer-events: none;
}



/* Responsive */
@media (max-width: 768px) {
  .tabs-scroll-btn {
    width: 35px;
  }
}


.card-page-menu .nav-tabs.flex-column .nav-item.show .nav-link,
.card-page-menu .nav-tabs.flex-column .nav-link.active {
    background-color: #2d3d30;
    border-radius: 0px;
}

.card-page-menu .nav-tabs.flex-column .nav-item.show .nav-link input,
.card-page-menu .nav-tabs.flex-column .nav-link.active input {
    background-color: #2d3d30;
    color: #fff;
}

.form-container {
    border: 1px solid #2d3d30;
    padding: 10px 16px;
    margin-bottom: 16px;
}



.circle-fa-icon {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid #4F503B;
    border-radius: 50%;
    color: #34352A;
    font-size: 14px !important;
    line-height: 1;
}

.row-sub-menu-image .col-item-menu:first-child .actions i:not(.always)[data-action="up"],
.row-sub-menu .col-item-menu:first-child .actions i:not(.always)[data-action="up"] {
    display: none;
}

.row-sub-menu-image .col-item-menu:last-child .actions i:not(.always)[data-action="down"]
.row-sub-menu .col-item-menu:last-child .actions i:not(.always)[data-action="down"] {
    display: none;
}

.nav-menus-tab .nav-link.active .actions .circle-fa-icon {
    color: #fff;
    border-color: #fff;
}


/* CHECKBOX FIGMA DESIGN */

/* Hide the browser's default checkbox */
.cb-custom {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-family: 'Gotham' !important;
    line-height: 1.4;
    color: #34352A;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.cb-custom input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.cb-custom .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
    border: 2px solid #414232;
    background-color: transparent;
    border-radius: 3px;
}

.cb-custom .checkmark.sm-border {
	border-width: 1px;
}

.cb-custom:hover input~.checkmark {
	background-color: #ccc;
}

.cb-custom input:checked~.checkmark {
    background-color: #414232;
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.cb-custom input:checked~.checkmark:after {
	display: block;
}

.cb-custom .checkmark:after {
    left: 5px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cb-custom .checkmark.sm-border:after{
    left: 6px;
    top: 1px;
    width: 7px;
    height: 14px;
}

/* CHECKBOX FIGMA DESIGN END*/