:root {
  --modal-field-white: #FFFFFF;
  --modal-field-black: #000000;
  --modal-field-hover: #F2F2F2;
  --modal-field-text: #0F0F0F;
  --modal-field-muted: #7A7A7A;
  --modal-field-error: #FF0000;
}
#login-menu-dropdown {
  position: fixed;
  top: 59px !important;
  right: 33px !important;
  width: 184px;
  height: 100px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 999;
}
#login-menu-dropdown .menu-buttons {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#login-menu-dropdown .menu-buttons .divider {
  height: 1px;
  width: 100%;
  background: #f2f2f2;
}
#login-menu-dropdown .menu-buttons-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 4px;
}
#login-menu-dropdown .menu-buttons-cont:first-child {
  padding-bottom: 0;
}
#login-menu-dropdown .menu-buttons-cont:last-child {
  padding-top: 0;
}
#login-menu-dropdown .menu-btn {
  flex: 1;
  border: none;
  background: none;
  padding: 0;
  height: 100%;
  margin: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #E3E3E3;
  transition: all 0.3s ease;
}
#login-menu-dropdown .menu-btn:hover {
  transition: all 0.3s ease;
  background: #F2F2F2;
}
#login-menu-dropdown .menu-btn:last-child {
  border-bottom: none;
}

#custom-login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
#custom-login-modal .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}
#custom-login-modal .modal-wrapper {
  position: fixed;
  top: 0;
  right: -410px;
  width: 410px;
  height: 100%;
  background: var(--modal-field-white);;
  z-index: 9999;
  transition: right 0.3s ease-in-out;
}
#custom-login-modal.active .modal-wrapper {
  right: 0;
}

#custom-login-modal .modal-wrapper-header {
  position: relative;
  height: 58px;
  border-bottom: 1px solid #E3E3E3;
}
#custom-login-modal .modal-wrapper-header .modal-close {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  transform: translateY(-50%);
  right: 22px;
  cursor: pointer;
  color: var(--modal-field-text);
}
#custom-login-modal .modal-wrapper-header-mob {
  display: none;
  margin-top: 72px;
}
#custom-login-modal .modal-wrapper-header-mob .modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--modal-field-text);
  font-family: Inter;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

#custom-login-modal .custom-login-modal-container {
  padding: 52px 20px;
}
#custom-login-modal h4 {
  color: var(--modal-field-text);
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}
#custom-login-modal .reset-container-subtitle {
  color: var(--modal-field-muted);
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  margin: 0;
  margin-top: 16px;
}
#custom-login-modal form {
  margin-top: 32px;
}
#custom-login-modal .reset-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
#custom-login-modal .reset-success img {
  width: 27px;
  height: 27px;
}
#custom-login-modal .reset-success p {
  color: var(--modal-field-text);
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  margin: 0;
}
#custom-login-modal .reset-container.is-sent .reset-success {
  display: flex;
}
#custom-login-modal .reset-container.is-sent h4,
#custom-login-modal .reset-container.is-sent .reset-container-subtitle {
  display: none;
}
#custom-login-modal .reset-container.is-sent input {
  pointer-events: none;
}
#custom-login-modal .reset-container.is-sent button:disabled {
  opacity: 1;
  cursor: not-allowed;
}
#custom-login-modal .modal-form-row--float {
  position: relative;
  margin-bottom: 12px;
}
#custom-login-modal input {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 18px 40px 18px 20px;
  border: 1px solid var(--modal-field-black);
  background: var(--modal-field-white);
  color: var(--modal-field-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
#custom-login-modal .modal-form-row--float input:hover,
#custom-login-modal .modal-form-row--float.is-focused input,
#custom-login-modal .modal-form-row--float input:focus {
  background: var(--modal-field-hover);
  border-color: var(--modal-field-black);
}
#custom-login-modal .modal-form-row--float.is-filled.is-valid input {
  background: var(--modal-field-hover);
  border-color: var(--modal-field-hover);
}
#custom-login-modal .modal-field-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 1;
  color: var(--modal-field-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, transform 0.15s ease;
}
#custom-login-modal .modal-form-row--float.is-focused .modal-field-label,
#custom-login-modal .modal-form-row--float.is-filled .modal-field-label {
  top: 5px;
  transform: none;
  font-size: 9px;
}

#custom-login-modal .modal-field-error {
  display: none;
  position: absolute;
  top: 5px;
  left: 20px;
  margin: 0;
  z-index: 2;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--modal-field-error);
  pointer-events: none;
  transition: unset;
}
#custom-login-modal .modal-form-row--float.is-error .modal-field-error, #custom-login-modal .modal-form-row--float.is-filled.is-error.is-focused .modal-field-label {
  display: block;
}
#custom-login-modal .modal-form-row--float.is-focused.is-error .modal-field-error, #custom-login-modal .modal-form-row--float.is-filled.is-error .modal-field-label {
  display: none;
}
#custom-login-modal .modal-form-row--float.is-error input {
  background: var(--modal-field-white);
  border-color: var(--modal-field-error);
}
#custom-login-modal .modal-form-row--float.is-error .modal-field-label {
  color: var(--modal-field-error);
}
#custom-login-modal .modal-field-note {
  display: none;
  background: #FFD6D685;
  color: var(--modal-field-error);
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  margin-top: 4px;
  padding: 4px;
}
#custom-login-modal .modal-form-row--float.is-error-note .modal-field-note {
  display: block;
}
#custom-login-modal .modal-form-row--float.is-error-note .modal-field-error {
  display: none;
}
#custom-login-modal .modal-form-row--float.is-error-note .modal-field-label,
#custom-login-modal .modal-form-row--float.is-filled.is-error-note .modal-field-label,
#custom-login-modal .modal-form-row--float.is-focused.is-error-note .modal-field-label {
  display: block;
  color: var(--modal-field-error);
}
#custom-login-modal .modal-form-row--float.is-error-note input {
  color: var(--modal-field-error);
}

#custom-login-modal .modal-password-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: currentColor;
  color: var(--modal-field-text);
  -webkit-mask: url('../../images/icons/eye-off.svg') center / contain no-repeat;
  mask: url('../../images/icons/eye-off.svg') center / contain no-repeat;
  cursor: pointer;
}
#custom-login-modal .modal-password-toggle.is-visible {
  -webkit-mask-image: url('../../images/icons/eye.svg');
  mask-image: url('../../images/icons/eye.svg');
}
#custom-login-modal .modal-form-row--float.is-focused .modal-password-toggle, #custom-login-modal .modal-form-row--float.is-filled .modal-password-toggle {
  display: block;
}
#custom-login-modal .modal-form-row--float.is-error .modal-password-toggle {
  color: var(--modal-field-error);
}
#custom-login-modal button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  background: var(--modal-field-black);
  color: var(--modal-field-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
}

#custom-login-modal .modal-form-politic {
  margin-top: 24px;
}
#custom-login-modal .modal-form-politic a {
  display: block;
  color: var(--modal-field-muted);
  font-family: Inter;
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#custom-login-modal .modal-form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
#custom-login-modal .modal-form-footer > * {
  color: var(--modal-field-text);
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: center;
  cursor: pointer;
}
#custom-login-modal .modal-form-footer .forgot-password {
  color: var(--modal-field-muted);
}
#custom-login-modal .modal-form-footer .login-btn {
  margin-top: 21px;
}

@media (max-width: 767px) {
    #custom-login-modal .modal-wrapper {
      width: 100%;
      right: -100%;
    }
    #custom-login-modal .modal-wrapper-header {
      display: none;
    }
    #custom-login-modal .modal-wrapper-header-mob {
      display: block;
    }
    #custom-login-modal .custom-login-modal-container {
      padding: 20px 16px;
    }
}
