.auth-login-button {
  border: 0;
  background: transparent;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-floating-button {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 70;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink, #191513);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 16px 42px rgba(26, 18, 14, 0.18);
}

.auth-modal-open {
  overflow: hidden;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 18, 16, 0.46);
  backdrop-filter: blur(10px);
}

.auth-modal {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(255, 247, 236, 0.52);
  border-radius: 28px;
  padding: 28px;
  color: var(--ink, #191513);
  background:
    linear-gradient(145deg, rgba(255, 253, 250, 0.98), rgba(245, 234, 216, 0.96));
  box-shadow: 0 34px 90px rgba(21, 15, 12, 0.34);
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(25, 21, 19, 0.1);
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.8);
  cursor: pointer;
  font-weight: 900;
}

.auth-kicker {
  margin: 0 0 8px;
  color: #85444a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-modal h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0;
}

.auth-copy,
.auth-message {
  color: var(--muted, #6f6460);
  line-height: 1.55;
}

.auth-google,
.auth-form button,
.auth-account-card button,
.auth-account-link {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 247, 236, 0.7);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 1), rgba(238, 222, 198, 0.98));
  box-shadow: 0 16px 36px rgba(91, 65, 50, 0.16);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink, #191513);
  text-decoration: none;
}

.auth-google {
  margin: 8px 0 14px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted, #6f6460);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-form input {
  min-height: 44px;
  border: 1px solid rgba(25, 21, 19, 0.12);
  border-radius: 16px;
  padding: 0 13px;
  color: var(--ink, #191513);
  background: rgba(255, 253, 250, 0.86);
  font: inherit;
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(109, 52, 56, 0.42);
  box-shadow: 0 0 0 4px rgba(201, 132, 124, 0.12);
}

.auth-switch {
  width: 100%;
  margin-top: 14px;
  border: 0;
  color: #85444a;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.auth-account-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(25, 21, 19, 0.08);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.68);
}

.auth-account-card p,
.auth-account-card span {
  margin: 0;
  color: var(--muted, #6f6460);
}

.loyalty-banner {
  padding: 18px clamp(18px, 6vw, 88px);
  background: linear-gradient(90deg, rgba(245, 234, 216, 0.92), rgba(255, 253, 250, 0.96));
}

.loyalty-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.loyalty-banner strong {
  color: #6d3438;
}

.loyalty-banner p {
  margin: 0;
  color: var(--ink, #191513);
  font-weight: 800;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .auth-login-button {
    max-width: 96px;
    padding-inline: 10px;
    font-size: 0.64rem;
  }

  .auth-modal {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .loyalty-banner-inner {
    display: block;
  }
}

@media (max-width: 420px) {
  .auth-login-button {
    max-width: 58px;
    padding-inline: 7px;
  }
}
