* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;

  padding: 0px;
  margin: 0px;
}

:root {
  --background-light: #ffffff;
  --text-light: #000000;
  --background-dark: #121212;
  --text-dark: #ffffff;

  --small-logo-light: url("/img/logo_small_light.png");
  --small-logo-dark: url("/img/logo_small_dark.png");
  --desktop-logo-light: url("/img/logo_light.png");
  --desktop-logo-dark: url("/img/logo_dark.png");
}

[data-theme="light"] {
  --opacitybg: rgb(225 225 225 / 50%);
  --background: var(--background-light);
  --text: var(--text-light);
  --bglight: #e4e2e2;
  --bglightx: rgb(248 248 248);

  --textlight: #535252;
  --textlightx: #9e9c9c;
  --border: #e2e2e2;
  --textblue: #2c56c9;
  --textred: #955e5e;
  --textredlight: #ffcdcd;
  --textgreen: #4caf50;

  --shadow: #767676;
  --plan1: #c88188;
  --plan2: #7f7f7f;
  --plan3: #d0af00;

  --textmild: #00b386;
}

[data-theme="dark"] {
  --opacitybg: rgb(0 0 0 / 50%);
  --background: var(--background-dark);
  --text: var(--text-dark);
  --bglight: #333336;
  --bglightx: #212122;

  --textlight: #e3e3e3;
  --textlightx: #9e9c9c;
  --border: #2f2f2f;
  --textblue: #5986ff;
  --textgreen: #4caf50;

  --shadow: rgb(0, 0, 0);

  --plan1: #c88188;
  --plan2: #bcbcbc;
  --plan3: #ffc107;
  --textred: #e66363;
  --textredlight: #614545;
  --textmild: #00b386;
}

.main {
  position: relative;
  background: var(--bglightx);
  min-height: calc(100vh - 50px);
}
.container,
.main {
  visibility: hidden;
}
body {
  background-color: var(--background);
  color: var(--text);
}

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

.loader {
  border: 4px solid var(--text); /* Border color for the spinner */
  border-top: 4px solid transparent; /* Color of the spinner */
  border-radius: 50%; /* Makes it a circle */
  width: 32px;
  height: 32px;
  animation: rotate 2s linear infinite; /* 2 seconds for one complete rotation */
}
.loader-wrapper {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loader-wrapperx {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loaderx {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}

.loaderx div {
  position: absolute;
  border: 2px solid var(--textlight);
  opacity: 1;
  border-radius: 50%;
  animation: loaderx 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite; /* Adjust animation duration */
}

.loaderx div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes loaderx {
  0% {
    top: 20px;
    left: 20px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 20px;
    left: 20px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 20px;
    left: 20px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 40px;
    height: 40px;
    opacity: 0;
  }
}

body.modal-open {
  overflow: hidden;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition: background-color 0s 600000s, color 0s 600000s;
}

a {
  color: var(--textmild);
}

.container {
  border-radius: 5px;
  min-height: calc(100vh - 62px);
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
  padding-top: 55px;

  padding-right: 2px;
  padding-left: 2px;
}

h3.limitheader {
  font-size: 15px;

  padding-bottom: 10px;
  border-bottom: 1px solid var(--textredlight);
  text-align: center;
  margin: 0px;
  color: var(--textred);
}
.centerhalf {
  align-items: center;
  height: 60vh;
  display: flex;
  justify-content: center;
}
.center {
  margin: auto;
  text-align: center;
}
.bigfont {
  font-size: 24px;
}
.relative {
  position: relative;
}
.cssing {
  /* border-radius: 2px; */
  color: #6a6a6a;
  background: #ffffff;
  font-weight: 900;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  height: 28px;
  display: flex;
  width: 28px;
  margin-right: 10px;
  padding: 3px;
}
.imgsmall {
  padding: 3px;
  height: 28px;
  border-radius: 1px;
  background: #ffffff;
  width: 28px;
  margin-right: 10px;
}

span.timeleft {
  color: var(--textred);
}

.alert {
  width: 300px;
  text-align: center;
  margin: 0 auto;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-danger strong {
  font-size: 17px;
  border-bottom: 1px solid #d49595;
  color: #000;
}
.titlemain {
  font-family: "Arial", sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--textlight); /* Choose your preferred text color */
  text-align: center;
  padding: 2px;
  margin: 20px 0;
  border-radius: 5px;
  text-shadow: 0 spx 4px rgba(0, 0, 0, 0.1); /* Adjust shadow properties as needed */
  transition: box-shadow 0.3s ease; /* Add a smooth transition effect for the shadow */
}
img.lastimg {
  top: 5px;
  position: relative;
  height: 15px;
  width: 15px;
  opacity: 0.3;
  margin-right: 2px;
}
.lastimg {
  content: url("/img/png/last.png");
}

[data-theme="dark"] .lastimg {
  content: url("/img/png/last_dark.png");
}
.floatright {
  float: right;
}
.notouch {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.center {
  margin: auto;
  text-align: center;
}

.tooltip {
  position: fixed;
  padding: 4px;
  font-size: 12px;
  background-color: var(--background);
  color: var(--text);
  border-radius: 2px;
  z-index: 1000;
  border: 1px solid var(--textlightx);
}
.tooltip-before,
.tooltip-after,
.tooltip-center,
.tooltip-befores,
.tooltip-afters,
.tooltip-centers,
.tooltip-heat,
.tooltip-heats .tooltip-tree,
.tooltip-trees {
  position: absolute;
  top: 100%;
  border-width: 6px;
  border-style: solid;
  border-color: var(--textlightx) transparent transparent transparent;
}

.tooltip-centers,
.tooltip-afters,
.tooltip-befores,
.tooltip-heats {
  border-width: 4px;
  border-color: var(--background) transparent transparent transparent;
}
.tooltip-before {
  left: 7px;
}
.tooltip-befores {
  left: 9px;
}
.tooltip-after {
  right: 4px;
}
.tooltip-afters {
  right: 6px;
}

.tooltip-heat {
  right: 10px;
}
.tooltip-heats {
  right: 12px;
}
.tooltip-center {
  left: 30%;
}

.tooltip-centers {
  left: 31.5%;
}
.hiddens {
  visibility: hidden;
}
