/* Local theme v5 — teal / cyan (header, footer, registration) */

/* ===== Registration modal ===== */
.local-reg-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 40, 38, 0.72) !important;
  box-sizing: border-box;
}

.local-reg-overlay.is-open {
  display: flex !important;
}

.local-reg-modal {
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: linear-gradient(160deg, #0b5c56 0%, #063d39 100%) !important;
  border: 1px solid #1a7a72 !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: #e6fffb !important;
}

.local-reg-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 8px;
  border-bottom: 1px solid #1a7a72;
}

.local-reg-modal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #5eead4 !important;
}

.local-reg-modal__close {
  border: 0;
  background: transparent;
  color: #e6fffb !important;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.75;
}

.local-reg-modal__close:hover {
  opacity: 1;
  color: #2dd4bf !important;
}

.local-reg-modal__body {
  padding: 8px 24px 24px;
}

.local-reg-modal__hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: #9fd8d0 !important;
  line-height: 1.4;
}

.local-reg-field {
  margin-bottom: 12px;
}

.local-reg-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #5eead4 !important;
}

.local-reg-field input[type="text"],
.local-reg-field input[type="email"],
.local-reg-field input[type="tel"],
.local-reg-field input[type="password"],
.local-reg-field input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #1a7a72 !important;
  border-radius: 8px !important;
  font-size: 15px;
  color: #e6fffb !important;
  background: #042f2c !important;
  outline: none;
  color-scheme: dark;
}

.local-reg-field input:focus {
  border-color: #2dd4bf !important;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.28) !important;
}

.local-reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.local-reg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 8px;
  font-size: 13px;
  line-height: 1.35;
  color: #c8efe9 !important;
}

.local-reg-check input {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #2dd4bf;
}

.local-reg-error {
  display: none;
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #3a1a1a !important;
  border: 1px solid #f87171 !important;
  color: #fecaca !important;
  font-size: 13px;
  border-radius: 8px;
}

.local-reg-error.is-visible {
  display: block;
}

.local-reg-success {
  display: none;
  text-align: center;
  padding: 24px 8px 8px;
}

.local-reg-success.is-visible {
  display: block;
}

.local-reg-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #0f766e !important;
  color: #99f6e4 !important;
  font-size: 28px;
  line-height: 56px;
  font-weight: 700;
}

.local-reg-success h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #5eead4 !important;
}

.local-reg-success p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #9fd8d0 !important;
}

.local-reg-form.is-hidden {
  display: none;
}

.local-reg-submit {
  display: block;
  width: 100%;
  margin-top: 16px;
  height: 48px;
  border: 0;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 100%) !important;
  color: #042f2c !important;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.local-reg-submit:hover {
  background: linear-gradient(180deg, #2dd4bf 0%, #14b8a6 100%) !important;
}

.local-reg-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 480px) {
  .local-reg-row {
    grid-template-columns: 1fr;
  }

  .local-reg-modal__title {
    font-size: 18px;
  }
}

/* ===== Header top bar ===== */
.shared-header-footer--2022 .top-row,
.shared-header-footer--2022 .header__top-row {
  background-color: #063d39 !important;
  background-image: linear-gradient(90deg, #042f2c 0%, #0b5c56 50%, #042f2c 100%) !important;
}

.shared-header-footer--2022 .top-row__left-submenu-anchor,
.shared-header-footer--2022 .top-row a,
.shared-header-footer--2022 .header__btn--info {
  color: #c8efe9 !important;
}

.shared-header-footer--2022 .top-row__left-submenu-anchor:hover,
.shared-header-footer--2022 .header__btn--info:hover {
  color: #5eead4 !important;
}

.shared-header-footer--2022 .top-row__login-btn,
.shared-header-footer--2022 .header__btn--primary.top-row__login-btn {
  background-color: transparent !important;
  color: #e6fffb !important;
  border: 1px solid rgba(94, 234, 212, 0.55) !important;
}

.shared-header-footer--2022 .top-row__login-btn:hover {
  border-color: #5eead4 !important;
  color: #5eead4 !important;
}

.shared-header-footer--2022 .header__top-row-register-btn,
.shared-header-footer--2022 .header__btn--secondary {
  background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 100%) !important;
  color: #042f2c !important;
  border: 0 !important;
}

.shared-header-footer--2022 .header__top-row-register-btn:hover,
.shared-header-footer--2022 .header__btn--secondary:hover {
  background: linear-gradient(180deg, #2dd4bf 0%, #14b8a6 100%) !important;
  color: #042f2c !important;
}

/* ===== Footer ===== */
.shared-header-footer--2022 .footer,
.shared-header-footer--2022 footer.footer {
  background-color: #042f2c !important;
}

.shared-header-footer--2022 .footer__section {
  background-color: #063d39 !important;
}

.shared-header-footer--2022 .footer__section--primary {
  background-color: #042f2c !important;
}

.shared-header-footer--2022 .footer__section--secondary {
  background-color: #032824 !important;
}

.shared-header-footer--2022 .footer__menu-heading,
.shared-header-footer--2022 .footer__menu-list-item-link,
.shared-header-footer--2022 .footer__contact-item-link,
.shared-header-footer--2022 .footer__link,
.shared-header-footer--2022 .footer__paragraph,
.shared-header-footer--2022 .footer a {
  color: #c8efe9 !important;
}

.shared-header-footer--2022 .footer__menu-heading {
  color: #5eead4 !important;
  border-top-color: rgba(94, 234, 212, 0.18) !important;
}

.shared-header-footer--2022 .footer__menu-list-item-link:hover,
.shared-header-footer--2022 .footer__contact-item-link:hover,
.shared-header-footer--2022 .footer__link:hover {
  color: #2dd4bf !important;
}

.shared-header-footer--2022 .footer__menu-list {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

.shared-header-footer--2022 .footer__partners,
.shared-header-footer--2022 .footer__row:last-child {
  background-color: #032824 !important;
}

.shared-header-footer--2022 .scroll-to-top,
.shared-header-footer--2022 .footer__scroll-top,
.shared-header-footer--2022 [class*="scroll"],
.shared-header-footer--2022 .hore,
a[title="Hore"] {
  background-color: #0b5c56 !important;
  color: #5eead4 !important;
  border-color: #1a7a72 !important;
}
