@import url("/assets/thmanyah-sans.css");

body,
button,
input,
textarea,
select {
  font-family: "Thmanyah Sans", Tahoma, Arial, sans-serif;
}
body:not(.app-mode):not(.radif-public-demo) {
  --bg: #f7f8f4;
  --panel: #fff;
  --panel2: #fff;
  --line: #e8ebe4;
  --lime: #caef75;
  --lime-soft: #eff4e7;
  --lime-line: #dce8ce;
  --text: #242c25;
  --muted: #687266;
  --danger: #a64236;
  --msg-error-bg: #fff0ec;
  --msg-error-text: #a64236;
  --msg-error-border: #f0cfc5;
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 480px);
  justify-content: center;
  align-content: center;
  gap: 64px;
  min-height: 100dvh;
  padding: 52px 32px;
  background: var(--bg);
}
body:not(.app-mode) #card {
  max-width: none;
  width: 100%;
  padding: 38px;
  border-radius: 20px;
  text-align: start;
  box-shadow: 0 12px 36px #18211b05;
}
.auth-wordmark {
  width: 104px;
  height: auto;
  display: block;
  margin-bottom: 30px;
}
body:not(.app-mode) .kicker {
  color: #687266;
  padding: 0;
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}
body:not(.app-mode) .kicker .dot {
  background: #18211b;
  width: 5px;
  height: 5px;
}
body:not(.app-mode) #headline {
  font-size: 31px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.7px;
  color: #18211b;
  margin: 0 0 10px;
}
body:not(.app-mode) #subtitle {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 30px;
  color: #687266;
}
body:not(.app-mode) .btn {
  font-size: 14px;
  min-height: 48px;
  border-radius: 10px;
  background: #fff;
  color: #18211b;
  justify-content: center;
}
body:not(.app-mode) .btn svg {
  fill: currentColor;
}
body:not(.app-mode) .btn-badge {
  font-weight: 500;
  color: #687266;
  background: #f7f8f4;
  border-color: #e8ebe4;
  font-size: 10px;
}
.auth-demo-block {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid #e8ebe4;
  text-align: center;
}
.auth-demo-block p {
  font-size: 12px;
  color: #687266;
  line-height: 1.8;
  margin: 10px 0 0;
}
.auth-demo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 49px;
  padding: 12px 20px;
  background: #caef75;
  color: #18211b;
  font-size: 15px;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
}
.auth-demo-cta:hover {
  background: #bcdf69;
}
.auth-demo-cta:focus-visible {
  outline: 3px solid #7f9e42;
  outline-offset: 3px;
}
body:not(.app-mode) .foot {
  font-size: 11px;
  color: #687266;
  margin-top: 22px;
  line-height: 1.8;
}
.auth-story {
  align-self: center;
  min-width: 0;
}
.auth-story .auth-label {
  font-size: 12px;
  color: #687266;
}
.auth-story h2 {
  font-size: 43px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: #18211b;
  margin: 14px 0 22px;
  font-weight: 900;
}
.auth-story h2 span {
  background: linear-gradient(
    transparent 77%,
    #caef75 77%,
    #caef75 94%,
    transparent 94%
  );
}
.auth-story > p {
  font-size: 16px;
  line-height: 1.9;
  color: #687266;
  margin: 0 0 28px;
  max-width: 430px;
}
.auth-story ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.auth-story li {
  display: flex;
  gap: 13px;
  color: #242c25;
  align-items: center;
  font-size: 14px;
}
.auth-story li i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #eff4e7;
  border-radius: 10px;
  font-style: normal;
  color: #18211b;
  font-weight: 700;
}
.auth-story small {
  display: block;
  margin-top: 34px;
  font-size: 11px;
  color: #687266;
}
body.app-mode {
  --forest: #18211b;
  --orange: #caef75;
  --orange-soft: #eff4e7;
  --orange-line: #dce8ce;
  --paper: #f7f8f4;
  --surface: #fff;
  --ink: #242c25;
  --muted: #687266;
  --border: #e8ebe4;
  font-family: "Thmanyah Sans", Tahoma, Arial, sans-serif;
}
html:has(body.app-mode) {
  background: #18211b;
}
body.app-mode .auth-story {
  display: none;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand {
  color: #18211b;
}
body.app-mode .side-link.active {
  color: #caef75;
}
@media (max-width: 850px) {
  body:not(.app-mode):not(.radif-public-demo) {
    grid-template-columns: minmax(0, 460px);
    gap: 30px;
    padding: 28px 18px;
  }
  .auth-story {
    display: none;
  }
  body:not(.app-mode) #card {
    padding: 28px 24px;
  }
  .auth-wordmark {
    width: 96px;
    margin-bottom: 26px;
  }
  body:not(.app-mode) #headline {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
