@charset "UTF-8";
/**
 * Auth styles – entry point.
 * Build: npm run build:css (or npm run build:css:auth).
 * Output: ../auth.css
 *
 * Scoped with body.hos-auth-page so theme overrides WP/WooCommerce.
 * Uses Sass nesting and & for proper syntax.
 *
 * @package HomeOfSelf
 * @since 1.0.0
 */
/**
 * Auth CSS custom properties.
 * Build: npm run build:css (or build:css:auth).
 * Enqueued after Astra + WooCommerce so theme overrides apply.
 *
 * @package HomeOfSelf
 * @since 1.0.0
 */
:root {
  --hos-auth-primary: #9C5AA3;
  --hos-auth-primary-hover: #1E1E1E;
  --hos-auth-primary-light: rgba(155, 125, 184, 0.08);
  --hos-auth-bg: #faf6f0;
  /* Set by Auth_Controller via wp_add_inline_style to theme assets/bg-grafic.svg */
  --hos-auth-bg-image: none;
  /* Overlay on top of bg image: 0.2 = image shows at 80% (0.8 opacity) */
  --hos-auth-bg-overlay-opacity: 0.5;
  --hos-auth-bg-overlay-color: #faf6f0;
  --hos-auth-card-bg: #ffffff;
  --hos-auth-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --hos-auth-card-radius: 1rem;
  --hos-auth-text: #1E1E1E;
  --hos-auth-text-muted: #6b7280;
  --hos-auth-text-light: #9ca3af;
  --hos-auth-border: #e5e7eb;
  --hos-auth-input-bg: #f9fafb;
  --hos-auth-input-border: #e5e7eb;
  --hos-auth-input-focus: #9b7db8;
  --hos-auth-input-radius: 1.5rem;
  --hos-auth-error: #dc2626;
  --hos-auth-error-bg: #fef2f2;
  --hos-auth-success: #16a34a;
  --hos-auth-success-bg: #f0fdf4;
  --hos-auth-warning: #f59e0b;
  --hos-auth-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hos-auth-transition: 0.2s ease;
}

body.hos-auth-page {
  background: var(--hos-auth-bg) !important;
}
body.hos-auth-page .ast-container,
body.hos-auth-page #primary {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.hos-auth-page header,
body.hos-auth-page .entry-header,
body.hos-auth-page .page-header,
body.hos-auth-page .ast-breadcrumbs-wrapper,
body.hos-auth-page .entry-title,
body.hos-auth-page .ast-page-builder-template .entry-header,
body.hos-auth-page footer {
  display: none !important;
}
body.hos-auth-page #content > .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}
body.hos-auth-page #secondary,
body.hos-auth-page .ast-separate-container .ast-article-single {
  display: none !important;
}
body.hos-auth-page .ast-separate-container .ast-article-post,
body.hos-auth-page .ast-separate-container .ast-article-single {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body.hos-auth-page .hos-auth {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem 1rem;
  overflow: hidden;
  box-sizing: border-box;
}
body.hos-auth-page .hos-auth *, body.hos-auth-page .hos-auth *::before, body.hos-auth-page .hos-auth *::after {
  box-sizing: border-box;
}
body.hos-auth-page .hos-auth__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  background-image: var(--hos-auth-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
body.hos-auth-page .hos-auth__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hos-auth-bg-overlay-color);
  opacity: var(--hos-auth-bg-overlay-opacity);
}
body.hos-auth-page .hos-auth__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--hos-auth-card-bg);
  border-radius: var(--hos-auth-card-radius);
  box-shadow: var(--hos-auth-card-shadow);
  padding: 2rem 1.5rem;
  text-align: center;
}
body.hos-auth-page .hos-auth__logo {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 5rem;
  text-decoration: none;
}
body.hos-auth-page .hos-auth__logo-img {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 auto;
}
body.hos-auth-page .hos-auth__title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--hos-auth-text);
  margin: 0 0 0.375rem;
  line-height: 1.3;
}
body.hos-auth-page .hos-auth__subtitle {
  font-size: 0.875rem;
  color: var(--hos-auth-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
body.hos-auth-page .hos-auth a.hos-auth__link {
  font-size: unset;
  color: var(--hos-auth-text);
  text-decoration: underline;
  font-weight: 700;
  transition: color var(--hos-auth-transition);
}
body.hos-auth-page .hos-auth a.hos-auth__link:hover, body.hos-auth-page .hos-auth a.hos-auth__link:focus-visible {
  color: var(--hos-auth-primary-hover);
  text-decoration: underline;
}
body.hos-auth-page .hos-auth form.hos-auth__form {
  text-align: left;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--hos-auth-input-radius);
}
body.hos-auth-page .hos-auth__field {
  margin-bottom: 1rem;
}
body.hos-auth-page .hos-auth__field--terms {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}
body.hos-auth-page .hos-auth__field--terms .hos-auth__remember-text {
  font-size: 0.75rem;
}
body.hos-auth-page .hos-auth__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hos-auth-text);
  margin-bottom: 0.375rem;
  line-height: 1.4;
}
body.hos-auth-page .hos-auth__required {
  color: var(--hos-auth-error);
}
body.hos-auth-page .hos-auth__input {
  width: 100%;
  height: 2.875rem;
  padding: 0 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--hos-auth-font);
  color: var(--hos-auth-text);
  background: var(--hos-auth-input-bg);
  border: 1px solid var(--hos-auth-input-border);
  border-radius: var(--hos-auth-input-radius);
  outline: none;
  transition: border-color var(--hos-auth-transition), box-shadow var(--hos-auth-transition);
  -webkit-appearance: none;
  appearance: none;
}
body.hos-auth-page .hos-auth__input::placeholder {
  color: var(--hos-auth-text-light);
  opacity: 1;
}
body.hos-auth-page .hos-auth__input:focus {
  border-color: var(--hos-auth-input-focus);
  box-shadow: 0 0 0 3px rgba(155, 125, 184, 0.15);
  background: var(--hos-auth-card-bg);
}
body.hos-auth-page .hos-auth__input--error, body.hos-auth-page .hos-auth__input.has-error {
  border-color: var(--hos-auth-error);
}
body.hos-auth-page .hos-auth__input--error:focus, body.hos-auth-page .hos-auth__input.has-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
body.hos-auth-page .hos-auth__input:focus-visible {
  outline: none;
}
body.hos-auth-page .hos-auth__input-wrap {
  position: relative;
}
body.hos-auth-page .hos-auth__input-wrap .hos-auth__input {
  padding-right: 3rem;
}
body.hos-auth-page .hos-auth__toggle-pw {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--hos-auth-text-light);
  transition: color var(--hos-auth-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
}
body.hos-auth-page .hos-auth__toggle-pw:hover, body.hos-auth-page .hos-auth__toggle-pw:focus-visible {
  color: var(--hos-auth-text);
}
body.hos-auth-page .hos-auth__row {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}
body.hos-auth-page .hos-auth__row--between {
  justify-content: space-between;
}
body.hos-auth-page .hos-auth__remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}
body.hos-auth-page .hos-auth__checkbox {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--hos-auth-primary);
  border-radius: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
body.hos-auth-page .hos-auth__remember-text {
  font-size: 0.8125rem;
  color: var(--hos-auth-text-muted);
  line-height: 1.4;
}
body.hos-auth-page .hos-auth__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.875rem;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--hos-auth-primary);
  border: none;
  border-radius: var(--hos-auth-input-radius);
  cursor: pointer;
  transition: background var(--hos-auth-transition), transform 0.1s ease, box-shadow var(--hos-auth-transition);
  text-decoration: none;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}
body.hos-auth-page .hos-auth__btn:hover, body.hos-auth-page .hos-auth__btn:focus-visible {
  background: var(--hos-auth-primary-hover);
  box-shadow: 0 2px 8px rgba(155, 125, 184, 0.3);
}
body.hos-auth-page .hos-auth__btn:active {
  transform: translateY(1px);
}
body.hos-auth-page .hos-auth__btn:disabled, body.hos-auth-page .hos-auth__btn.is-loading {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}
body.hos-auth-page .hos-auth__btn.is-loading .hos-auth__btn-text {
  opacity: 0.6;
}
body.hos-auth-page .hos-auth__btn.is-loading .hos-auth__btn-spinner {
  display: block;
}
body.hos-auth-page .hos-auth__btn-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hos-spin 0.6s linear infinite;
}
body.hos-auth-page .hos-auth__forgot {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.8125rem;
}
body.hos-auth-page .hos-auth__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
body.hos-auth-page .hos-auth__divider::before, body.hos-auth-page .hos-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hos-auth-border);
}
body.hos-auth-page .hos-auth__divider-text {
  font-size: 0.75rem;
  color: var(--hos-auth-text-light);
  text-transform: lowercase;
  font-weight: 500;
  white-space: nowrap;
}
body.hos-auth-page .hos-auth__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
body.hos-auth-page .hos-auth__social a,
body.hos-auth-page .hos-auth__social button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--hos-auth-border);
  background: var(--hos-auth-card-bg);
  text-decoration: none;
  color: var(--hos-auth-text);
  transition: border-color var(--hos-auth-transition), box-shadow var(--hos-auth-transition);
  cursor: pointer;
}
body.hos-auth-page .hos-auth__social a:hover, body.hos-auth-page .hos-auth__social a:focus-visible,
body.hos-auth-page .hos-auth__social button:hover,
body.hos-auth-page .hos-auth__social button:focus-visible {
  border-color: var(--hos-auth-primary);
  box-shadow: 0 2px 8px rgba(155, 125, 184, 0.12);
}
body.hos-auth-page .hos-auth__social img,
body.hos-auth-page .hos-auth__social svg {
  width: 20px;
  height: 20px;
}
body.hos-auth-page .hos-auth__legal {
  font-size: 0.6875rem;
  color: var(--hos-auth-text-light);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
body.hos-auth-page .hos-auth__legal-link {
  font-size: unset;
  color: var(--hos-auth-text-muted);
  text-decoration: underline;
  font-weight: 500;
}
body.hos-auth-page .hos-auth__legal-link:hover {
  color: var(--hos-auth-primary);
}
body.hos-auth-page .hos-auth__back-link {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
}
body.hos-auth-page .hos-auth #password_strength {
  display: none !important;
}
body.hos-auth-page .hos-auth__strength {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.4;
  min-height: 1.25rem;
}
body.hos-auth-page .hos-auth__strength-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--hos-auth-border);
  margin-bottom: 0.375rem;
  overflow: hidden;
}
body.hos-auth-page .hos-auth__strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0;
}
body.hos-auth-page .hos-auth__strength[data-level=weak] .hos-auth__strength-fill {
  width: 25%;
  background: var(--hos-auth-error);
}
body.hos-auth-page .hos-auth__strength[data-level=fair] .hos-auth__strength-fill {
  width: 50%;
  background: var(--hos-auth-warning);
}
body.hos-auth-page .hos-auth__strength[data-level=good] .hos-auth__strength-fill {
  width: 75%;
  background: #22c55e;
}
body.hos-auth-page .hos-auth__strength[data-level=strong] .hos-auth__strength-fill {
  width: 100%;
  background: var(--hos-auth-success);
}
body.hos-auth-page .hos-auth__strength-text {
  font-weight: 500;
}
body.hos-auth-page .hos-auth__strength[data-level=weak] .hos-auth__strength-text {
  color: var(--hos-auth-error);
}
body.hos-auth-page .hos-auth__strength[data-level=fair] .hos-auth__strength-text {
  color: var(--hos-auth-warning);
}
body.hos-auth-page .hos-auth__strength[data-level=good] .hos-auth__strength-text {
  color: #22c55e;
}
body.hos-auth-page .hos-auth__strength[data-level=strong] .hos-auth__strength-text {
  color: var(--hos-auth-success);
}
body.hos-auth-page .hos-auth .hos-auth__notice,
body.hos-auth-page .hos-auth .woocommerce-error,
body.hos-auth-page .hos-auth .woocommerce-message,
body.hos-auth-page .hos-auth .woocommerce-info,
body.hos-auth-page .hos-auth .wc-block-components-notice-banner {
  padding: 0.75rem 1rem;
  border-radius: var(--hos-auth-input-radius);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  list-style: none;
  text-align: left;
}
body.hos-auth-page .hos-auth .hos-auth__notice--error,
body.hos-auth-page .hos-auth .woocommerce-error,
body.hos-auth-page .hos-auth .wc-block-components-notice-banner.is-error {
  background: var(--hos-auth-error-bg);
  color: var(--hos-auth-error);
  border: 1px solid rgba(220, 38, 38, 0.15);
}
body.hos-auth-page .hos-auth .hos-auth__notice--success,
body.hos-auth-page .hos-auth .woocommerce-message,
body.hos-auth-page .hos-auth .wc-block-components-notice-banner.is-success {
  background: var(--hos-auth-success-bg);
  color: var(--hos-auth-success);
  border: 1px solid rgba(22, 163, 74, 0.15);
}
body.hos-auth-page .hos-auth .woocommerce-error::before,
body.hos-auth-page .hos-auth .woocommerce-message::before,
body.hos-auth-page .hos-auth .woocommerce-info::before {
  display: none;
}
body.hos-auth-page .hos-auth .woocommerce-error li {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.hos-auth-page .hos-auth .woocommerce-info,
body.hos-auth-page .hos-auth .wc-block-components-notice-banner.is-info {
  background: var(--hos-auth-primary-light);
  color: var(--hos-auth-text);
  border: 1px solid rgba(155, 125, 184, 0.15);
}
body.hos-auth-page .hos-auth *:focus-visible {
  outline: 2px solid var(--hos-auth-primary);
  outline-offset: 2px;
}
body.hos-auth-page .hos-auth .hos-auth__input:focus-visible {
  outline: none;
}
@media (min-width: 40em) {
  body.hos-auth-page .hos-auth {
    padding: 2rem;
  }
  body.hos-auth-page .hos-auth .hos-auth__card {
    padding: 2.5rem 2.25rem;
  }
  body.hos-auth-page .hos-auth .hos-auth__title {
    font-size: 1.75rem;
  }
  body.hos-auth-page .hos-auth .hos-auth__logo-img {
    height: 56px;
  }
}
@media (min-width: 64em) {
  body.hos-auth-page .hos-auth .hos-auth__card {
    padding: 3rem 2.5rem;
    max-width: 440px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.hos-auth-page .hos-auth,
  body.hos-auth-page .hos-auth * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@keyframes hos-spin {
  to {
    transform: rotate(360deg);
  }
}
