* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  list-style-type: none;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: normal;
  letter-spacing: normal;
  color: var(--text-color);
}

input, select, textarea, button {
  font: inherit;
  color: inherit;
}

:root {
  --background-color: #131317;
  --text-color: rgb(225, 241, 255);
  --primary-color: #181818;
  --dark-gradient: linear-gradient(90deg, rgba(31, 30, 64, 1) 0%, rgba(24, 44, 65, 1) 100%);
  --outline-color: rgba(121, 121, 121, 0.9);
  --input-text: #797979;
  --input-color: #505052;
  --icon-color: rgba(255, 255, 255, 0.6);
  --confirm-color: #28EC80;
  --dropdown-color: #505052;
  --link-current: linear-gradient(90deg,
      rgba(79, 70, 229, 0.15) 0%,
      rgba(40, 148, 236, 0.15) 100%);
  --link-shadow: 1px 1px 4px 0px rgba(255, 255, 255, 0.25);
  --switch-color: rgba(48, 49, 54, 1);
  --accentcolor: #2894EC;
  --accentcolor2: #4F46E5;
}

[data-theme="light"] {
  --background-color: #c9d1d9;
  --text-color: rgba(0, 0, 0, 0.8);
  --primary-color: #f1f3f5;
  --outline-color: #131317;
  --input-text: rgba(0, 0, 0, 0.8);
  --input-color: #f1f3f5;
  --icon-color: rgba(0, 0, 0, 0.8);
  --confirm-color: #39b500;
  --dropdown-color: #f1f3f5;
  --link-current: linear-gradient(90deg,
      rgba(79, 70, 229, 0.5) 0%,
      rgba(40, 148, 236, 0.5) 100%);
  --link-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.25);
  --switch-color: rgba(48, 49, 54, 0.2);
}

::-webkit-scrollbar {
  width: 4px;
  height: 14px;
  background: none;
}

::-webkit-scrollbar-thumb {
  background-color: #a0a0a0;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #4f46e5;
}

::-webkit-scrollbar-thumb:active {
  background-color: #4f46e5;
}

.button-neon {
  --interval: 1s;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border-radius: 8px;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
  text-align: center;
  font-size: 20px;
  line-height: normal;
  letter-spacing: normal;
  background: transparent;
  border: 1px solid rgb(225, 241, 255);
  box-shadow: 0 0 4px 0 rgba(225, 241, 255, 0.8) inset, 0 0 4px 0 rgba(225, 241, 255, 0.8), 0 0 8px 0 rgba(40, 148, 236, 0.5) inset, 0 0 12px 0 rgba(40, 148, 236, 0.5), 0 0 24px 0 rgba(68, 91, 231, 0.5) inset, 0 0 24px 0 rgba(68, 91, 231, 0.5), 0 0 40px 0 rgba(79, 70, 229, 0.5) inset, 0 0 40px 0 rgba(79, 70, 229, 0.5);
  will-change: filter, color;
  animation: flicker steps(100) var(--interval) 1s infinite;
  transition: outline 0.3s ease;
}

.button-neon:hover {
  outline: 1px solid rgba(255, 241, 255, 0.5);
}

@keyframes flicker {
    50% {
        color: rgb(225, 241, 255);
        filter: saturate(100%) hue-rotate(10deg);
    }
}

.button-big {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  min-width: 120px;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
  color: white;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  max-height: 55px;
  transition: outline 0.3s ease, box-shadow 0.3s ease;
}

.button-big:hover {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 0px 10px 5px rgba(79, 70, 229, 0.25);
  max-height: 55px;
  cursor: pointer;
}

.button-big-gray {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid #797979;
  border-radius: 8px;
  min-width: 120px;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
  color: white;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  max-height: 55px;
  background-color: #505052;
  transition: outline 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.button-big-gray:hover {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  max-height: 55px;
  opacity: 1;
  cursor: pointer;
}

.button-small {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  min-width: 120px;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
  color: white;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  transition: outline 0.3s ease, box-shadow 0.3s ease;
}

.button-small:hover {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 0px 10px 5px rgba(79, 70, 229, 0.25);
  cursor: pointer;
}

.button-small-gray {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid #797979;
  border-radius: 8px;
  min-width: 120px;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
  color: white;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  background-color: #505052;
  transition: outline 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.button-small-gray:hover {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 1;
  cursor: pointer;
}

.button-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #797979;
  border-radius: 8px;
  width: fit-content;
  height: fit-content;
  cursor: pointer;
  color: white;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  background: #505052;
  transition: outline 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  opacity: 0.5;
}

.button-filter:hover {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 1;
  cursor: pointer;
}

.button-filter:active,
.button-filter:focus,
.button-filter.active {
  background: #505052;
  border: 1px solid rgba(121, 121, 121, 0.5);
  opacity: 1;
}


.button-help {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  color: #131317;
  background-color: #ffffff;
  padding: 12px 20px;
  cursor: pointer;
  width: max-content;
  font-weight: 500;
  transition: outline 0.3s ease, box-shadow 0.3s ease;
}

.button-help:hover {
  outline: 1px solid rgba(40, 148, 236, 0.5);
  box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

input {
  background: rgba(74, 74, 74, 0.6) !important;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #797979;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  transition: background-color 0.3s ease, box-shadow 0.3 ease, border 0.3 ease, color 0.3s ease;
}

input:focus {
  outline: none;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.2) 0%, rgba(40, 148, 236, 0.2) 100%) !important;
  border: 1px solid #2894EC80 !important;
  box-shadow: 0px 0px 10px 5px #4F46E540 !important;
  color: white;
}

/* input:focus::placeholder {
  color: white;
} */

textarea {
  background: rgba(74, 74, 74, 0.6) !important;
  padding: 17px 21px;
  border-radius: 5px;
  border: 1px solid #767676;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;

}

textarea:focus {
  outline: none;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.2) 0%, rgba(40, 148, 236, 0.2) 100%) !important;
  border: 1px solid #2894EC80 !important;
  box-shadow: 0px 0px 10px 5px #4F46E540 !important;
  color: white;
}

textarea:focus::placeholder {
  color: white;
}

/* .checkbox {
  background: rgba(74, 74, 74, 0.6);
  border-radius: 5px;
  border: 1px solid #797979;
  color: rgba(255, 255, 255, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3 ease, border 0.3 ease;
}

.checkbox:focus {
  outline: none;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.2) 0%, rgba(40, 148, 236, 0.2) 100%)!important; 
  border: 1px solid #2894EC80 !important;
  box-shadow: 0px 0px 10px 5px #4F46E540 !important;
  color: white;
} */

.checkbox {
  display: none;
}

.checkbox+.checkbox__label {
  display: block;
  height: 100%;
  width: auto;
  background: rgba(74, 74, 74, 0.6);
  border-radius: 4px;
  border: 1px solid #797979;
  text-align: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.checkbox:hover+.checkbox__label,
.checkbox:checked+.checkbox__label {
  outline: none;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.2) 0%, rgba(40, 148, 236, 0.2) 100%) !important;
  border: 1px solid rgba(40, 148, 236, 0.5) !important;
  box-shadow: 0 0 8px 2px rgba(79, 70, 229, 0.25) !important;
}

.checkbox+.checkbox__label:before {
  content: url(/static/img/tick.svg);
  height: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.checkbox:checked+.checkbox__label:before {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.checkbox__span {
  color: #797979;
}

.checkbox__span-required {
  color: #EC285C;
}

.button-checkmark {
  display: flex;
  height: 55px;
  width: 55px;
  align-items: center;
  justify-content: center;
  padding: 14px 11px;
  border-radius: 8px;
  background: rgba(74, 74, 74, 0.6);
  outline: 1px solid #2894ec;
  background-image: url("/static/img/settings/checkmark.svg");
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
}

.button-checkmark:hover {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 0px 10px 5px rgba(79, 70, 229, 1);
  cursor: pointer;
}

.button-remove-user {
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 12px;
  border-radius: 8px;
  background: none;
  outline: 1px solid #797979;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.button-remove-user:hover {
  opacity: 1;
  cursor: pointer;
}

.danger {
  background: none;
  border: 1px solid #EC285C;
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: outline 0.3s ease, opacity 0.3s ease;
}

/* .danger:hover {
  opacity: 1;
  outline: 1px solid #EC285C;
  box-shadow: none;
  
} */

.green {
  background: none;
  outline: 1px solid var(--confirm-color);
  transition: outline 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.green:hover {
  opacity: 1;
  outline: 1px solid var(--confirm-color);
  box-shadow: none;
  cursor: pointer;
}

.delete-project-button {
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 12px;
  border-radius: 8px;
  background: none;
  outline: 1px solid #EC285C;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.delete-project-button:hover {
  opacity: 1;
  cursor: pointer;
}


.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(to right,
      rgba(79, 70, 229, 1) 0%,
      rgba(40, 148, 236, 1) 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.back-to-top:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
}

select {
  background: rgba(74, 74, 74, 0.6);
  padding: 17px 21px;
  border-radius: 5px;
  border: 1px solid #767676;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
}

select:focus {
  outline: none;
  background: linear-gradient(to right,
      rgba(78, 70, 229, 0.15),
      rgba(79, 70, 229, 0.15));
  border: 1px solid #2894ec;
  box-shadow: 0px 0px 10px 5px rgba(79, 70, 229, 1);
  color: white;
}

select:focus::placeholder {
  color: white;
}

.dropdown {
  position: relative;
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  max-width: 195px;
  min-width: 195px;
  align-items: center;
  cursor: pointer;
  border: 1px solid #797979;

  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.dropdown:hover {
  opacity: 1;
  cursor: pointer;
}

.dropdown.active {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--dropdown-color);
  opacity: 1;
}

.dropdown-text {
  color: var(--text-color);
  font-size: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* padding: 12px 16px; */
}

.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 36px;
  left: -1px;
  width: calc(100% + 2px);
  background: var(--dropdown-color);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  /* border-radius: 5px; */
  display: none;
  flex-direction: column;
  z-index: 10;
  border: 1px solid #797979;
  border-top: none;
  box-sizing: border-box;
}

.dropdown.active .dropdown-menu {
  display: flex;
}

.dropdown-item {
  padding: 4px 16px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.dropdown-item:first-of-type {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.dropdown-item:last-of-type {
  padding-bottom: 12px;
}

.dropdown-item:hover {}

@media (max-width: 768px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 425px) {
  .button-neon {
    font-size: 16px;
  }
  
  .button-big {
    font-size: 16px;
    height: 50px;
  }

  .button-big:hover {
    height: 50px;
  }

  .button-checkmark {
    height: 50px;
    width: 50px;
  }

  input {
    font-size: 16px;
    height: 50px;
  }

  .back-to-top {
    width: 36px;
    height: 36px;
    bottom: 15px;
    right: 15px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }

  .footer-right-buttons .danger {
    justify-content: center;
  }
}

@media (max-width: 375px) {
  .button-big {
    font-size: 16px;
    height: 48px;
  }

  .button-big:hover {
    height: 48px;
  }

  input {
    font-size: 16px;
    height: 48px;
  }

  .footer-right-buttons .danger {
    min-width: 150px !important;
  }
}