/* Shared Montera colors and light/dark palettes. */
.app__day_theme.app__day_theme,
.app__dark_theme.app__dark_theme {
  --montera-action: linear-gradient(112deg, #6442dd, #2859c9);
  --montera-blue: #27bcff;
  --montera-violet: #7753ff;
}

.app__day_theme.app__day_theme {
  color-scheme: light;
  --bg: #fbfcff;
  --bg-body: #eef0fb;
  --text: #171c37;
  --gray: #eef0fa;
  --color: #e7eafa;
  --color-hovered: #dce1f6;
  --dark-gray: #596584;
  --accent: #5540b8;
  --accent-transparent: #6949cc18;
  --accent-disabled: #697497;
  --exchange-up: #17684a;
  --exchange-up-background: #d9f0e5;
  --exchange-down: #a82f53;
  --exchange-stable-course: #596584;
  --map-gradient: linear-gradient(0deg, #eef0fa 58%, transparent 64%);
  --montera-edge: #d7ddf1;
  --montera-surface: linear-gradient(141deg, #f3efff, #f5f8ff 72%);
  --montera-highlight: linear-gradient(108deg, #5937b7, #235ba0);
  --montera-glow-left: #cabbff54;
  --montera-glow-right: #a6d9fc45;
  --montera-shadow: #36447b20;
  --montera-switch: #dcd7ff;
  --montera-on-accent: #fff;
  --montera-focus: #543cc2;
}

.app__dark_theme.app__dark_theme {
  color-scheme: dark;
  --bg: #080b1b;
  --bg-body: #050713;
  --text: #f1f3ff;
  --gray: #12182f;
  --color: #1a2243;
  --color-hovered: #252e54;
  --dark-gray: #a4afce;
  --accent: #a89bff;
  --accent-transparent: #9380ff2b;
  --accent-disabled: #52577a;
  --exchange-up: #67d9a8;
  --exchange-up-background: #67d9a81a;
  --exchange-down: #ff8b9d;
  --exchange-stable-course: #a4afce;
  --map-gradient: linear-gradient(0deg, #12182f 58%, transparent 64%);
  --montera-edge: #332e64;
  --montera-surface: linear-gradient(141deg, #181536, #0d1429 70%);
  --montera-highlight: linear-gradient(108deg, #c0a3ff, #80ccff);
  --montera-glow-left: #6330dc30;
  --montera-glow-right: #1651d12b;
  --montera-shadow: #03051072;
  --montera-switch: #382e73;
  --montera-on-accent: #14112d;
  --montera-focus: #8cc9ff;
}

html {
  color-scheme: light;
  background-color: #eef0fb;
}

html:has(body.app__dark_theme) {
  color-scheme: dark;
  background-color: #050713;
}

body :where(.style_MainLayout_content__uJzfE) > main {
  background-image:
    radial-gradient(ellipse at 2% 5%, var(--montera-glow-left) 0%, transparent 39%),
    radial-gradient(ellipse at 95% 3%, var(--montera-glow-right) 0%, transparent 38%);
  background-repeat: no-repeat;
  background-size: 100% 1100px;
}

body :is(.style_MainLayout_fixed__RbaDt, .style_MainLayout_fixed__70OoW) > header {
  background-color: var(--bg);
  box-shadow: inset 0 -1px var(--montera-edge);
}

body .style_MainLayout_content__uJzfE > footer {
  background-color: var(--bg);
  box-shadow: inset 0 1px var(--montera-edge);
}

body .style_Logo__bdn_k > img {
  display: block;
  width: 145px;
  height: 30px;
}

body .app__day_theme .style_Logo__bdn_k > img,
body.app__day_theme .style_Logo__bdn_k > img {
  content: url("/assets/montera/logo-light.svg");
}

body .app__dark_theme .style_Logo__bdn_k > img {
  content: normal;
}

body .style_ThemeSwitcher__Q4IE8 {
  box-shadow: inset 0 0 0 1px var(--montera-edge);
}

body .style_ThemeSwitcher_round__O4NKC {
  background: var(--montera-switch);
}

body .style_Main_CalculatorCard__7MNvz {
  background: var(--montera-surface);
  box-shadow: inset 0 0 0 1px var(--montera-edge), 0 14px 36px var(--montera-shadow);
}

body .style_Main_HowToChangeCurrency__ocC7F {
  box-shadow: inset 0 0 0 1px var(--montera-edge);
}

body .style_Title__YbVoe > w {
  color: var(--accent);
  background-image: var(--montera-highlight);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body :is(.style_card_tiger_cta__5nWa5, .style_Button__GA4_q) {
  background: var(--montera-action);
  color: #fff;
  box-shadow: inset 0 0 0 1px #afa5ff46, 0 4px 14px #5544dd30;
}

#HowToChangeCurrency,
#exchange-faq {
  scroll-margin-top: 24px;
}

body .style_navigation_button__F3RJV > svg > path {
  fill: var(--montera-on-accent);
}

body .style_navigation_button__F3RJV:disabled > svg > path {
  fill: var(--accent);
}

body .style_pagination__gdwAu button.style_active__ZQ8uX > span {
  color: var(--montera-on-accent);
}

body ::selection {
  color: #fff;
  background: #5939bf;
}

body :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--montera-focus);
  outline-offset: 3px;
}

body svg :is([fill="#D7B27B" i], [fill="#b49a72" i], [fill="#ad9064" i]) {
  fill: var(--accent);
}

body svg :is([stroke="#D7B27B" i], [stroke="#b49a72" i], [stroke="#ad9064" i]) {
  stroke: var(--accent);
}

body :is(.style_number__CUX6T, .style_Step_number___q1ay, .style_MobileStep_number__lyDKL) {
  color: var(--montera-on-accent);
}

@media (max-width: 767px) {
  body :where(.style_MainLayout_content__uJzfE) > main {
    background-size: 100% 730px;
  }

}

body .style_ThemeSwitcher__Q4IE8 svg [fill="#CACACA" i] {
  fill: var(--dark-gray);
}

body .style_ThemeSwitcher__Q4IE8 svg [stroke="#CACACA" i] {
  stroke: var(--dark-gray);
}

body .style_Button__GA4_q > p {
  color: inherit;
}


body .style_WhoAreWeRecommendationsLayout_ItemBig__Uf_N6[role="img"]:is(:hover, :active) {
  background: var(--gray);
  border: 0;
  cursor: default;
}

body .style_Review_textContainer__Se9O5 {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

body .style_Review_text__3w5zL {
  display: block;
  overflow: visible;
  overflow-wrap: anywhere;
}

montera-exchange:not([data-ready]) {
  display: block;
  min-height: 270px;
}
