@import url('/fonts/Basis Grotesque/stylesheet.css');

*, ::after, ::before {
  box-sizing: border-box;
}

body {
  margin: 0px !important;
  display: block;
}

:root {
    --font-family: 'Basis Grotesque Pro', sans-serif;
    --background: #E9EFF6;
    --text-color: #455468;
    --text-color-2: #8897AE;
    --line-color: #1C222B0D;
    --name-color: #1C222B;
    --text-hover: #FFFFFF;
    --background-hover:#137BF8;
    --background-main: #F9FAFB;
    --background-exit: #1C222B0D;
    --background-choose: #FFFFFF;
    --background-token: #ffffff;
    --history-text: #455468BF;
    --tarif-back: #E8F6FF;
    --tarif-frame: #E9EFF6;
    --filter-img: none;
    box-sizing: border-box;
}

[data-bs-theme="dark"] {
    --background: #202020;
    --text-color: #FFFFFF;
    --text-color-2: #CDCDCD;
    --line-color: #FFFFFF0D;
    --name-color: #FFFFFF;
    --background-main: #272727;
    --background-exit: #272727;
    --background-choose: #272727;
    --background-token: #202020;
    --history-text: #FFFFFFBF;
    --tarif-back: #272727;
    --tarif-frame: #FFFFFF0D;
    --filter-img: invert(1) brightness(2);
}

.back {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: var(--background);
    width: 100%;
}

.main {
  display: flex;
  flex-direction: column;
  background: var(--background-main);
  margin-top: 16px;
  margin-bottom: 16px;
  margin-left: 16px;
  border-radius: 16px;
  height: fit-content;
  overflow-x: hidden;
}

.burger-btn {
    display: none;
    filter: var(--filter-img);
}

.main-header {
    display: flex;
    align-items: center;
    height: 60px;
    width: auto;
    background: var(--background-choose);
    border-radius: 16px;
    border-bottom: 1px solid var(--background);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.main-text {
  display: flex;
  align-items: center;
  padding-left: 20px;
  width: 50%;
  flex: 1;
}

.main-text span{
  font-family: var(--font-family);
  color: var(--name-color);
  letter-spacing: -0.4px;
  font-size: 18px;
  width: fit-content;
}

.date-version {
  display: flex;
  width: 50%;
  padding-right: 20px;
  height: fit-content;
  justify-content: flex-end;
}

.date-version span {
  font-family: var(--font-family);
  color: var(--name-color);
  letter-spacing: -0.4px;
  font-size: 18px;
  width: fit-content;
}

.terms {
  margin: 20px;
  font-family: var(--font-family);
}

/* Заголовки */
h1, h2, h3 {
  color: var(--text-color-2);
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: bold;
}

h1 {
  font-size: 28px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

/* Абзацы */
p {
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--text-color);
}

/* Списки */
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
  color: var(--text-color);
}

/* Выделения */
strong {
  font-weight: 600;
  color: var(--text-color);
}

em {
  font-style: italic;
  color: #555;
}

/* Ссылки (если есть) */
a {
  color: #007acc;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}


.content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-right: 16px;
}

.footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 33px;
  margin-left: 16px;
}

.footer-org{
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 25%;
  height: fit-content;
}

.footer-org span{
  font-family: var(--font-family);
  color: var(--text-color);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  justify-content: flex-start;
}

.footer-polit{
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 85%;
  height: fit-content;
}

.footer-polit span{
  font-family: var(--font-family);
  color: var(--text-color);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  justify-content: flex-end;
}