:root {
  --bs-primary: #151462;
  --bs-primary-rgb: 21, 20, 98;
  --bs-body-font-family: var(--font);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--page-bg);
  --bs-border-color: var(--line);
}

.btn {
  --bs-btn-font-family: var(--font);
  box-shadow: none;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 12px 24px;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--md-shape-sm);
  font-size: var(--button-font-size);
  font-weight: 700;
  line-height: 1.2;
  transition:
    background-color 0.18s var(--md-easing-standard),
    border-color 0.18s var(--md-easing-standard),
    color 0.18s var(--md-easing-standard),
    transform 0.14s var(--md-easing-standard);
}

.button:active {
  transform: scale(0.985);
}

.button-small {
  min-height: 50px;
}

.button-navy,
.btn.button-navy {
  color: var(--button-primary-text);
  background: var(--button-primary-bg);
  border-color: var(--button-primary-bg);
}

.button-navy:hover,
.btn.button-navy:hover,
.btn.button-navy:focus-visible {
  background: var(--button-primary-hover);
  border-color: var(--button-primary-hover);
  color: var(--button-primary-text);
}

.button-outline,
.btn.button-outline {
  color: var(--text);
  background: var(--surface);
  border-color: var(--button-outline-border);
}

.button-outline:hover,
.btn.button-outline:hover {
  background: var(--selected-bg);
  color: var(--text);
}

.button-light,
.btn.button-light {
  background: var(--sky);
  color: var(--navy);
}

.button-light:hover,
.btn.button-light:hover {
  background: var(--surface);
  color: var(--navy);
}

.form-control {
  font-family: var(--font);
}

.form-control::placeholder {
  color: var(--placeholder);
}

.form-check-input {
  background-color: var(--field-bg);
  border-color: var(--line);
}

.form-control:focus,
.form-check-input:focus {
  border-color: var(--button-outline-border);
  box-shadow: 0 0 0 0.18rem var(--focus-ring);
}

.form-check-input:checked {
  background-color: var(--navy);
  border-color: var(--navy);
}

.container {
  max-width: var(--container);
}

.menu-toggle {
  border: 1px solid transparent;
  border-radius: var(--md-shape-sm);
  background: transparent;
  width: 46px;
  height: 46px;
  padding: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition:
    background-color 0.18s var(--md-easing-standard),
    opacity 0.18s var(--md-easing-standard);
}

.menu-toggle[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--nav-hover-bg);
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: var(--md-shape-full);
  background: var(--text);
  transition: opacity 0.18s var(--md-easing-standard);
}

.samday-offcanvas {
  --bs-offcanvas-width: min(86vw, 350px);
  background: var(--header-bg);
  color: var(--text);
  border-right: 1px solid var(--line);
  border-radius: 0 var(--md-shape-lg) var(--md-shape-lg) 0;
  z-index: 1050;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.offcanvas-backdrop {
  background: #091238;
}

.offcanvas-backdrop.show {
  opacity: 0.62;
}

.samday-offcanvas .offcanvas-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.samday-offcanvas .drawer-head img {
  width: 170px;
  height: auto;
}

.samday-offcanvas .mobile-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 18px 16px 24px;
}

.mobile-links>a:not(.button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  position: relative;
  padding: 10px 16px;
  border-radius: var(--md-shape-sm);
  font-size: 1.24rem;
  font-weight: 700;
  transition: background-color 0.18s var(--md-easing-standard);
}

.mobile-links>a:not(.button):hover,
.mobile-links>a:not(.button):focus-visible {
  background: var(--nav-hover-bg);
}

.mobile-links>a.is-active:not(.button) {
  background: var(--nav-active-bg);
}

.mobile-links>a:not(.button)::after {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: var(--md-shape-full);
  background: var(--nav-active-line);
  opacity: 0;
  transform: scaleY(0.4);
  transition:
    opacity 0.18s var(--md-easing-standard),
    transform 0.18s var(--md-easing-standard);
}

.mobile-links>a.is-active:not(.button)::after {
  opacity: 1;
  transform: scaleY(1);
}

.mobile-links .button {
  width: 100%;
  margin-top: 14px;
}

