body.foodie-login *,
.auth-popup-overlay,
.auth-popup-overlay * {
  box-sizing: border-box;
}

body.foodie-login {
  min-height: 100%;
}

body.foodie-login {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 2% 92%, rgba(245, 204, 167, 0.24), transparent 34%),
    #faf8f5;
  color: #28231f;
  font-family: Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.foodie-login a {
  color: inherit;
  text-decoration: none;
}

.login-header {
  width: min(1120px, calc(100% - 64px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #24211f !important;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.login-brand-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e96837;
  color: #fff;
  font-size: 18px;
}

.login-home-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #635c56 !important;
  font-size: 13px;
  font-weight: 600;
}

.login-home-link:hover {
  color: #c85c32 !important;
}

.login-main {
  width: min(1040px, calc(100% - 48px));
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 22px 0 42px;
}

.login-card {
  width: 100%;
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  overflow: hidden;
  border: 1px solid rgba(112, 73, 48, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(66, 45, 31, 0.11);
}

.login-welcome {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 70px 54px 48px;
  background:
    radial-gradient(ellipse at 90% 94%, rgba(255, 255, 255, 0.25), transparent 44%),
    linear-gradient(145deg, #f8d8bd 0%, #f6c39d 52%, #eea976 100%);
}

.login-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(162, 85, 47, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  color: #884d31;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.login-welcome h1 {
  position: relative;
  z-index: 1;
  margin: 28px 0 15px;
  color: #34251d;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2.6px;
  line-height: 1.05;
}

.login-welcome h1 span {
  color: #a64e2a;
}

.login-welcome > p {
  position: relative;
  z-index: 1;
  max-width: 325px;
  margin: 0;
  color: #684d3e;
  font-size: 14px;
  line-height: 1.75;
}

.login-welcome-note {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 42px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(105, 61, 39, 0.1);
  backdrop-filter: blur(8px);
}

.login-note-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #fff0e4;
  color: #c85c32;
  font-size: 18px;
}

.login-welcome-note strong,
.login-welcome-note small {
  display: block;
}

.login-welcome-note strong {
  color: #38281f;
  font-size: 12px;
}

.login-welcome-note small {
  margin-top: 5px;
  color: #786459;
  font-size: 11px;
  line-height: 1.45;
}

.login-decoration {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.login-decoration-one {
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: 115px;
}

.login-decoration-two {
  width: 195px;
  height: 195px;
  right: -77px;
  bottom: 157px;
}

.login-form-panel {
  align-self: center;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 55px 58px;
}

.login-form-heading {
  margin-bottom: 27px;
}

.login-form-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff1e8;
  color: #c85c32;
  font-size: 19px;
}

.login-form-kicker {
  margin: 0 0 8px;
  color: #c85c32;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.login-form-heading h2 {
  margin: 0;
  color: #272321;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.login-form-heading > p:last-child {
  margin: 8px 0 0;
  color: #817a75;
  font-size: 13px;
}

.login-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: -7px 0 20px;
  padding: 12px 13px;
  border: 1px solid #f1d2c8;
  border-radius: 9px;
  background: #fff7f4;
  color: #a4442b;
  font-size: 12px;
  line-height: 1.5;
}

.login-alert i {
  margin-top: 1px;
}

.login-success {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: -7px 0 20px;
  padding: 12px 13px;
  border: 1px solid #d5e7d0;
  border-radius: 9px;
  background: #f5fbf3;
  color: #426d3d;
  font-size: 12px;
  line-height: 1.5;
}

.login-success i {
  margin-top: 1px;
}

.login-field {
  margin-bottom: 18px;
}

.login-field label {
  display: block;
  margin-bottom: 8px;
  color: #393430;
  font-size: 12px;
  font-weight: 700;
}

.login-input-wrap {
  position: relative;
}

.login-input-wrap > i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #a49b94;
  font-size: 14px;
  transform: translateY(-50%);
}

.login-input-wrap input {
  width: 100%;
  height: 49px;
  padding: 0 14px 0 42px;
  border: 1px solid #e8e3df;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #292521;
  font: inherit;
  font-size: 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-input-wrap input::placeholder {
  color: #aaa39d;
}

.login-input-wrap input:focus {
  border-color: #d77851;
  box-shadow: 0 0 0 3px rgba(200, 92, 50, 0.12);
}

.login-submit {
  width: 100%;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  border: 0;
  border-radius: 9px;
  background: #29231f;
  box-shadow: 0 7px 14px rgba(41, 35, 31, 0.13);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease;
}

.login-submit:hover {
  transform: translateY(-1px);
  background: #bd572f;
}

.login-submit:focus-visible,
.login-home-link:focus-visible,
.login-register a:focus-visible {
  outline: 3px solid rgba(200, 92, 50, 0.38);
  outline-offset: 3px;
}

.login-register {
  margin: 22px 0 0;
  color: #77706a;
  font-size: 12px;
  text-align: center;
}

.login-register a {
  color: #b9512c !important;
  font-weight: 700;
}

.login-register a:hover {
  text-decoration: underline;
}

.login-assurance {
  margin: 27px 0 0;
  color: #9a928c;
  font-size: 10px;
  text-align: center;
}

.login-assurance i {
  margin-right: 5px;
  color: #72916d;
}

.login-footer {
  width: min(1120px, calc(100% - 64px));
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  color: #9a928c;
  font-size: 10px;
}

.login-footer span:first-child {
  color: #746c66;
  font-weight: 700;
}

@media (max-width: 760px) {
  .login-header {
    width: calc(100% - 36px);
    min-height: 68px;
  }

  .login-brand {
    font-size: 20px;
  }

  .login-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .login-home-link {
    font-size: 12px;
  }

  .login-main {
    width: min(480px, calc(100% - 32px));
    padding: 12px 0 24px;
  }

  .login-card {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 19px;
  }

  .login-welcome {
    min-height: 235px;
    padding: 31px 30px 80px;
  }

  .login-welcome h1 {
    margin: 18px 0 8px;
    font-size: 36px;
    letter-spacing: -1.6px;
  }

  .login-welcome > p {
    max-width: 340px;
    font-size: 12px;
    line-height: 1.6;
  }

  .login-welcome-note {
    right: 18px;
    bottom: -34px;
    left: 18px;
    gap: 10px;
    padding: 10px 12px;
  }

  .login-note-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .login-form-panel {
    padding: 58px 28px 30px;
  }

  .login-form-heading {
    margin-bottom: 22px;
  }

  .login-form-icon {
    display: none;
  }

  .login-form-heading h2 {
    font-size: 23px;
  }

  .login-footer {
    width: calc(100% - 36px);
  }
}

@media (max-width: 360px) {
  .login-welcome {
    padding-right: 22px;
    padding-left: 22px;
  }

  .login-welcome h1 {
    font-size: 32px;
  }

  .login-form-panel {
    padding-right: 21px;
    padding-left: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.register-card {
  grid-template-columns: 0.82fr 1.18fr;
}

.register-welcome {
  padding-right: 42px;
  padding-left: 42px;
}

.register-form-panel {
  max-width: 610px;
  padding: 38px 44px;
}

.register-form-panel .login-form-heading {
  margin-bottom: 20px;
}

.register-form-panel .login-form-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 12px;
  font-size: 16px;
}

.register-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.register-fields .login-field {
  min-width: 0;
  margin-bottom: 14px;
}

.register-field-wide {
  grid-column: 1 / -1;
}

.register-fields .login-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  font-size: 11px;
}

.register-fields .login-field label .register-required {
  margin-right: auto;
  color: #c83d42;
  font-size: 15px;
  font-weight: 800;
  line-height: 0.8;
}

.register-fields .login-field label span:not(.register-required) {
  color: #a19992;
  font-size: 9px;
  font-weight: 500;
}

.register-form-panel .login-input-wrap input {
  height: 43px;
  padding-left: 38px;
  font-size: 12px;
}

.register-textarea-wrap > i {
  top: 15px;
  transform: none;
}

.register-textarea-wrap textarea {
  width: 100%;
  min-height: 60px;
  display: block;
  padding: 11px 12px 10px 38px;
  border: 1px solid #e8e3df;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #292521;
  font: inherit;
  font-size: 12px;
  resize: vertical;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.register-textarea-wrap textarea::placeholder {
  color: #aaa39d;
}

.register-textarea-wrap textarea:focus {
  border-color: #d77851;
  box-shadow: 0 0 0 3px rgba(200, 92, 50, 0.12);
}

.register-form-panel .login-submit {
  margin-top: 1px;
}

.register-form-panel .login-register {
  margin-top: 17px;
}

.register-form-panel .login-assurance {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .register-card {
    grid-template-columns: 1fr;
  }

  .register-welcome {
    padding-right: 30px;
    padding-left: 30px;
  }

  .register-form-panel {
    max-width: none;
    padding: 58px 28px 30px;
  }

  .register-form-panel .login-form-icon {
    display: none;
  }
}

@media (max-width: 420px) {
  .register-fields {
    grid-template-columns: 1fr;
  }

  .register-field-wide {
    grid-column: auto;
  }

  .register-form-panel {
    padding-right: 21px;
    padding-left: 21px;
  }
}

body.foodie-login {
  background:
    radial-gradient(ellipse at 94% 8%, rgba(169, 208, 156, 0.22), transparent 31%),
    #f3f6f1;
  color: #23322c;
}

.login-brand {
  color: #1d342b !important;
}

.login-brand-icon {
  background: #245c49;
}

.login-home-link:hover {
  color: #397c60 !important;
}

.login-card {
  border-color: rgba(36, 92, 73, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(32, 65, 50, 0.1);
}

.login-welcome {
  background:
    radial-gradient(ellipse at 88% 90%, rgba(133, 184, 128, 0.22), transparent 42%),
    linear-gradient(145deg, #173b32 0%, #1c493a 58%, #235741 100%);
}

.login-eyebrow {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #e4efcb;
}

.login-welcome h1 {
  color: #fff;
}

.login-welcome h1 span {
  color: #cce78e;
}

.login-welcome > p {
  color: #d3e2d7;
}

.login-welcome-note {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(7, 27, 21, 0.15);
}

.login-note-icon {
  background: rgba(207, 232, 150, 0.16);
  color: #d8ee9c;
}

.login-welcome-note strong {
  color: #fff;
}

.login-welcome-note small {
  color: #d2e0d5;
}

.login-decoration {
  border-color: rgba(211, 235, 190, 0.19);
}

.login-form-icon {
  background: #eaf3e9;
  color: #34785a;
}

.login-form-kicker {
  color: #397c60;
}

.login-input-wrap input:focus,
.register-textarea-wrap textarea:focus {
  border-color: #4a926a;
  box-shadow: 0 0 0 3px rgba(57, 124, 96, 0.12);
}

.login-submit {
  background: #245c49;
  box-shadow: 0 7px 14px rgba(36, 92, 73, 0.16);
}

.login-submit:hover {
  background: #397c60;
}

.login-submit:focus-visible,
.login-home-link:focus-visible,
.login-register a:focus-visible {
  outline-color: rgba(57, 124, 96, 0.4);
}

.login-register a {
  color: #34785a !important;
}

.login-assurance i {
  color: #4b8b60;
}

.login-footer {
  color: #7d8c82;
}

.login-footer span:first-child {
  color: #4e6758;
}

body.foodie-login {
  display: block;
  min-height: 100vh;
  overflow: hidden;
  background: #e8eee8;
}

.login-modal-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  margin: 0;
  padding: 24px;
  background: rgba(15, 35, 27, 0.48);
  backdrop-filter: blur(7px);
}

.login-dialog {
  width: min(440px, 100%);
  min-height: 0;
  display: block;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(13, 36, 26, 0.3);
  animation: login-dialog-enter 0.22s ease-out both;
}

.register-dialog {
  width: min(650px, 100%);
}

.login-dialog .login-form-panel,
.login-dialog .register-form-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 35px 38px 29px;
}

.login-dialog .login-form-heading,
.register-dialog .login-form-heading {
  margin-bottom: 22px;
}

.login-dialog .login-form-heading h2 {
  color: #21382d;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.login-dialog .login-form-heading h2::after {
  width: 34px;
  height: 3px;
  display: block;
  margin-top: 12px;
  border-radius: 3px;
  background: #78a76f;
  content: "";
}

.login-dialog .login-field {
  margin-bottom: 17px;
}

.login-dialog .login-register {
  margin-top: 20px;
}

.register-dialog .register-fields {
  column-gap: 16px;
}

.register-dialog .register-fields .login-field {
  margin-bottom: 13px;
}

.register-dialog .register-form-panel {
  padding-top: 30px;
  padding-bottom: 24px;
}

.register-dialog .login-form-heading {
  margin-bottom: 17px;
}

.register-dialog .login-dialog-title {
  margin: 0;
}

.register-dialog .login-form-heading h2::after {
  margin-top: 9px;
}

.register-dialog .login-register {
  margin-top: 15px;
}

@keyframes login-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .login-modal-overlay {
    padding: 18px;
  }

  .login-dialog .login-form-panel,
  .login-dialog .register-form-panel {
    padding: 30px 26px 25px;
  }

  .register-dialog {
    max-height: calc(100vh - 36px);
  }

  .register-dialog .register-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .register-dialog .register-field-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .login-modal-overlay {
    padding: 12px;
  }

  .login-dialog {
    border-radius: 16px;
  }

  .login-dialog .login-form-panel,
  .login-dialog .register-form-panel {
    padding: 27px 20px 22px;
  }

  .register-dialog {
    max-height: calc(100vh - 24px);
  }
}

@media (max-width: 360px) {
  .register-dialog .register-fields {
    grid-template-columns: 1fr;
  }

  .register-dialog .register-field-wide {
    grid-column: auto;
  }
}

@media (max-height: 620px) {
  .login-modal-overlay {
    align-items: flex-start;
  }

  .login-dialog {
    margin: auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-dialog {
    animation: none;
  }
}

.profile-page {
  min-height: 100vh;
  padding: 34px 18px;
}

body.foodie-login.profile-page {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.profile-main {
  width: min(760px, 100%);
  margin: 0 auto;
}

.profile-card {
  overflow: hidden;
  border: 1px solid rgba(36, 92, 73, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(32, 65, 50, 0.1);
}

.profile-heading {
  position: relative;
  padding: 32px 38px 26px;
  text-align: center;
  background: linear-gradient(145deg, #f3f8f2, #fff);
}

.profile-home,
.profile-signout {
  position: absolute;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #426453;
  font-size: 13px;
  font-weight: 700;
}

.profile-home {
  left: 24px;
}

.profile-signout {
  right: 24px;
}

.profile-avatar {
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 34px auto 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #e7f0e5;
  color: #4b785d;
  box-shadow: 0 5px 20px rgba(28, 73, 47, 0.14);
  font-size: 42px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-heading h1 {
  margin: 0;
  color: #233b2e;
  font-size: 25px;
  font-weight: 800;
}

.profile-heading p {
  margin: 7px 0 0;
  color: #758077;
  font-size: 14px;
}

.profile-message {
  margin: 20px 34px 0;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.5;
}

.profile-success {
  background: #edf7ee;
  color: #326243;
}

.profile-error {
  background: #fff0ee;
  color: #9d3e35;
}

.profile-form {
  padding: 26px 34px 20px;
}

.profile-photo-field {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  color: #353d37;
  font-size: 13px;
  font-weight: 700;
}

.profile-photo-field input {
  width: 100%;
  padding: 11px;
  border: 1px solid #e3e9e2;
  border-radius: 9px;
  background: #fbfcfb;
  font: inherit;
}

.profile-photo-field small {
  color: #838d85;
  font-size: 11px;
  font-weight: 400;
}

.profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-fields label {
  display: grid;
  gap: 7px;
  color: #353d37;
  font-size: 12px;
  font-weight: 700;
}

.profile-fields input,
.profile-fields textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #e3e9e2;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #29352d;
  font: inherit;
  font-size: 13px;
}

.profile-fields input:focus,
.profile-fields textarea:focus {
  border-color: #57906b;
  box-shadow: 0 0 0 3px rgba(67, 133, 86, 0.11);
}

.profile-fields textarea {
  resize: vertical;
}

.profile-address {
  grid-column: 1 / -1;
}

.profile-save {
  min-height: 45px;
  margin-top: 22px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  background: #e96837;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.profile-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px;
  border-top: 1px solid #eff2ef;
}

.profile-links a {
  display: inline-flex;
  gap: 7px;
  color: #4b6857;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .profile-page {
    padding: 16px 10px;
  }

  .profile-heading {
    padding: 28px 20px 22px;
  }

  .profile-home,
  .profile-signout {
    top: 15px;
    font-size: 12px;
  }

  .profile-home {
    left: 14px;
  }

  .profile-signout {
    right: 14px;
  }

  .profile-form {
    padding: 22px 20px 18px;
  }

  .profile-message {
    margin-right: 20px;
    margin-left: 20px;
  }

  .profile-fields {
    grid-template-columns: 1fr;
  }

  .profile-address {
    grid-column: auto;
  }
}

body.auth-popup-open {
  overflow: hidden;
}

.auth-popup-overlay {
  position: fixed;
  z-index: 30000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(15, 35, 27, 0.52);
  backdrop-filter: blur(7px);
}

.auth-popup-overlay .login-dialog {
  position: relative;
  flex: 0 0 auto;
  max-height: calc(100vh - 48px);
}

.auth-popup-overlay .register-dialog {
  overflow-y: auto;
}

.auth-popup-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #edf3ed;
  color: #426553;
  cursor: pointer;
  font-size: 15px;
}

.auth-popup-close:hover,
.auth-popup-close:focus-visible {
  background: #dce9dc;
  color: #214c38;
}

.auth-popup-close:focus-visible {
  outline: 3px solid rgba(57, 124, 96, 0.4);
  outline-offset: 2px;
}

@media (max-width: 420px) {
  .auth-popup-overlay {
    padding: 12px;
  }

  .auth-popup-overlay .login-dialog {
    max-height: calc(100vh - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-popup-overlay .login-dialog {
    animation: none;
  }
}

.login-dialog .login-form-heading h2::after {
  background: #e96837;
}

.login-dialog .login-submit {
  background: #e96837;
  box-shadow: 0 7px 14px rgba(233, 104, 55, 0.2);
}

.login-dialog .login-submit:hover {
  background: #cc542a;
}

.login-dialog .login-input-wrap input:focus,
.login-dialog .register-textarea-wrap textarea:focus {
  border-color: #e99a76;
  box-shadow: 0 0 0 3px rgba(233, 104, 55, 0.12);
}

.login-dialog .login-register a {
  color: #c85c32 !important;
}

.auth-popup-overlay {
  background: rgba(57, 34, 24, 0.5);
}

.auth-popup-close {
  background: #fff3ec;
  color: #b94d26;
}

.auth-popup-close:hover,
.auth-popup-close:focus-visible {
  background: #ffe4d5;
  color: #a53d1c;
}

.auth-popup-close:focus-visible {
  outline-color: rgba(233, 104, 55, 0.4);
}
