@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;700&display=swap);

:root {
    --header-height: 70px;
    --sidebar-width: 250px;
    --bs-font-sans-serif: "Poppins", sans-serif;
    --bs-primary: #feee15;
    --bs-primary-hover: #fde000;
    --bs-primary-active: #fde000;
    --bs-secondary: #000;
    --bs-border-radius: 0;
    --bs-border-color-translucent: #eee;
}

html body{
  --white-bg: #fff;
  --white-bg-hover: #f5f5f5;
  --white-txt: #fff;
  --light-border-clr: #f9f9f9;
  --border-clr: #eee;
  --light-bg: #eee;
  --dark-txt: #333;
  --dark-txt2: #777;
  --black-txt: #000;
  --black-border: #000;
  --black-bg: #000;
  --black-o: 0, 0, 0;
}

html.dark-theme body{
  color-scheme: dark;

  --bs-body-bg: #1f1f1f;
  --bs-body-color: #d7d7d7;
  --bs-border-color: #404246;
  --bs-secondary-bg: #363a42;
  --bs-secondary-color: rgba(155, 161, 167, 0.75);
  --bs-tertiary-bg: var(--white-bg-hover);

  
  --white-bg: #1f1f1f;
  --white-bg-hover: #000000;
  --white-txt: #000;
  --light-border-clr: #292a2b;
  --border-clr: #4c5055;
  --light-bg: #4c5055;
  --dark-txt: #ededed;
  --dark-txt2: #aaa;
  --black-txt: #fff;
  --black-border: #fff;
  --black-bg: #fff;
  --black-o: 255, 255, 255;
}

html.dark-theme .card{
  --bs-card-border-color: #4c5055;
}

html.dark-theme .modal{
  --bs-border-color-translucent: #222222;
}


body, html {
    height: 100%;
    overflow-x: hidden;
    font-size: 12.5px;
}

hr {
    border-color: #aaa;
    margin: 2rem 0;
}

a {
    font-size: 1rem;
    text-decoration: none;
}

h1 {
    font-size: 2.5rem;
}

.loading-overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.loading-icon {
    height: 6rem;
}

.form-control {
    font-size: 13px;
    padding: 8px 11px;
    font-weight: 500;
    border-radius: 0;
}

.form-control:focus {
    box-shadow: 0 0 0 0.15rem var(--border-clr);
    border-color: var(--border-clr);
}

.authentication-page { 
    display: flex; align-items: center;
}

.authentication-page .card-body {
    padding: 3rem;
}


.SumoSelect {
  display: block;
  width: 100%;
}

.SumoSelect > .CaptionCont {
  width: 100%;
  border: 1px solid #ced4da !important;
  border-radius: 0;
}

.SumoSelect > .CaptionCont:hover {
  border-color: #ced4da;
}

.SumoSelect .search-txt {
  height: 100%;
  padding: 12px 15px !important;
  border-radius: 0 !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.SumoSelect .search-txt:focus {
  box-shadow: 0 0 0 0.15rem var(--border-clr);
  border-color: var(--border-clr);
}

.SumoSelect > .optWrapper {
  top: calc(100%) !important;
  /* max-height: 250px;
  overflow-y: auto; */
}

.SumoSelect > .optWrapper > .options {
  border-radius: 0;
  /* max-height: unset;
  height: fit-content; */
}

.SumoSelect > .optWrapper ul::-webkit-scrollbar, .SumoSelect > .optWrapper ul::-webkit-scrollbar{ background-color: var(--white-bg); width: 7px;}
.SumoSelect > .optWrapper ul::-webkit-scrollbar-thumb, .SumoSelect > .optWrapper ul::-webkit-scrollbar-thumb {
  border-radius: 0;
  background-color: var(--dark-txt2);
}


.SumoSelect.open > .CaptionCont, .SumoSelect:focus > .CaptionCont, .SumoSelect:hover > .CaptionCont {
  box-shadow: none;
}

.SumoSelect>.CaptionCont>span.placeholder {
  color: unset;
  font-style: unset;
  background: unset;
}


.SumoUnder {
  opacity: 1 !important;
}


.main-layout-wrapper {
    display: flex;
    height: 100%;
  }
  
  .app-sidebar {
    grid-area: sidebar;
    border-right: 1px solid var(--border-clr);
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.5s;
  }

  .app-sidebar-bg{ position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 99998; opacity: 0; transition: all .3s ease; pointer-events: none;}
  

  .app-sidebar__header {
    height: var(--header-height);
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 1px solid var(--border-clr);
    text-align: center;
  }
  
  .app-sidebar__header--logo {
    max-height: 100%;
    display: block;
  }
  
  .app-sidebar__header--logo img {
    height: 50px;
  }
  .dark-theme .app-sidebar__header--logo img{}

  .app-sidebar__header button{ font-size: 25px; background-color: transparent; padding: 0; border: none; outline: none; height: fit-content; line-height: 1;}
  
  
  .app-sidebar__body {
    flex: 1;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
  }
  
  .app-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--dark-txt);
  }
  
  .app-menu .app-menu__label {
    white-space: nowrap;
    overflow: hidden;
    margin-right: 0;
    text-overflow: ellipsis;
  }
  
  .app-menu a {
    color: inherit;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    transition: all 0.1s ease;
  }
  
  .app-menu a:hover {
    background-color: var(--white-bg-hover);
  }
  .app-menu a.active{
    background-color: var(--white-bg-hover);
    /* background-color: #000;
    color: var(--white-txt); */
  }
  
  .app-menu a i {
    font-size: 18px;
    margin-right: 0.5rem;
  }
  
  .app-menu a .dropdown-icon {
    margin-left: auto;
    font-size: 14px;
    transition: 0.4s;
  }
  
  .app-menu a  .info {
    --size: 20px;
    width: var(--size); height: var(--size); min-width: var(--size);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    font-size: 10px;
    margin-right: 0.5rem;
    background-color: var(--bs-danger);
    color: var(--bs-white);
  }
  
  .app-menu a.open .dropdown-icon {
    transform: rotate(90deg);
  }
  
  .app-menu__item {
    border-bottom: 1px solid var(--light-border-clr);
  }
  
  .app-menu .app-menu__item.active > a, .app-menu .app-sub-menu__item.active > a {
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  .app-menu .app-sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
  }
  
  .app-menu .app-sub-menu.level-2, .app-menu .app-sub-menu.level-3 {
    padding-left: 1.5rem;
  }
  
  .app-menu .app-sub-menu__item a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .app-content {
    flex: 1;
    grid-area: content;
    display: flex;
    flex-direction: column;
    transition: 0.4s;
    position: relative;
    width: 100%;
  }
  
  .app-header {
    height: var(--header-height);
    min-height: var(--header-height);
    border-bottom: 1px solid var(--border-clr);
    display: flex;
  }
  
  .app-header__items {
    height: 100%;
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  
  .app-header .app-header-item {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    cursor: pointer;
    position: relative;
  }
  
  .app-header .app-header-item--user {
    display: flex;
    align-items: center;
  }
  
  .app-header .app-header-item--user .user-avatar {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.75rem;
  }
  
  .app-header .app-header-item--user .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .app-header .app-header-item--user .user-name {
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
  }
  
  .app-header .app-header-item--user .user-name small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.5;
  }
  
  .app-header .app-header-item--dropdown-content {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    width: 200px;
    background-color: var(--white-bg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 999999999999;
    display: flex; flex-direction: column; gap: .5rem; padding: .5rem;
  }
  
  .app-header .app-header-item--dropdown-content.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .app-header .app-header-item--dropdown-content .dropdown-item {
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.4s;
    /* margin: 0.5rem; */
  }
  
  .app-header .app-header-item--dropdown-content .dropdown-item a {
    color: var(--dark-txt);
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    transition: 0.4s;
    border-radius: 0.25rem;
  }
  
  .app-header .app-header-item--dropdown-content .dropdown-item a i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
  }
  
  .app-header .app-header-item--dropdown-content .dropdown-item:hover a {
    background-color: var(--light-bg);
  }
  
  .app-header .app-header-item--dropdown-content .dropdown-divider {
    width: 100%;
    height: 1px;
    background-color: var(--light-bg);
  }
  
  .app-header .app-header-menu-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    width: 5rem;
  }
  
  .app-body {
    flex: 1;
    padding: 1rem 0;
    max-height: calc(100vh - var(--header-height));
  }
  

  .info-card {
    border-radius: 0;
    overflow: hidden;
    transition: 0.4s ease-in-out;
    position: relative;
    color: black;
  }
  
  .info-card .link-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  }
  
  .info-card__body {display: flex;justify-content: center;flex-direction: column;align-items: center;flex-wrap: wrap;min-height: 100px;position: relative;overflow: hidden;}
  
  .info-card__body .title {font-size: 2rem;line-height: 1;font-weight: 600;margin-bottom: 10px;position: relative;z-index: 2;}
  
  .info-card__body .description {font-size: 1rem;position: relative;z-index: 2;}
  
  .info-card__body .icon {font-size: 6rem;position: absolute;z-index: 0;opacity: 1;right: 15px;bottom: 10px;transition: 0.4s ease transform;color: #959595;}
  
  @media (max-width: 767px) {
    .info-card__body .icon {font-size: 0rem;}
    
  }
  
  .info-card:hover {
  background-color: #2e2e2e;
  color: white;
  }
  
  .info-card:hover .info-card__body .icon {
  transform: scale(1.5);
  color:white
  }
  
  .info-card__footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3px 10px;
  }
  
  .info-card__footer .link-label {
  font-size: 13px;
  font-weight: 500;
  }

  .card {
    border-radius: 0;
  }

  .card-header h5 {
    font-size: 1rem;
}
.okumamis-mesaj-bulunamadi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.okumamis-mesaj-bulunamadi .icon {
  font-size: 50px;
  color: var(--black-txt);
}
.okumamis-mesaj-bulunamadi .title {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--black-txt);
}
.okumamis-mesaj-bulunamadi .text {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--black-txt);
}

.mesaj-oku-table {
  width: 100%;
  border-collapse: collapse;
}
.mesaj-oku-table td {
  padding: 10px;
  border: 1px solid #ddd;
}
.mesaj-oku-table tr:nth-child(odd) {
  background-color: #f2f2f2;
}
.mesaj-oku-table tr:nth-child(even) {
  background-color: var(--white-bg);
}

.event-template-1 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-template-1 > * {
  letter-spacing: inherit;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 40px 1fr 100px;
}

.event-template-1 > * .img {
  display: flex;
  align-items: center;
}

.event-template-1 > * .img > div {
  --size: 30px;
  width: var(--size);
  height: var(--size);
  min-width: var(--size);
  overflow: hidden;
  border-radius: 50%;
}

.event-template-1 > * .img > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-template-1 > * .txt {
  display: flex;
  flex-direction: column;
}

.event-template-1 > * .txt strong {
  font-weight: 500;
}

.event-template-1 > * .txt p {
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 0;
}

.event-template-1 > * .status {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.event-template-1 > * .status > div {
  color: black;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 5px;
  width: fit-content;
  border-radius: 3px;
}

.browser-template-1 {
  display: flex;
  flex-direction: column;
}

.browser-template-1 > div {
  display: grid;
  grid-template-columns: 35px 1fr 60px 70px;
}

.browser-template-1 > div:not(:first-child) {
  padding-top: 12px;
}

.browser-template-1 > div:not(:last-child) {
  padding-bottom: 12px;
}

.browser-template-1.bordered > div:not(:last-child) {
  border-bottom: 1px solid var(--border-clr);
}

.browser-template-1 > div .icon {
  display: flex;
  align-items: center;
}

.browser-template-1 > div .icon img {
  width: 25px;
}

.browser-template-1 > div .txt {
  display: flex;
  flex-direction: column;
}

.browser-template-1 > div .txt strong {
  font-size: 1rem;
  font-weight: 500;
}

.browser-template-1 > div .txt span {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
}

.browser-template-1 > div .val {
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.browser-template-1 > div .percent {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.browser-template-1 > div .percent i {
  margin-right: 3px;
}

.bar-template-1 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bar-template-1 > div {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.bar-template-1 > div .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bar-template-1 > div .top strong {
  font-size: 1rem;
  font-weight: 500;
}

.bar-template-1 > div .top div {
  font-size: 0.8rem;
  font-weight: 400;
}

.bar-template-1 > div .top div i {
  margin-right: 5px;
}

.bar-template-1 > div .bar {
  background-color: var(--light-bg);
  width: 100%;
  height: 7px;
  border-radius: 20px;
  display: flex;
}

.bar-template-1 > div .bar > div {
  animation: progress-bar-stripes 1s linear infinite;
  background-image: linear-gradient( 45deg, rgba(255, 255, 255, 0.3) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.3) 75%, transparent 75%, transparent );
  background-size: 1rem 1rem;
  background-color: #fde000;
  height: 100%;
  border-radius: 20px;
  transition: width 0.6s ease;
  width: 0%;
}
.list-group-item
    {
        line-height: 2rem;
    }
    .list-group-item
    {
        border-radius:0 !important
    }
.btn { border-radius:0; }



@media (min-width: 1199px) {
  .app-sidebar__header button{ display: none;}
}

@media (max-width: 1199px) {

  .app-sidebar {
      position: fixed;
      top: 0;
      z-index: 99999;
      background-color: var(--bs-body-bg);
      transform: translateX(-100%);
      transition: all .3s ease;
  }

  .app-sidebar.open {
    transform: translateX(0);
  }

  .app-sidebar.open + .app-sidebar-bg{ opacity: 1; pointer-events: all;}
}


.list-group-item+.list-group-item {
  border-top-width: 1px !important;
}
.gallery-item img {
  height: 100px;
  object-fit: contain;
  width: 100%;
  background: #e7e7e7;
  padding: 0.5rem;
  cursor: all-scroll;
}

.gallery-item
{
  position: relative;
}

.gallery-item .btn-remove-image {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--white-bg);
  padding: 5px;
  cursor: pointer;
  color: #ff0000;
  font-size: 1rem;
  box-shadow: 0 0 5px rgba(0,0,0,.1);
}

.gallery-item .btn-remove-image:hover
{
  color: var(--white-txt);
  background: #ff0000;
}

.ajax-form.loading {
  position: relative;
}
.ajax-form.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 40%);
  z-index: 9999;
}
.ajax-form.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/view/assets/kodmarifet/img/loading.svg");
  z-index: 999;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70px;
}

table.dataTable>tbody>tr.child ul.dtr-details{ width: 100%;}
table.dataTable>tbody>tr.child ul.dtr-details>li{ display: flex; align-items: center; justify-content: space-between;}
table.dataTable>tbody>tr.child span.dtr-title{ min-width: unset;}

table.table.dataTable>:not(caption)>*>*,
#datatable thead tr td{ white-space: nowrap;}


.ozel-card {border: 1px solid #eee;padding: 1rem;position: relative;text-transform: uppercase;}
.ozel-card .image img { height: 300px; object-fit: scale-down; }
.ozel-card .kod {
    position: absolute;
    background: #f9f9f9;
    top: 10px;
    border: 1px solid #eee;
    padding: 5px;
    min-width: 60px;
    text-align: center;
    }
.ozel-card .sira {position: absolute;background: #000000;color: white;text-align: center;top: -8px;left: 50%;transform: translateX(-50%);padding: 1px 21px;}
.ozel-card .atolye {position: absolute;background: #f9f9f9;top: 10px;border: 1px solid #eee;padding: 5px;right: 20px;min-width: 60px;text-align: center;}
.ozel-card .gram {position: absolute;background: #f9f9f9;top: 50px;border: 1px solid #eee;padding: 5px;min-width: 60px;text-align: center;}
.ozel-card .adet {position: absolute;background: #f9f9f9;top: 50px;right: 20px;border: 1px solid #eee;padding: 5px;min-width: 60px;text-align: center;}

.loadtable.table thead td:first-child, .table tbody tr td:first-child {
  text-align: center;
  width: 40px;
}
.loadtable.table thead td:nth-child(3), .table tbody tr td:nth-child(3) {
  text-align: center;
  width: 300px;
}
.loadtable.table thead td:nth-child(4), .table tbody tr td:nth-child(4) {
  text-align: center;
  
}
.loadtable.table thead td:nth-child(5), .table tbody tr td:nth-child(5) {
  text-align: center;
  
}
.loadtable.table thead td:last-child, .table tbody tr td:last-child {
  text-align: center;
  width: 150px;
}

.loadtable .lang { width: 25px; cursor: pointer; }

.nav-tabs {
  background: var(--light-bg);
}

.nav-tabs .nav-link {
  padding: 1rem 2rem;
  font-size: 0.9rem;
  border: none;
  color: inherit;
  background-color: var(--light-bg);
  border-bottom: 0 solid transparent;
  border-bottom-width: 0;
  transition: all 0.4s;
  position: relative;
  color: var(--dark-txt2);
}

.nav-tabs .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  max-width: 0;
  transition: 0.4s ease;
  transform-origin: left;
  background-color: #cdcdcd;
  transform: translateX(-50%);
}

.action i {
  font-size: 16px;
  cursor: pointer;
  color: black;
}

.list-group-item+.list-group-item.active {margin-top: 0px !important;}

.nav-tabs .nav-link.active::after {
  max-width: 100%;
  background-color: #cdcdcd;
}

.nav-tabs .nav-link.active {
  background-color: transparent;
  color: var(--dark-txt);
}

.list-item-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  float: right;
}

.list-group {
  gap:5px;
  margin-top:5px
}


:focus-visible {
  outline: -webkit-focus-ring-color auto 0px;
}


.align-right{ display: flex; align-items: center; justify-content: flex-end; gap: 15px;}

/* SWITCH */
.switch {
  position: relative;
  display: flex;
  align-items: center;
}

.switch input {
  cursor: pointer;
  width: 0;
  height: 0;
  position: absolute;
}

.switch input::before {
  transition: all .2s ease;
  content: '';
  padding: 2px;
  display: inline-block;
  width: 34px;
  height: 19px;
  background-color: #e0e0e0;
  position: absolute;
  top: 0;
  transform: translateY(-50%);
}

.switch input::after {
  transition: all .2s ease;
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0px;
  transform: translateY(-50%);
  left: 2px;
  background-color: var(--white-bg);
}

.switch input:checked::before {
  background-color: #51b400;
}

.switch input:checked::after {
  left: 2px;
  transform: translateX(100%) translateY(-50%);
}



.input-wrapper-1{ display: flex; flex-direction: column;}
.input-wrapper-2{ display: flex; gap: 15px; align-items: center;}
.input-wrapper-2 .form-label{ margin: 0;}
.input-wrapper-3{ display: flex; gap: 30px; align-items: flex-end;}
.input-wrapper-3 .input{ width: 100%;}
.input-wrapper-3 .img{ --w: 250px; width: var(--w); min-width: var(--w);}
.input-wrapper-3 .img img{ height: 40px;}


.__2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px;}



.card-header{ display: flex; align-items: center; justify-content: space-between;}


.image-upload-box{ width: 120px; height: 120px; position: relative; background-color: #efefef; border-radius: 5px; padding: 1rem;}
.image-upload-box .image-action-button{ position: absolute; width: 20px; height: 20px; background-color: #dddddd; display: flex; color: black; justify-content: center; align-items: center; cursor: pointer; padding: 12px; font-size: 0.8rem;}
.image-upload-box .image-action-button i{ pointer-events: none;}
.image-upload-box .image-action-button:hover{ color: #007bff}
.image-upload-box .image-action-button.edit{ bottom: 0; right: 0;}
.image-upload-box .image-action-button.delete{ bottom: 0; left: 0;}
.image-upload-box img{ width: 100%; height: 100%; object-fit: contain; border: none !important; outline: none !important; pointer-events: none; border-radius: 5px;}
.image-upload-box input{ position: absolute; width: 0; height: 0; opacity: 0; top: 0; left: 0;}






/* BD TEMPLATES */
.bd-template-1{ display: grid; grid-template-columns: 1fr 1fr 1fr 80px; gap: 25px; border-bottom: 1px solid var(--bs-border-color-translucent);}
.bd-template-1 > div input{ width: 100%; border: none; outline: none; height: 100%;}
.bd-template-1 > div button{ font-size: 20px;}
.bd-template-1 .btns{ display: flex; justify-content: flex-end;}
.bd-template-1 .btns button.move{ border: none; outline: none;}
.bd-template-1 .btns button.move i{ font-size: .9em;}
.bd-template-1 .btns button.delete:hover{ background-color: var(--bs-red); color: var(--bs-white);}


.bd-wrapper-1{ display: flex; flex-direction: column;}




.langs-wrapper{ position: relative; z-index: 30; margin-right: 5px;}
.langs-wrapper .front{ width: fit-content; padding: 5px; border-radius: 999px; display: flex; gap: 5px; align-items: center; background-color: var(--white-bg); transition: all .2s ease; cursor: pointer; color: var(--black-txt);}
.langs-wrapper .front:hover{ background-color: rgba(var(--black-o), .07);}
.langs-wrapper .front img{ margin-right: 2px; height: 20px; border-radius: 50%; object-fit: cover; aspect-ratio: 1;}
.langs-wrapper .front i{ transition: all .2s ease;}
.langs-wrapper:has(.back.active) .front i{ transform: rotate(180deg);}
.langs-wrapper .back{ border: 1px solid var(--border-clr); border-radius: 3px; width: 100px; position: absolute; top: calc(100% + 30px); background-color: var(--white-bg); left: 50%; transform: translateX(-50%); z-index: 10; transition: all .2s ease; opacity: 0; pointer-events: none;}
.langs-wrapper .back.active{ top: calc(100% + 10px); opacity: 1; pointer-events: all;}
.langs-wrapper .back > button{ padding: 10px 5px 10px 15px; border-radius: 3px; display: flex; gap: 5px; align-items: center; background-color: var(--white-bg); transition: all .2s ease; cursor: pointer; width: 100%; transition: all .2s ease; color: var(--black-txt);}
.langs-wrapper .back > button:hover{ background-color: var(--white-bg-hover);}
.langs-wrapper .back > button:not(:last-child){ border-bottom: 1px solid var(--border-clr);}
.langs-wrapper .back > button img{ margin-right: 2px; height: 15px; border-radius: 50%; object-fit: cover; aspect-ratio: 1;}
.langs-wrapper button{ font-family: inherit; border: none; outline: none;}

.bd-theme-btn{ --space: 4px; --size: 20px; height: fit-content; background-color: rgba(var(--black-o), .075); display: flex; align-items: center; justify-content: center; border-radius: 999px; padding: var(--space); position: relative; outline: none; border: none; margin-left: auto; pointer-events: none;}
.bd-theme-btn::before{ content: ''; display: inline-block; width: var(--size); height: var(--size); top: var(--space); left: var(--space); position: absolute; background-color: #000; border-radius: 50%; transition: all .2s ease;}
.bd-theme-btn.active::before{ left: calc((100% - var(--size)) - var(--space));}
.bd-theme-btn > span{ width: var(--size); height: var(--size); min-width: var(--size); border-radius: 50%; display: inline-block; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; transition: all .2s ease;}
.bd-theme-btn.active > span:nth-child(1){ opacity: .75;}
.bd-theme-btn:not(.active) > span:nth-child(2){ opacity: .75;}
.bd-theme-btn > span svg{ fill: #000; transition: all .2s ease;}
.bd-theme-btn:not(.active) > span:nth-child(1) svg{ fill: #fff; transition: all .2s ease;}

.dark-theme .bd-theme-btn::before{ background: var(--white-bg);}
.dark-theme .bd-theme-btn > span:nth-child(1) svg{ fill: #fff;}
.dark-theme .bd-theme-btn > span:nth-child(2) svg{ fill: #fff;}

.dark-theme .loading-overlay {
  background: #000000ad;
}

.dark-theme .loading-icon {

  filter: invert(1);
}

.dark-theme .ajax-form.loading::before {
  background: #00000069;
}

.ozel-card hr {
  margin: 1rem;
  border-color: #fff;
}

.ozel-card:hover {
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.apexcharts-legend-text{ color: var(--dark-txt) !important;}
.SumoSelect>.CaptionCont{ background-color: var(--white-bg);}

.dark-theme .tox-tinymce{ filter: invert(.88);}

.dark-theme .form-switch .form-check-input{ --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255, 255, 255, 0.25)'/%3e%3c/svg%3e");}
.dark-theme .form-switch .form-check-input:checked{ --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255, 255, 255, 1)'/%3e%3c/svg%3e");}

.dark-theme .btn-close{ --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb(255, 255, 255)'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");}

.dark-theme .SumoSelect>.CaptionCont>label>i{ filter: invert(1);}
.SumoSelect > .CaptionCont{ border-color: var(--bs-border-color) !important;}
.SumoSelect>.optWrapper{ background: var(--white-bg); border: 1px solid var(--border-clr); box-shadow: 2px 3px 3px rgba(var(--black-o), .1);}
.SumoSelect>.optWrapper>.options li.opt{ border-color: rgba(var(--black-o), .1);}
.SumoSelect>.optWrapper>.options li.opt:hover{ background-color: rgba(var(--black-o), .1);}

div:where(.swal2-container) div:where(.swal2-popup){ background-color: var(--white-bg) !important; color: var(--dark-txt) !important;}

table.table.dataTable{ width: 100% !important;}


table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before{ border-left: 10px solid rgba(var(--black-o), .5);}
table.dataTable>tbody>tr.child span.dtr-title{ font-weight: 500;}
table.dataTable>tbody>tr.child ul.dtr-details>li{ border-color: var(--bs-border-color);}


.modal-open  {
  overflow: auto !important;
}

.ajax-search-container {
  position: relative;
}
.ajax-search-results {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: white;
    min-height: 301px;
    max-height: 301px;
    overflow-y: hidden;
    z-index: 999;
}

.ajax-search-results li {
  padding: 5px 15px;
  transition: 0.4s ease;
  cursor: pointer;
  background-color: #f9f9f9;
}

.ajax-search-results li:nth-child(even) {
  background-color: #fff;
}

.ajax-search-results li:hover {
  background-color: #eee;
}

.ajax-search-results li.active {
  background-color: #007bff;
  color: white;
}

.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single { background-color: #fff !important; border: 1px solid #dee2e6 !important; border-radius: 0 !important;}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #000 !important; line-height: 37.5px !important; }
.select2-container .select2-selection--single { box-sizing: border-box !important; cursor: pointer !important; display: block !important; height: 37.5px !important; user-select: none !important; -webkit-user-select: none !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { display:none }
.select2-dropdown {border: 1px solid #dee2e6 !important; min-height: 75px !important; border-radius: 0 !important; font-size: 13px !important;}
.select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid #dee2e6 !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #000 !important; line-height: 37.5px !important; font-size: 13px !important; }


.dark-theme .ozel-card {border: 1px solid #000000;padding: 1rem;position: relative;text-transform: uppercase;}
.dark-theme .ozel-card .image img { height: 300px; object-fit: scale-down; }
.dark-theme .ozel-card .kod {
    position: absolute;
    background: #000000;
    top: 10px;
    border: 1px solid #000000;
    padding: 5px;
    min-width: 60px;
    text-align: center;
    }
.dark-theme .ozel-card .sira {position: absolute;background: #000000;color: white;text-align: center;top: -8px;left: 50%;transform: translateX(-50%);padding: 1px 21px;}
.dark-theme .ozel-card .atolye {position: absolute;background: #000000;top: 10px;border: 1px solid #000000;padding: 5px;right: 20px;min-width: 60px;text-align: center;}
.dark-theme .ozel-card .gram {position: absolute;background: #000000;top: 50px;border: 1px solid #000000;padding: 5px;min-width: 60px;text-align: center;}
.dark-theme .ozel-card .adet {position: absolute;background: #000000;top: 50px;right: 20px;border: 1px solid #000000;padding: 5px;min-width: 60px;text-align: center;}
