:root {
    --header-height: 4rem;

    --main-bg: #d3e3fc;
    --header-bg: #77a6f7;
    --test-bg: #ffffff;
    --main-heading-color: #ffffff;
    --test-heading-color: #003e29;
    --text-color: #00887a;
    --red: #df4c73;
    --blue: #286fb4;
    --semi-white: #e2f0f9;
    --option-color: #00887a;
    --element-color: #1a7ca8;
    --grey-text: #555;
    --main-green: #18ad30;
    --admin-border-radius: 10px;
    --buttons-section-height: 5rem;
    --buttons-section-height-mobile: 10rem;
    --morph-shadow: 7px 7px 14px #373737, -7px -7px 14px #737373;
    --morph-shadow-hover: rgba(0, 0, 0, 0.25) 0 8px 15px;
  
    --bg-color: #192530;
    --bg-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%23162227' fill-opacity='0.5'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    --text-color-1: #fff;
    --text-color-2: #ccc;
    --text-color-3: #aaa;
    --grad-to-right: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    --ui-green: #77ff77;
  
    --text-inverse-color-1: #000;
    --text-inverse-color-2: #333;
    --text-inverse-color-3: #555;
  
    --text-secondary: #7a8ba3;
    --icon-color: #20589d;
    --green: #20ca8d;
    --header-scroll-bg: rgba(15, 15, 15, 0.3);
  
    --table-row-odd: rgba(255, 255, 255, 0.04);
    --table-row-even: rgba(255, 255, 255, 0.07);
    --table-header: linear-gradient(to bottom,
        lch(20 14 270 / 1),
        lch(20 14 270 / 1)
    );

    --toggler-btn: linear-gradient(to bottom,
      lch(20 14 270 / 0.5),
      lch(20 14 270 / 0.5)
    );
  
  
    --light-border-color: rgba(200, 200, 200, 0.1);
    --light-border-color-hover: rgba(200, 200, 200, 0.2);
    --btn-bg: linear-gradient(to bottom,
      lch(20 14 270 / 1),
      lch(20 14 270 / 1)
    );
    --btn-bg-hover: linear-gradient(to bottom,
      lch(22 16 270 / 1),
      lch(22 16 270 / 1)
    );
    --btn-color: #60bdff;
  
    --input-bg: hsla(0, 0%, 100%, 4%);
    --input-bg-focused: hsla(0, 0%, 100%, 7%);
    --input-border-color: hsla(0, 0%, 100%, 2%);
    --input-border-color-focused: hsla(0, 0%, 100%, 12%);
  
    --underline-grad: linear-gradient(to right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
  }
  
  body.light-theme {
    --bg-color: #ffffff;
    --bg-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%23a0e6ff' fill-opacity='0.1'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8h40V0h2v8h20v20h8V0h2v150zm-2 0v-28h-8v20h-20v8h28zM82 30v18h18V30H82zm20 18h20v20h18V30h-20V10H82v18h20v20zm0 2v18h18V50h-18zm20-22h18V10h-18v18zm-54 92v-18H50v18h18zm-20-18H28V82H10v38h20v20h38v-18H48v-20zm0-2V82H30v18h18zm-20 22H10v18h18v-18zm54 0v18h38v-20h20V82h-18v20h-20v20H82zm18-20H82v18h18v-18zm2-2h18V82h-18v18zm20 40v-18h18v18h-18zM30 0h-2v8H8v20H0v2h8v40h42V50h20V8H30V0zm20 48h18V30H50v18zm18-20H48v20H28v20H10V30h20V10h38v18zM30 50h18v18H30V50zm-2-40H10v18h18V10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    --text-color-1: #000;
    --text-color-2: #333;
    --text-color-3: #555;
    --grad-to-right: linear-gradient(to right, rgba(25, 25, 25, 0.8), rgba(25, 25, 25, 0.2));
    --ui-green: #059905;
  
    --text-inverse-color-1: #fff;
    --text-inverse-color-2: #ccc;
    --text-inverse-color-3: #aaa;
  
    --light-border-color: #a7b4c9;
    --light-border-color-hover: #778499;
    --btn-bg: #0056d2;
    --btn-color: #fff;
    --btn-bg-hover: #0048b0;
    --header-scroll-bg: rgba(230, 230, 230, 0.3);
  
    --table-row-odd: rgba(10, 10, 25, 0.04);
    --table-row-even: rgba(10, 10, 25, 0.07);
    --table-header: #9999ff;
  
    --input-bg: #fff;
    --input-bg-focused: #fff;
    --input-border-color: rgba(0, 0, 20, 0.15);
    --input-border-color-focused: rgba(0, 0, 20, 0.35);
  
    --underline-grad: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.05));
}

html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}


.theme-toggle.theme-toggle--reversed .theme-toggle__inner-moon {
    transform: scale(-1,1);
}

.errorlist {
    margin-top: 0.5rem;
    color: #aa7777;
}

.theme-toggle {
    --theme-toggle__inner-moon--duration: 500ms;
}

.theme-toggle__inner-moon path {
    transform-origin: center;
    transition: transform var(--theme-toggle__inner-moon--duration) cubic-bezier(0, 0, .15, 1.25);
}

.theme-toggle__inner-moon circle {
    transition: transform calc(var(--theme-toggle__inner-moon--duration) / 1.5) cubic-bezier(.4, 0, .2, 1);
}

.theme-toggle input[type=checkbox]:checked~.theme-toggle__inner-moon path,.theme-toggle--toggled:not(label).theme-toggle .theme-toggle__inner-moon path {
    transform: rotate(180deg);
}

.theme-toggle input[type=checkbox]:checked~.theme-toggle__inner-moon circle,.theme-toggle--toggled:not(label).theme-toggle .theme-toggle__inner-moon circle {
    transform: translate3d(15%,0,0);
}

.theme-toggle {
    border: none;
    background: 0 0;
    cursor: pointer;
}

.theme-toggle input[type=checkbox] {
    display: none;
}

.theme-toggle .theme-toggle-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

@media (prefers-reduced-motion:reduce) {
    .theme-toggle:not(.theme-toggle--force-motion) * {
        transition: none!important;
    }
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    background-image: var(--bg-image);
    color: var(--text-color-1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: relative;
}

.no-items-message {
  padding: 1rem;
}

.displayed-messages {
  position: fixed;
  pointer-events: none;
  width: 100%;
  max-width: 600px;
  padding: 1rem;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.displayed-messages .title {
  font-size: 1.2rem;
  font-weight: 500;
}
.displayed-messages .description {
  font-size: 1rem;
}

.alert {
  position: relative;
  margin: 1rem;
  transition: opacity 0.3s ease;
}

.alert-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0,0,0,0.1);
}

.alert-progress-bar {
  width: 100%;
  height: 100%;
  background-color: #007bff;
  transition: width 5s linear;
}

.displayed-messages .alert {
  pointer-events: all;
  color: #eef;
  position: relative;
  border-radius: 4px;
  padding: 1rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.65);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.alert .btn-close {
  height: 2rem;
  width: 2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.7rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: #fff;
}

.displayed-messages .progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: blue;
  width: 100%;
}

ul {
    list-style-type: none;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

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

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

#root, #__next {
    isolation: isolate;
}

[v-cloak] {
    display: none;
}

.flex-row-end {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.flex-row-start {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

h1 {
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-color-2);
  font-size: 1.8rem;
}

.wrapper {
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header, .footer {
    position: relative;
    background-color: var(--bg-color);
    background-image: none;
}

footer {
  text-align: center;
}

footer::before {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    height: 1px;
    background: var(--underline-grad);
}

.header-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    width: 100%;
}

.header {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-weight: 400;
    font-style: normal;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 5px 0 rgba(31, 38, 135, 0.2);
    transition: background-color 0.2s ease;
}

.header::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 1px;
    background: var(--underline-grad);
}

.main {
    flex: 1;
    padding-bottom: 2rem;
    width: 100%;
    position: relative;
}

.header-list {
    display: flex;
    padding: 0;
    align-items: center;
    gap: 0.3rem;
}

.header-list__link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: var(--text-color-1);
  font-size: 1rem;
  text-align: center;
  transition: 0.2s;
}

.header-list__link:hover {
  background-color: hsla(215.38, 16.32%, 46.86%, 8%);
}
  
.header-list__link i {
    padding-left: 0.5rem;
}

.header-list__theme-toggle-container {
    padding: 0.5rem 1rem;
}

.header-icons__toggle-button {
    display: none;
    position: relative;
    cursor: pointer;
    width: 32px;
    height: 22px;
}
  
.header-icons__toggle-button span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--text-color-1);
}
  
.header-icons__toggle-button span:first-child {
    top: 0;
    transition: all 0.3s ease-in-out;
    transform-origin: center center;
}
  
.header-icons__toggle-button span:nth-child(2) {
    bottom: 0;
    transition: all 0.25s;
}
  
.header-icons__toggle-button span:nth-child(3) {
    top: calc(50% - 2px);
    transition: all 0.3s ease-in-out;
    transform-origin: center center;
}
  
.header-icons__toggle-button_active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}
  
.header-icons__toggle-button_active span:nth-child(2) {
    width: 0;
    opacity: 0;
}
  
.header-icons__toggle-button_active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.header-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: flex-start;
    color: var(--text-color-2);
    max-width: 500px;
}

.form-centered {
    margin: 0 auto;
}

.form-wide {
    margin: 0;
    max-width: unset;
}

.form__groups-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
}

.form__group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.1rem;
}


.text-link {
    font-style: italic;
    color: #60a5fa;
    text-decoration: none;
    border-bottom: 1px solid #60a5fa;
    padding-bottom: 0;
}

.text-link:hover {
    color: #70b5ff;
    border-bottom: 1px solid #70b5ff;
}

.main-btn {
  background-color: var(--btn-bg);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--btn-bg);
  padding: 12px 32px;
  border: none;
  outline: none;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  z-index: 0;
}

.main-btn_small {
  padding: 0.3rem 0.6rem;
  font-weight: 400;
  font-size: 0.7rem;
  min-width: 5rem;
}

.tbl-btn {
  display: inline-block;
  width: 5rem;
  padding: 0.3rem 0.6rem;
}

.tbl-btn:not(:last-of-type) {
  margin-bottom: 0.5rem;
}

.main-btn:disabled {
  opacity: 0.5;
  cursor: initial
}

.main-btn_wide {
  width: 100%;
}

.main-btn_page {
  font-size: 0.7rem;
  padding: 0.4rem 0.9rem;
}

.main-btn_search {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 10rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.main-btn__content {
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0px 1px 0px hsla(0, 0%, 100%, 15%);
  color: var(--btn-color);
  position: relative;
  z-index: 2;
}

.main-btn::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background-origin: border-box;
  border-radius: inherit;
  background-image: var(--btn-bg);
  border: 0px solid hsla(0, 0%, 100%, 10%);
  z-index: 1;
}

.main-btn:not(:disabled):hover {
  background-color: var(--btn-bg-hover);
  box-shadow: 0 0 4px #0000001a;
}

.main-btn:not(:disabled):hover::before {
  background-image: var(--btn-bg-hover);
  border-width: 1px;
}

.field-container {
    width: 100%;
}
  
.field-container label {
    display: block;
    margin-bottom: 0.5rem;
}

.form__text-input, .form__select, .search__input {
    outline: none;
    background: var(--input-bg);
    border-radius: 4px;
    border: 1px solid var(--input-border-color);
    padding: 0.5rem 0.7rem;
    color: var(--text-color-1);
    width: 100%;
}

.search__input_padded {
  padding-left: 11rem;
}

.form__select option {
  color: #111;
}

.form__text-input:focus, .form__select:focus {
  border: 1px solid var(--input-border-color-focused);
  background: var(--input-bg-focused);
}

.word-area {
    resize: vertical;

}

.words-widget__file-label {
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
}

.words-widget__file-label .main-btn__content {
    text-transform: lowercase;
}

.words-widget__file-label i {
    font-size: 1.1rem;
    padding-right: 0.8rem;
}

.words-widget__file-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    gap: 1rem;
}

.words-widget__count-bar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    background-color: rgba(255, 255, 255, 0.1);
    gap: 1rem;
    border-radius: 4px;
}

.count-bar__button {
    background-color: rgba(100, 100, 200, 0.1);
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    cursor: pointer;
}

.count-bar__button:hover {
    background-color: rgba(150, 150, 250, 0.1);
    color: #fff;
}

.query-lists-container,
.project-lists-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.query-list-wrapper {
    flex: 1 0 calc(33.3333% - 1rem);
    min-width: 20rem;
}

.project-list-wrapper {
  flex: 1 0 calc(33.3333% - 1rem);
  min-width: 20rem;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 12rem;
  padding: 1rem;
  border-radius: 5px;
  opacity: 0.85;
  color: var(--text-color-1);
  background: rgba(11, 15, 20, 0.22);
  border: 1px solid var(--light-border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  background: radial-gradient(550px circle at 300px 200px, hsla(211, 96%, 78%, 5%), hsla(211, 96%, 78%, 0%));
  cursor: pointer;
  text-decoration: none;
}

.card:not(.card_with-sidebar):hover {
  background: radial-gradient(550px circle at 300px 200px, hsla(211, 96%, 78%, 10%), hsla(211, 96%, 78%, 0%));
}  

.card__top {
  width: 100%;
  height: 100%;
  text-decoration: none;
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.card__top:hover {
  border: 1px solid var(--input-border-color-focused);
}

.card__title {
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.card__top:hover .card__title {
  border-color: var(--input-border-color-focused);
}

.card__bottom {
  width: 100%;
}

.card__title {
  font-size: 1.4rem;
  color: var(--text-color-1);
  text-align: left;
  font-family: inherit;
}

.card__description {
  color: var(--text-secondary);
}

.card__stats, .card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.card__tags {
  margin-bottom: 1rem;
}

.card__tags span {
  border-radius: 5px;
  padding: 6px 10px;
  background-color: rgba(10, 10, 100, 0.1);
  border: 1px solid var(--light-border-color);
}

.card__stat {
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
  
.card__stat i {
  color: rgba(150, 150, 255, 0.9);
}

.breadcrumbs {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.breadcrumbs__crumb {
  color: var(--text-color-2);
  text-decoration: none;
  padding: 0.2rem;
}

.breadcrumbs__crumb:hover {
  color: var(--text-color-1);
}

.btn-icon {
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.3rem;
    color: #bcf;
    cursor: pointer;
}

.btn-icon:hover {
  color: #ddf;
}

.btn-run-list {
  margin-top: 1rem;
  padding: 0.3rem 1rem;
  width: 90%;
  border-radius: 5px;
  background-color: #bcf;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: #222;
  cursor: pointer;
}

.btn-run-list:disabled {
  opacity: 0.6;
  cursor: initial;
}

.btn-run-list:not(:disabled):hover {
  background-color: #ddf;
}

.card_with-sidebar {
    padding-right: 3rem;
    position: relative;
    cursor: initial;
}

.card__sidebar {
    position: absolute;
    top: 0;
    right:0;
    bottom: 0;
    width: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.tabs {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
  }
  
  .tabs__underline {
    position: absolute;
    bottom: 0;  
    height: 1px;
    background-color: #142baf;
    transition: transform 0.3s ease, width 0.1s ease;
  }
  
  .tabs__tablink {
    overflow-x: hidden;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-color-3);
    background-color: transparent;
    font-size: 0.9rem;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.6rem 1px;
    transition: 0.3s;
  }
  
  .tabs__tablink-count {
    font-size: 0.8rem;
    background-color: var(--text-inverse-color-3);
    padding: 2px 5px;
    color: var(--text-color-2);
    border-radius: 5px;
    width: 3rem;
    text-align: center;
  }
  
  .tabs::before {
    content: "";
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e2e8f0;
    position: absolute;
    right: 0rem;
    bottom: 0rem;
    left: 0rem;
    top: auto;
    height: 1px;
    background: hsla(0,0%,100%,15%);
  }
  
  .tabs__tablink:hover {
    color: var(--text-color-2);
  }
  
  .tabs__tablink_active {
    color: var(--text-color-1);
  }
  
  .tabcontent {
    padding: 1rem 0;
  }
  
  .tabcontent__content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
  }
  
  .tabcontent__content_noflex {
    display: block;
    flex-wrap: unset;
    gap: unset;
  }
  
  .tabcontent__content-header {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  
  .tabcontent__content-sub-header {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-color-1);
    opacity: 0.9;
  }
  
  .table-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.2rem;
    border: 2px solid var(--input-border-color-focused);
  }
  
  .table-list__row {
    width: 100%;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    padding-right: 0.5rem;
  }
  
  .table-list__row:not(.table-list__header):hover {
    border-color: var(--input-border-color-focused);
  }
  
  .table-list__row:not(.table-list__header):nth-child(odd) {
    background-color: var(--table-row-odd)
  }
  
  .table-list__row:not(.table-list__header):nth-child(even) {
    background-color: var(--table-row-even);
  }
  
  .table-list__header {
    top: 0;
    background: var(--btn-bg);
    position: sticky;
    border-bottom: 1px solid var(--input-border-color-focused);
  }
  
  .table-list__row-inner-wrapper {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    max-width: 1100px;
  }
  
  .table-list__col {
    flex: 1;
  }
  
  .table-list__header-col {
    font-weight: bold;
    color: #eef;
  }
  
  .table-list__header-col i {
    font-weight: bold;
    color: var(--btn-color);
  }

.search {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    width: 100%;
}

.search__icon {
    padding: 0.5rem 0.7rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border-color);
    color: var(--text-color-1);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.forms-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.forms-container > * {
  flex: 1;
}

.logo-link {
  text-decoration: none;
}

.table-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  margin: 2rem 0;
  width: 100%;
}


.table {
  width: 100%;
  max-width: 950px;
  border-collapse: collapse;
  border: 1px solid var(--input-border-color-focused);
}

.table th, .table td {
  border: 1px solid var(--input-border-color-focused);
  padding: 0.5rem;
  text-align: left;
}

.table tr:not(.table__head-row):nth-child(odd) {
  background-color: var(--table-row-odd)
}

.table__percent {
  display: inline-block;
  width: 4rem;
}

.table__percent-diff {
  opacity: 0;
}

.percent_down, .percent_down_rev {
  opacity: 1;
  color: var(--red);
}

.percent_down_rev {
  color: var(--green);
}

.percent_down::after, .percent_down_rev::after {
  content: '\e097';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
  padding-left: 0.3rem;
}

.percent_up, .percent_up_rev {
  opacity: 1;
  color: var(--green);
}

.percent_up_rev {
  color: var(--red);
}

.percent_up::after, .percent_up_rev::after {
  content: '\e098';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
  padding-left: 0.3rem;
}

.pagination {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.pagination-text {
  padding: 1rem;
  font-size: 1.1rem;
  text-align: center;
}

.simplebar-scrollbar::before {
  background: var(--text-color-2);
}

.data-table-wrapper {
  overflow: auto;
  max-height: max(200px, 80vh);
}

.data-table {
  width: 100%;
  border: 1px solid var(--input-border-color-focused);
  border-collapse: collapse;
  position: relative;
}

.data-table-td, .data-table-th {
  border: 1px solid var(--input-border-color-focused);
  padding: 0.5rem 0.8rem;
  text-align: center;
  vertical-align: top;
}

.data-table-headrow {
  background: var(--table-header);
  position: sticky;
  top: -1px;
  border-bottom: 1px solid var(--input-border-color-focused);
  z-index: 10;
}

.data-table-th {
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.data-table-row:nth-child(odd) {
  background-color: var(--table-row-odd);
}

.data-table__dots {
  width: 100%;
  max-width: 5rem;
  padding: 0.2rem;
  border: none;
  outline: none;
  border-radius: 1rem;
  background-color: var(--btn-color);
  margin-bottom: 0.5rem;
}

/* checkbox selector start */
.header-selector {
  position: relative;
  width: 20rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.header-selector__trigger {
  cursor: pointer;
  position: relative;
  width: 100%;
}

.header-selector__selected {
  padding: 10px 40px 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: var(--input-bg);
  font-size: 14px;
  color: var(--text-color-1);
  transition: border-color 0.2s;
  position: relative;
  width: 100%;
}

.header-selector__selected:hover {
  border-color: var(--input-border-color-focused);
}

.header-selector__arrow {
  width: 16px;
  height: 16px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  fill: #666;
  transition: transform 0.2s;
}

.header-selector__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
}

.header-selector__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-selector__list {
  padding: 8px 0;
}

.header-selector__option {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.1s;
  position: relative;
}

.header-selector__option:hover {
  background: #f8f9fa;
}

.header-selector__checkbox {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.header-selector__checkbox::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.header-selector__option input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.header-selector__option input:checked ~ .header-selector__checkbox {
  background: #007bff;
  border-color: #007bff;
}

.header-selector__option input:checked ~ .header-selector__checkbox::after {
  opacity: 1;
}

.header-selector__label {
  font-size: 14px;
  color: #333;
  user-select: none;
}

/* Кастомный скроллбар */
.header-selector__dropdown::-webkit-scrollbar {
  width: 8px;
}

.header-selector__dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.header-selector__dropdown::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.header-selector__dropdown::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
/* checkbox selector end */

.tabs {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.tabs__underline {
  position: absolute;
  bottom: 0;  
  height: 2px;
  background-color: #142baf;
  transition: transform 0.3s ease, width 0.1s ease;
}

.tabs__tablink {
  overflow-x: hidden;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-color-3);
  background-color: transparent;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.7rem 1px;
  transition: 0.3s;
}

.tabs__tablink_active .tabs__tablink-count {
  background-color: #142baf;
}

.tabs::before {
  content: "";
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e2e8f0;
  position: absolute;
  right: 0rem;
  bottom: 0rem;
  left: 0rem;
  top: auto;
  height: 1px;
  background: hsla(0,0%,100%,15%);
}

.tabs__tablink:hover {
  color: #647bff;
}

.tabs__tablink_active {
  color: #647bff;
}

.modal-backdrop {
  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.45);

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1200; 
}

.modal {
    width:90%;
    max-width: 1000px;
    min-height: 100px;
    border-radius: 6px;
    padding: 1.5rem 1rem;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: lch(9.2 3.1 267.3 / 85%);
    box-shadow: inset 0 0 0 .5px #ffffff1a, 0 5px 60px #0006;
    z-index: 1300;
}

.modal__h3 {
  font-weight: 400;
  font-size: 1rem;
}

.modal__h3_flexed {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 12rem;
}

.modal__h2 {
  font-weight: 500;
  font-size: 1.1rem;
}

.modal__h2_blue {
  color: #60a5fa;
  font-weight: 400;
  font-size: 1.1rem;
}

@media screen and (max-width: 992px) {
  .form__groups-wrapper {
    flex-direction: column;
  }

  .forms-container {
    flex-direction: column;
  }

  .widgets-wrapper {
    width: 100%;
  }

  .form__group {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
    .header-icons__toggle-button {
      display: block;
    }
  
    .header-list__link::after {
      opacity: 0;
    }
  
    .header-wrapper {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .header-list__theme-toggle-container {
      padding: 0.5rem 1rem;
      padding-bottom: 1rem;
    }
  
    .header-list__link {
      padding: 5px 10px;
    }
  
    .header-icons {
      width: 100%;
      justify-content: space-between;
    }
  
    .header-list {
      display: none;
    }
  
    .header-list_active {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: center;
      justify-content: center;
    }
}
