@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Cute+Font&family=Prosto+One&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --neutral-bg: #f0f0f0;
  --neutral-text: #333333;
  --maxWidth: 870px;
  --bigShadow: none;
  --contentContainerBackground: #bebebe;
  --lightBackground: rgb(255 255 255 / 0.85);
  --itemUp: itemUp 0.6s;
  --itemJump: itemJump 0.6s;
  --colorBuy: #00fe00;
  --colorSell: #ff001a;
    /* Цвета кнопок главного меню */
  --color-dark-text: #262b2b;
  --color-light: #f8f9fa;
  --color-black: #000;
  --color-outline-info: #28a6e4;
  --color-red: #fc4f4f;
  --color-violet: #b76fff;
  --color-darkblue: #0273ff;
  --color-greenyellow: #97f805;
  --color-yellow: #e0e00e;
  --color-orange: #ffa500;
  --color-green: #00cc30;
  --color-success: #4aff34;
  --color-success-dark: #1c7430;
  --color-success-text: #032b0c;
  --color-greeting: #9484ff;
    /* Цвета фона кнопок главного меню */
  --color-greeting-bg: #c1b7ff;
  --color-green-bg: #89ffa5;
  --color-orange-bg: #ffd17a;
  --color-yellow-bg: #ffff92;
  --color-greenyellow-bg: #cbfc83;
  --color-darkblue-bg: #85bbfd;
  --color-violet-bg: #d8b2ff;
  --color-red-bg: #fcadad;
  --color-outline-info-bg: #7bd3ff;
  --color-outline-dark-bg: #f8f9fa9a;
  --color-happy-calc-result-bg:#e1e2e2;
}

.dark {
  --neutral-bg: #202020;
  --neutral-text: #f5f5f5;
  --contentContainerBackground: #2c2c2c;
   /* Цвета кнопок главного меню */
  --color-dark-text: #262b2b;
  --color-light: #f8f9fa;
  --color-black: #000;
  --color-outline-info: #28a6e4;
  --color-red: #ef3b3b;
  --color-violet: #ae5dfd;
  --color-darkblue: #0273ff;
  --color-greenyellow: #adff2f;
  --color-yellow: #ffff00;
  --color-orange: #ffa500;
  --color-green: #00dd33;
  --color-success: #4aff34;
  --color-success-dark: #1c7430;
  --color-success-text: #032b0c;
  --color-greeting: #9484ff;
    /* Цвета фона кнопок главного меню */
  --color-greeting-bg: #1f194366;
  --color-green-bg: #00310c66;
  --color-orange-bg: #37230066;
  --color-yellow-bg: #35350066;
  --color-greenyellow-bg: #20350066;
  --color-darkblue-bg: #00224d66;
  --color-violet-bg: #2d045766;
  --color-red-bg: #35000066;
  --color-outline-info-bg: #002c4266;
  --color-outline-dark-bg: #4b4b4b;
  --color-happy-calc-result-bg:#4b4b4b;
}

/** СБРОС ВСТРОЕННЫХ СТИЛЕЙ **/
a.active.focus,
a.active:focus,
a.focus,
a:active.focus,
a:active:focus,
a:focus,
button.active.focus,
button.active:focus,
button.focus,
button:active.focus,
button:active:focus,
button:focus,
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus,
input:focus,
select:focus {
  outline: 0 !important;
  outline-color: transparent !important;
  outline-width: 0 !important;
  outline-style: none !important;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

a,
a.btn,
button.btn {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation;
  display: inline-block;
}

input {
  height: 2rem !important;
  min-height: 2rem !important;
  border: none !important;
  -webkit-autofill-style: none;
}

input[type="number"] {
  /* Убираем стрелки в Safari */
  -webkit-appearance: none;
  -moz-appearance: textfield;
  
  /* Для Chrome/Safari */
  &::-webkit-inner-spin-button,
  &::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}

/* Сброс для всех типов input */
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="search"] {
  /* Предотвращает зум на iOS */
  transform: translateZ(0);
  /* Сброс iOS стилей */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Убираем внутренние тени iOS */
  -webkit-box-shadow: none;
  box-shadow: none;
  /* Фикс для фокуса */
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
  /* Убираем дефолтные стили Safari */
  -webkit-user-select: text;
  -webkit-user-modify: read-write-plaintext-only;
}

select {
  appearance: none !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-box-shadow: none;
  line-height: normal;
  height: 2rem !important;
  min-height: 2rem !important;
  border: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23262b2b' d='M6 8.825L1.175 4 2.238 2.938 6 6.713 9.763 2.938 10.825 4z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 4px center !important;
  background-size: 12px !important;
}

@supports (-webkit-touch-callout: none) {
  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
}

::-webkit-scrollbar {
  width: 3px;
}
/* фон полоски */
::-webkit-scrollbar-track {
  /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
  background-color: rgba(0, 0, 0, 0.1);
}

/* активный бегунок */
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background: rgba(30, 189, 38, 0.85);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

/* неактивный бегунок */
::-webkit-scrollbar-thumb:window-inactive {
  background: #818181;
}

div {
  -o-transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -moz-transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/*------------ УБРАТЬ -------------*/
a.text-primary {
  color: #0099ff !important;
}
a.text-primary:focus, a.text-primary:hover {
  color: #ff6868 !important;
}
/*--------------------------------*/

.blur {
  background-color: rgb(0 0 0 / 0) !important;
  /*  background: rgb(76, 76, 76, 0.2);*/
  -webkit-backdrop-filter: saturate(180%) blur(6px);
  backdrop-filter: saturate(180%) blur(4px);
  opacity: 1;
}

/* Switch Lite-Dark Theme */
.ui-switch {
  /* switch */
  --switch-bg: rgb(135, 150, 165);
  --switch-width: 48px;
  --switch-height: 20px;
  /* circle */
  --circle-diameter: 32px;
  --circle-bg: rgb(0, 56, 146);
  --circle-inset: calc((var(--circle-diameter) - var(--switch-height)) / 2);
}

.ui-switch input {
  display: none;
}

.slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--switch-width);
  height: var(--switch-height);
  background: var(--switch-bg);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}

.slider .circle {
  top: calc(var(--circle-inset) * -1);
  left: 0;
  width: var(--circle-diameter);
  height: var(--circle-diameter);
  position: absolute;
  background: #e5ac00;
  border-radius: inherit;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iIzAwMzg5MiIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIgMi4yNWEuNzUuNzUgMCAwMS43NS43NXYyLjI1YS43NS43NSAwIDAxLTEuNSAwVjNhLjc1Ljc1IDAgMDEuNzUtLjc1ek03LjUgMTJhNC41IDQuNSAwIDExOSAwIDQuNSA0LjUgMCAwMS05IDB6TTE4Ljg5NCA2LjE2NmEuNzUuNzUgMCAwMC0xLjA2LTEuMDZsLTEuNTkxIDEuNTlhLjc1Ljc1IDAgMTAxLjA2IDEuMDYxbDEuNTkxLTEuNTl6TTIxLjc1IDEyYS43NS43NSAwIDAxLS43NS43NWgtMi4yNWEuNzUuNzUgMCAwMTAtMS41SDIxYS43NS43NSAwIDAxLjc1Ljc1ek0xNy44MzQgMTguODk0YS43NS43NSAwIDAwMS4wNi0xLjA2bC0xLjU5LTEuNTkxYS43NS43NSAwIDAwLTEuMDYxIDEuMDZsMS41OSAxLjU5MXpNMTIgMThhLjc1Ljc1IDAgMDEuNzUuNzVWMjFhLjc1Ljc1IDAgMDEtMS41IDB2LTIuMjVBLjc1Ljc1IDAgMDExMiAxOHpNNy43NTggMTcuMzAzYS43NS43NSAwIDAwLTEuMDYxLTEuMDZsLTEuNTkxIDEuNTlhLjc1Ljc1IDAgMDAxLjA2IDEuMDYxbDEuNTkxLTEuNTl6TTYgMTJhLjc1Ljc1IDAgMDEtLjc1Ljc1SDNhLjc1Ljc1IDAgMDEwLTEuNWgyLjI1QS43NS43NSAwIDAxNiAxMnpNNi42OTcgNy43NTdhLjc1Ljc1IDAgMDAxLjA2LTEuMDZsLTEuNTktMS41OTFhLjc1Ljc1IDAgMDAtMS4wNjEgMS4wNmwxLjU5IDEuNTkxeiIvPjwvc3ZnPg==");
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  -o-transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
  ;
}

.slider .circle::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  border-radius: inherit;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
  opacity: 0;
}

/* actions */
.ui-switch input:checked+.slider .circle {
  background: #003892;
  background-repeat: no-repeat;
  background-position: center center;
  left: calc(100% - var(--circle-diameter));
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0iI2ZmYzEwNyIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05LjUyOCAxLjcxOGEuNzUuNzUgMCAwIDEgLjE2Mi44MTlBOC45NyA4Ljk3IDAgMCAwIDkgNmE5IDkgMCAwIDAgOSA5IDguOTcgOC45NyAwIDAgMCAzLjQ2My0uNjkuNzUuNzUgMCAwIDEgLjk4MS45OCAxMC41MDMgMTAuNTAzIDAgMCAxLTkuNjk0IDYuNDZjLTUuNzk5IDAtMTAuNS00LjcwMS0xMC41LTEwLjUgMC00LjM2OCAyLjY2Ny04LjExMiA2LjQ2LTkuNjk0YS43NS43NSAwIDAgMSAuODE4LjE2MnoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==");
}

.ui-switch input:active+.slider .circle::before {
  -webkit-transition: 0s;
  -o-transition: 0s;
  transition: 0s;
  opacity: 1;
  width: 0;
  height: 0;
}

@keyframes itemUp {
  from {
    display: none;
    transform: scale(0.9);
  }
  to {
    display: block;
    transform: scale(1);
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
}

@keyframes itemJump {
  from {
    display: none;
    transform: translate(0, 10%) scale(0.9);
  }
  to {
    display: block;
    transform: translate(0, 0) scale(1);
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
}

.animation-up {
  animation: var(--itemUp);
}

.animation-jump {
  animation: var(--itemJump);
}

body,
html,
html a {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

canvas {
  display: block;
  position: absolute;
  inset: 0;
}

.cenz {
  position: fixed;
  top: 0.3rem;
  right: 0.7rem;
  z-index: 999999;
  font-family: "Prosto One";
  font-size: xx-large;
  line-height: 35px;
  font-weight: 600;
  opacity: 0.65;
  user-select: none;
}

.body {
  background-color: var(--neutral-bg);
  transition: background-color 0.3s ease;
  color: var(--neutral-text);
  font-family: Istok Web;
  font-size: 14px;
  line-height: 1.42857143;
  text-align: center;
  margin: 0;
  padding: 0;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 320px;
  height: 100vh;
  height: 100dvh;
}

.page {
  scroll-behavior: smooth;
  overflow: auto;
}

.page.display {
  display: block;
}

.feed-content {
  padding: 0 0.2rem;
}

#logoImage {
  display: block;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  padding-top: 30px;
  transform: scale(var(--scale, 1)); /* Масштабирование */
  /* Плавность анимации */
  transform-origin: center center;
  transition: transform 0.03s linear;
  will-change: transform;
  opacity: 1;
}

.menu-item-btn {
  position: relative;
  display: inline-flex !important;
  margin: 0 0.1rem;
  padding: 0.3rem 0.75rem !important;
  transition: all 0.45s;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  /*height: 40px;*/
}

.content-container {
  border-radius: 2rem;
  min-width: 344px;
  max-width: var(--maxWidth);
  background-color: var(--contentContainerBackground);
  box-shadow: var(--bigShadow);
}

.header-content-container {
  letter-spacing: 1px;
}

body:not(.dark) .header-content-container,
body:not(.dark) .happy-calc-header {
  color: var(--color-dark-text) !important;
}

body.dark .header-content-container,
body.dark .happy-calc-header {
  color: var(--color-light) !important;
}

.br-1rem {
  border-radius: 1rem !important;
}

.container-switch-btn {
  display: inline-block;
  padding: .215rem;
  font-size: 79%;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50rem !important;
  border: 2px solid var(--neutral-text);
  /* background-color: var(--color-outline-dark-bg); */
}

.switch-btn-lable {
  border: none !important;
  color: var(--neutral-text);
  border-radius: 50rem !important;
  padding: .175rem .75rem;
  &:hover {
    color: inherit;
  }
}

.switch-btn-lable.active {
  color: var(--neutral-bg);
  background-color: var(--neutral-text);
}

.calc-wait-time,
.calc-give-summ {
  display: none;
}

.calc-wait-time.checked,
.calc-give-summ.checked {
  display: block;
}

.happy-calc-container .switch-btn-lable {
  min-width: 148px;
}

.happy-calc-container {
  position: relative;
  background-color: var(--color-outline-dark-bg);
  border-radius: 1rem;
}
.happy-calc-body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 1rem;
}

.happy-calc-input-box {
  width: 290px;
  margin-right: -3.5rem;
}

.happy-calc-input-box input {
  color: var(--green);
  padding-top: 0;
  padding-bottom: 0;
  font-size: 1.25rem !important;
  font-weight: bold;
  background-color: var(--lightBackground);
}

.container-select-currency {
  padding-top: 3.1rem;
}

/* Убираем стандартную стрелку в IE/Edge */
.happy-calc-container select::-ms-expand {
  display: none;
}

.happy-calc-body select {
  color: var(--color-dark-text);
  background-color: var(--lightBackground);
  vertical-align: middle;
  text-align: center;
  text-align-last: center;
  font-weight: bold;
}

.happy-calc-select-currency {
  width: 4.25rem;
  margin-right: -0.5rem;
}

.happy-calc-select-month {
  font-size: 1rem;
}

.happy-calc-header {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  font-weight: normal;
  line-height: 1.2;
}

.happy-calc-header span {
  display: inline-block;
  font-weight: 600;
  color: var(--orange);
}

select option {
  text-align: center;
  text-align-last: center;
}

.calculate-btn,
.close-calc-result-btn {
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 310px;
  border: none !important;
  border-radius: 50rem !important;
  line-height: 2.5rem !important;
  /*
  font-weight: bold !important;
  padding: .65rem !important;
  */
}

.calculate-btn,
.close-calc-result-btn {
  display: none !important;
}

.calculate-btn.active,
.close-calc-result-btn.active {
  display: inline-block !important;
}

.calculate-btn {
  color: var(--color-light) !important;
  background-color: var(--green) !important;
  &:hover {
    background-color: var(--color-success-dark) !important;
  }
  &:active {
    background-color: var(--color-success-dark) !important;
  }
}

.close-calc-result-btn {
  color: var(--color-dark-text) !important;
  background-color: var(--color-orange) !important;
  &:hover {
    background-color: var(--orange) !important;
  }
  &:active {
    background-color: var(--orange) !important;
  }
}

.happy-calc-result {
  display: none;
  position: absolute;
  z-index: 2;
  top: 3.6rem;
  bottom: 3.6rem;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  background-color: var(--color-happy-calc-result-bg);
  border-radius: 1rem;
  padding: 0.75rem;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.2;
  text-align: center;
  text-align: -webkit-center;
  align-content: center
}

.happy-calc-result.active {
  display: block;
}

.happy-calc-result strong {
  color: var(--green);
}

button.close {
  font-size: 1rem !important;
}

.menu-item-box .modal-dialog {
  transform: translate(0, 10%);
}

.menu-item-box .modal.show .modal-dialog {
  transform: translate(0, 0);
}

