/* AuthHub - przycisk logowania Google */

.authhub-google-block {
  margin: 0 0 18px;
}

.authhub-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  min-height: 44px;
  border: 1px solid #dadce0;
  border-radius: 6px;
  background: #fff;
  color: #3c4043;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.authhub-google-btn:hover,
.authhub-google-btn:focus {
  background: #f7f8f8;
  box-shadow: 0 1px 3px rgba(60, 64, 67, .3);
  color: #202124;
  text-decoration: none;
}

.authhub-google-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.authhub-google-sep {
  position: relative;
  margin-top: 16px;
  text-align: center;
}

.authhub-google-sep::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

.authhub-google-sep span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.authhub-google-btn:focus-visible,
.authhub-setup-page :is(button, input, select):focus-visible,
.ep-preparing-page :is(button, a):focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

#slugStatus[data-state="error"] { color: #b91c1c; }
#slugStatus[data-state="success"] { color: #166534; }
#slug[aria-invalid="true"] { border-color: #b91c1c; }

@media (max-width: 767px) {
  .authhub-customer-login .btn,
  .authhub-setup-page .btn,
  .ep-preparing-page .btn {
    min-height: 44px;
  }
}

.authhub-wordmark {
  color: #0f172a;
  font-size: 21px;
  font-weight: 700;
}

/* Wspólny układ ekranów konfiguracji oparty na formularzach Perfex. */
html.authhub-onboarding-root { font-size: 16px; }
body.authhub-setup-page,
body.ep-preparing-page {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #475569;
}
.authhub-onboarding {
  max-width: 34rem;
  min-width: 0;
  padding: 56px 16px 40px;
}
.authhub-onboarding .company-logo { padding: 25px 10px; }
.authhub-onboarding-card .form-control { min-height: 44px; }
#addressGroup .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}
#addressGroup .input-group > .form-control {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
}
#addressGroup .input-group-addon {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  height: auto;
}
.authhub-onboarding-card [hidden] { display: none !important; }
.authhub-address { overflow-wrap: anywhere; }
.authhub-onboarding .ep-step:not(:last-child)::after { top: 14px; }
@media (max-width: 575px) {
  .authhub-onboarding { padding: 24px 12px 28px; }
  .authhub-onboarding .company-logo { padding: 12px 10px 16px; }
  .authhub-onboarding-card { padding: 22px 16px; }
}
@media (max-width: 480px) {
  .authhub-onboarding .ep-step:not(:last-child)::after { top: 12px; }
}
