body {
  /*  background-color: black;*/
  /*  color: white;*/

  /*disableSELECT*/
  /*  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;*/
}

.navbar {
  /*  background-color: #343a40!important;*/
}

.navbar-brand {
  /*  color:white;*/
}

/*//LOADER GİF*/
/*//Usage: <div class="lds-dual-ring"></div>*/
.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #000000;
  border-color: #000000 transparent #000000 transparent;
  /*  border: 6px solid #ffffff;*/
  /*  border-color: #ffffff transparent #ffffff transparent;*/
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.blink {
  animation: blinker 3s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.padding-lr0 {
  padding-left: 0px;
  padding-right: 0px;
}

.margin-lr0 {
  margin-left: 0px;
  margin-right: 0px;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden;
  /* Hidden by default. Visible on click */
  min-width: 250px;
  /* Set a default minimum width */
  margin-left: -125px;
  /* Divide value of min-width by 2 */
  background-color: #333;
  /* Black background color */
  color: #fff;
  /* White text color */
  text-align: center;
  /* Centered text */
  border-radius: 2px;
  /* Rounded borders */
  padding: 16px;
  /* Padding */
  position: fixed;
  /* Sit on top of the screen */
  z-index: 1;
  /* Add a z-index if needed */
  left: 50%;
  /* Center the snackbar */
  bottom: 30px;
  /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible;
  /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#snackbar.error {
  background-color: red;
}

#snackbar.success {
  background-color: green;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

.gg-copy {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 14px;
  height: 18px;
  border: 2px solid;
  margin-left: -5px;
  margin-top: -4px;
}

.gg-copy::after,
.gg-copy::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
}

.gg-copy::before {
  background: linear-gradient(to left, currentColor 5px, transparent 0) no-repeat right top/5px 2px,
    linear-gradient(to left, currentColor 5px, transparent 0) no-repeat left bottom/ 2px 5px;
  box-shadow: inset -4px -4px 0 -2px;
  bottom: -6px;
  right: -6px;
  width: 14px;
  height: 18px;
}

.gg-copy::after {
  width: 6px;
  height: 2px;
  background: currentColor;
  left: 2px;
  top: 2px;
  box-shadow: 0 4px 0, 0 8px 0;
}

@-webkit-keyframes blinker {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.blink {
  text-decoration: blink;
  -webkit-animation-name: blinker;
  -webkit-animation-duration: 0.8s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-direction: alternate;
}

.info-box {
  border-radius: 5px;
  color: #fff;
  box-shadow: 0 1px 2.94px 0.06px #041a3729;
  border: none;
  margin: 8px 0 8px;
  transition: all 0.3s ease-in-out;
  padding-top: 10px;
  padding-bottom: 10px;

  h4 {
    font-size: 1rem;
    font-weight: bold;
  }
}

.innerTableEditInput {
  width: 5rem;
}

.innerTableBtn {
  padding: 0.5rem;
  border: 1px solid black;
  /* font-size: 1rem; */
  min-width: 50px;
}

.bg-green {
  color: white;
  background: linear-gradient(45deg, #2ed8b6, #59e0c5);
}

.bg-blue {
  color: white;
  background: linear-gradient(45deg, #4099ff, #73b4ff);
}

.bg-red {
  color: white;
  background: linear-gradient(45deg, #ff5370, #ff869a);
}

.bg-orange {
  color: white;
  background: linear-gradient(45deg, #ff7e53, #ff9086);
}

.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
  font-weight: 700;
}

.alignEnd {
  align-content: end;
}

/* ===== Theme (Light/Dark) ===== */
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted-text: #444444;
  --surface: #f7f7f7;
  --border: #e2e2e2;
  --input-bg: #ffffff;
  --input-text: #111111;
}

.theme-dark {
  --bg: #121212;
  --text: #e5e5e5;
  --muted-text: #b5b5b5;
  --surface: #1e1e1e;
  --border: #2c2c2c;
  --input-bg: #1b1b1b;
  --input-text: #e5e5e5;
}

body {
  background-color: var(--bg);
  color: var(--text);
}

/* Links */
a {
  color: inherit;
}

a.nav-link {
  color: var(--text);
}

a.nav-link.active {
  font-weight: 700;
}

/* Navbar */
.navbar,
.navbar.bg-body-tertiary,
.navbar .dropdown-menu {
  background-color: var(--surface) !important;
  color: var(--text) !important;
}

.navbar .nav-link,
.navbar .navbar-brand,
.navbar .navbar-toggler-icon {
  color: var(--text) !important;
}

/* Cards, Tables, Modals, Dropdowns */
.card,
.table,
.modal-content,
.dropdown-menu,
.list-group-item {
  background-color: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.table thead th,
.table tbody td,
.table tbody th {
  border-color: var(--border) !important;
}

/* Forms */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background-color: var(--input-bg) !important;
  color: var(--input-text) !important;
  border-color: var(--border) !important;
}

.form-check-input {
  border-color: #666 !important;
}

.theme-dark .form-check-input {
  border-color: var(--border) !important;
}

/* Navbar brand logo background for dark theme */
.theme-dark .navbar-brand img {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 0 0 1px var(--border);
}

/* Snack */
#snackbar {
  background-color: #333;
  color: #fff;
}

#snackbar.error {
  background-color: #cc3333;
}

#snackbar.success {
  background-color: #2f8f46;
}

/* Theme toggle button minor spacing */
.theme-toggle-btn {
  margin-left: 8px;
}


/*DEV*/
.selected-day {
  background-color: rgba(255, 193, 7, 0.2) !important;
  border: 2px solid #ffc107 !important;
}

.autocomplete-wrapper {
  position: relative;
}

.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid var(--border);
  background-color: var(--surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  margin-top: 2px;
}

.autocomplete-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  text-align: left;
  transition: background-color 0.2s;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: rgba(255, 193, 7, 0.2);
}