/* Inline link-style button — visually identical to <a> inside body text,
   but semantically a <button> (used by data-fancybox modal triggers that
   previously were <a href="javascript:void(0)">). */
.link_btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #1a73e8;
  text-decoration: underline;
  cursor: pointer;
  vertical-align: baseline;
}

.link_btn:hover { text-decoration: none; }
.link_btn:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }

/* notifications */

.notification__section {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 10;
  flex-direction: column;
  display: flex;
  gap: 0.5rem;
}

.notification__item {
  border-radius: 0.5rem;
  max-width: 22.5rem;
  display: inline-flex;
  align-items: center;
  background: #212121;
  color: #fff;
  padding: 1.25rem 1.25rem;
  gap: 1.5rem;
  transition: 0.25s ease-in-out;
  opacity: 0;
  transform: translate(0, 1rem);
  pointer-events: none;
}

.notification__item__close {
  background: #fff;
  color: #000;
  width: 2rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notification__item__close svg {
  width: 46%;
  height: auto;
}

.notification__item__close:hover {
  background: #212121;
  color: #fff;
}

.notification__item--error {
  background: #d94c4f;
}

.notification__item--success {
  background: #67c15e;
}

.notification__item--info {
  background: #27b2ed;
}

.notification__item__text {
  flex: 1;
  font-size: 1rem;
}

@media screen and (max-width: 550px) {
  .notification__item {
    width: 100%;
    max-width: none;
    padding: 16px;
  }

  .notification__section {
    right: 20px;
    left: 20px;
    bottom: 20px;
  }
}

.notification__item.active {
  opacity: 1;
  transform: translate(0, 0);
  pointer-events: all;
}

/* modals */
.modal_default {
  border-radius: 0.38rem;
  max-width: 34.5rem;
  width: calc(100% - 32px);
  padding: 3.125rem;
}
.modal_default {
  display: none;
}
.fancybox-slide--html .fancybox-close-small {
  background: #fed435;
  border-radius: 0 0 0 0.5rem;
  color: #000;
  opacity: 1;
  top: 0;
  right: 0;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  cursor: pointer;
}

/* Fancybox 3 close-small svg <path> ships without a fill attribute —
   force currentColor so the icon follows the chip's color on default
   and on hover. */
.fancybox-slide--html .fancybox-close-small svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  margin: auto;
  fill: currentColor;
}

.fancybox-slide--html .fancybox-close-small svg path {
  fill: currentColor;
}

.fancybox-slide--html .fancybox-close-small:hover {
  background: #0f0f0f;
  color: #fff;
}

.modal_default__title {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.65rem;
}

.modal_default__text {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.42857;
  margin: 0 auto 1.65rem;
}

.modal_default__form .field_group {
  gap: 0.75rem;
}

.modal_default__form .field_item input,
.modal_default__form .field_item textarea {
  border-color: #999;
  border-width: 0.075rem;
  padding: 1.025rem 1.56rem;
}

.modal_default__content {
  max-width: 25rem;
  margin: 0 auto;
}

.modal_registration__section__or span {
  font-weight: 500;
  font-size: 0.825rem;
  background: #fff;
  position: relative;
  text-align: center;
  display: inline-flex;
  padding: 0.25rem 1.25rem;
  color: #a2a2a2;
}

.modal_registration__section__or {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 1rem 0;
}

.modal_registration__section__or:before {
  content: "";
  width: 100%;
  left: 0;
  top: 50%;
  position: absolute;
  background: #000;
  height: 0.01rem;
}

.btn_registration-google {
  background: #eee;
}

.btn_arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn_arrow img {
  width: 1.25rem;
  height: auto;
}

.btn_registration-facebook {
  background: #1877f2;
  color: #fff;
}

.modal_registration__add_methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn_registration {
  padding: 1rem;
}

.btn_registration-google:hover {
  background: #222;
  color: #fff;
}

.btn_registration-facebook:hover {
  background: #135bba;
}

.checkbox_field {
  position: relative;
  display: inline-flex;
  gap: 0.85rem;
  align-items: center;
}

.checkbox_field input {
  position: absolute;
  opacity: 0;
}

.checkbox_field__view {
  width: 1.35rem;
  aspect-ratio: 1/1;
  border: 1px solid;
  border-radius: 0.2rem;
  position: relative;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 67%;
  margin-top: -0.2rem;
}

.field_item--checkbox {
  padding: 0.35rem 0;
}

.checkbox_field__text {
  font-size: 0.825rem;
  line-height: 1.2;
  margin-top: 0.1rem;
  flex: 1;
}

input:checked + .checkbox_field__view {
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='10' viewBox='0 0 13 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.707031 3.70709L4.70703 7.70709L11.707 0.707092' stroke='%23fed435' stroke-width='2'/%3E%3C/svg%3E%0A");
  background-color: #111;
  border-color: #fed435;
}

.modal_default__text a {
  color: inherit;
}

.modal_default__text a:hover {
  color: #fed435;
  text-decoration: none;
}

.field_row--modal_login_remember_lost {
  align-items: center;
  justify-content: space-between;
}

.field_item--lost_password {
  text-align: right;
  flex: none;
  width: auto;
}

.field_item--lost_password a {
  font-size: 0.8rem;
  color: inherit;
}

.field_item--lost_password a:hover {
  color: #fed435;
}
@media screen and (max-width: 550px) {
  .modal_default {
    padding: 52px 22px 22px;
  }

  .modal_default__form .field_item input,
  .modal_default__form .field_item textarea {
    padding: 13.5px 20px;
    font-size: 14px;
  }

  .modal_default__title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .modal_default__text {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .btn_modal {
    font-size: 13px;
    padding: 14px;
  }

  .btn_registration {
    padding: 12px;
    font-size: 12.5px;
    gap: 14px;
  }
}
