/* Full-page login / register / forgot — Babolat only */

body.bb-auth-body--page {
  background: #fff;
}

.bb-auth-page {
  --sf-auth-pink: var(--bb-accent, #74ecf7);
  --sf-auth-black: var(--bb-ink, #252323);
  --sf-auth-rule: var(--bb-line, #e6e4e2);
  min-height: 0 !important;
  padding: 2rem 0 1.5rem !important;
  background: #fff !important;
  background-image: none !important;
  font-family: var(--bb-font, "Promt", "Helvetica Neue", Arial, sans-serif);
}

.bb-auth-page__shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 1rem;
}

.bb-auth-page .sf-auth {
  --sf-auth-pink: var(--bb-accent, #74ecf7);
  --sf-auth-black: var(--bb-ink, #252323);
  --sf-auth-rule: var(--bb-line, #e6e4e2);
  font-family: var(--bb-font, "Promt", "Helvetica Neue", Arial, sans-serif);
}

.bb-auth-page .sf-auth__card {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 0.25rem 0 0;
  box-shadow: none;
}

.bb-auth-page .sf-auth__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bb-mute, #6b6765) !important;
}

.bb-auth-page .sf-auth__title {
  margin: 0 0 0.45rem;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--bb-ink, #252323) !important;
  text-transform: none !important;
}

.bb-auth-page .sf-auth__lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--bb-mute, #6b6765);
}

.bb-auth-page .sf-auth__flash {
  background: rgba(116, 236, 247, 0.14) !important;
  border-color: rgba(116, 236, 247, 0.55) !important;
  color: var(--bb-ink, #252323) !important;
  border-radius: var(--bb-radius, 8px);
}

.bb-auth-page .contact-outline-field {
  position: relative;
  margin-bottom: 1rem;
}

.bb-auth-page .contact-outline-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 1.05rem 1.1rem 0.65rem;
  font-family: var(--bb-font, "Promt", "Helvetica Neue", Arial, sans-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--bb-ink, #252323);
  background: #fff;
  border: 1px solid var(--bb-line, #e6e4e2) !important;
  border-radius: var(--bb-radius, 8px) !important;
  box-shadow: none;
}

.bb-auth-page .contact-outline-input::placeholder {
  color: transparent;
}

.bb-auth-page .contact-outline-input:focus {
  outline: none;
  border-color: rgba(116, 236, 247, 0.95) !important;
  box-shadow: 0 0 0 3px rgba(116, 236, 247, 0.22) !important;
}

.bb-auth-page .contact-outline-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--bb-mute, #6b6765);
  line-height: 1;
  pointer-events: none;
  background: #fff;
  padding: 0 0.35rem;
  margin: 0;
  transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
}

.bb-auth-page .contact-outline-field:focus-within .contact-outline-label,
.bb-auth-page .contact-outline-input:not(:placeholder-shown) + .contact-outline-label {
  top: 0;
  transform: translateY(-50%) scale(0.88);
  font-size: 0.78rem;
  color: var(--bb-ink, #252323) !important;
}

.bb-auth-page .contact-outline-field.is-locked .contact-outline-input {
  background: var(--bb-fog, #f5f5f5);
  color: var(--bb-mute, #6b6765);
  cursor: not-allowed;
  pointer-events: none;
}

.bb-auth-page .auth-password-field {
  position: relative;
}

.bb-auth-page .auth-password-input {
  padding-right: 4.25rem !important;
}

.bb-auth-page .auth-password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--bb-mute, #6b6765) !important;
  font-family: var(--bb-font, "Promt", "Helvetica Neue", Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem;
  cursor: pointer;
  z-index: 2;
}

.bb-auth-page .auth-password-toggle:hover {
  color: var(--bb-ink, #252323) !important;
}

.bb-auth-page .sf-auth__meta {
  display: flex;
  justify-content: flex-end;
  margin: -0.25rem 0 1rem;
}

.bb-auth-page .sf-auth__forgot {
  color: var(--bb-ink, #252323) !important;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bb-auth-page .sf-auth__forgot:hover {
  color: var(--bb-mute, #6b6765) !important;
}

.bb-auth-page .sf-auth__submit,
.bb-auth-page .sf-auth__submit.bb-btn,
.bb-auth-page button.sf-auth__submit[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0.15rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--bb-accent, #74ecf7) !important;
  border-radius: var(--bb-radius, 8px) !important;
  background: var(--bb-accent, #74ecf7) !important;
  color: var(--bb-ink, #252323) !important;
  font-family: var(--bb-font, "Promt", "Helvetica Neue", Arial, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none !important;
}

.bb-auth-page .sf-auth__submit:hover,
.bb-auth-page .sf-auth__submit:focus,
.bb-auth-page .sf-auth__submit:active {
  background: var(--bb-accent-deep, #4fd6e4) !important;
  border-color: var(--bb-accent-deep, #4fd6e4) !important;
  color: var(--bb-ink, #252323) !important;
}

.bb-auth-page .sf-auth__alt {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--bb-line, #e6e4e2);
  text-align: center;
  font-size: 0.9rem;
  color: var(--bb-mute, #6b6765);
}

.bb-auth-page .sf-auth__alt a {
  color: var(--bb-ink, #252323) !important;
  font-weight: 600;
}

.bb-auth-page .sf-auth__alt a:hover {
  color: var(--bb-mute, #6b6765) !important;
}

.bb-auth-page .sf-auth__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.bb-auth-page .sf-auth__phone {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.75rem;
}

.bb-auth-page .account-select-field .contact-outline-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23252323' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  cursor: pointer;
  padding-right: 2.25rem;
}

.bb-auth-page .auth-panel-error {
  margin: -0.55rem 0 0.85rem;
  font-size: 0.78rem;
  color: var(--bb-red, #e30613);
}

@media (max-width: 575px) {
  .bb-auth-page {
    padding: 1.5rem 0 1.25rem !important;
  }

  .bb-auth-page .sf-auth__card {
    padding: 0;
    box-shadow: none;
  }

  .bb-auth-page .sf-auth__title {
    font-size: 1.35rem;
  }

  .bb-auth-page .sf-auth__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bb-auth-page .sf-auth__phone {
    grid-template-columns: 1fr;
  }
}
