.spark-register-form--clerk {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  max-width: 400px !important;
  width: 100%;
}

.spark-post__reg-form.spark-register-form--clerk,
.spark-post__reg-form .spark-clerk-card {
  max-width: 100% !important;
}

.spark-post__reg-form.spark-register-form--clerk {
  top: 100px;
}

@media screen and (max-height: 900px) {
  .spark-post__reg-form.spark-register-form--clerk {
    top: 100px;
  }
}

.admin-bar .spark-post__reg-form.spark-register-form--clerk {
  top: 132px;
}

.spark-clerk-card {
  --neutral-200: #e8edf2;
  --neutral-300: #d0d7de;
  --neutral-400: #9aa6b2;
  --neutral-500: #6b7785;
  --neutral-700: #1f2a37;
  --primary-500: #1379de;
  --primary-600: #0e5ca8;
  --primary-700: #27446a;
  --font-body: "Euclid Circular B", Inter, sans-serif;

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 400px;
  min-height: 0;
  padding: 28px 0 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  text-align: center;
  overflow: visible;
}

.spark-clerk-card__terms {
  margin: 0;
  padding: 0 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--neutral-500);
  text-align: center;
}

.spark-clerk-card__terms a {
  color: var(--primary-500);
}

.spark-clerk-card__skeleton {
  display: grid;
  gap: 1rem;
  padding: 0 24px;
}

.spark-clerk-card__skeleton-title,
.spark-clerk-card__skeleton-subtitle,
.spark-clerk-card__skeleton-input,
.spark-clerk-card__skeleton-btn {
  border-radius: 8px;
  background: var(--neutral-200);
}

.spark-clerk-card__skeleton-title {
  height: 32px;
  width: 70%;
  margin: 0 auto;
}

.spark-clerk-card__skeleton-subtitle {
  height: 20px;
  width: 90%;
  margin: 0 auto;
}

.spark-clerk-card__skeleton-input {
  height: 56px;
}

.spark-clerk-card__skeleton-btn {
  height: 52px;
  border-radius: 9999px;
}

#clerk-signin {
  width: 100%;
  overflow: visible;
}

.clerk-card-box,
.clerk-card {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.clerk-header-title {
  margin: 0 0 0.75rem;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.3px;
  color: var(--primary-700);
}

.clerk-header-subtitle {
  margin: 0 0 0.75rem;
  font-size: 15px;
  line-height: 22px;
  color: var(--neutral-500);
}

.clerk-label-row,
.clerk-password-row,
.clerk-btn-arrow,
.clerk-footer,
.clerk-edit-icon {
  display: none;
}

.clerk-input,
.clerk-input-email {
  box-sizing: border-box;
  width: 100%;
  max-height: 56px;
  padding: 20px 16px;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--neutral-700);
  background: #fff;
  text-align: left;
}

.clerk-btn-primary {
  width: 100%;
  padding: 14px 24px;
  border: 0;
  border-radius: 9999px;
  background: var(--primary-500);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  cursor: pointer;
}

.clerk-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 44px;
  padding: 0 0.4rem;
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
}

.clerk-social-icon,
.spark-clerk-card #clerk-signin .cl-socialButtonsProviderIcon,
.spark-clerk-card #clerk-signin .cl-providerIcon {
  flex-shrink: 0;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  overflow: visible !important;
}

.clerk-social-text {
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

.spark-clerk-card #clerk-signin .cl-rootBox,
.spark-clerk-card #clerk-signin .cl-cardBox,
.spark-clerk-card #clerk-signin .cl-card,
.spark-clerk-card #clerk-signin .cl-main,
.spark-clerk-card #clerk-signin .clerk-card-box,
.spark-clerk-card #clerk-signin .clerk-card {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  overflow: visible !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: stretch !important;
}

.spark-clerk-card #clerk-signin .cl-card,
.spark-clerk-card #clerk-signin .clerk-card {
  padding: 0 20px !important;
  margin: 0 !important;
}

.spark-clerk-card #clerk-signin .cl-headerTitle,
.spark-clerk-card #clerk-signin .cl-headerSubtitle,
.spark-clerk-card #clerk-signin .clerk-header-title,
.spark-clerk-card #clerk-signin .clerk-header-subtitle {
  width: 100%;
  text-align: center !important;
}

.spark-clerk-card #clerk-signin .cl-socialButtons,
.spark-clerk-card #clerk-signin .cl-socialButtonsRoot {
  display: flex;
  flex-wrap: nowrap;
  justify-content: stretch;
  gap: 0.4rem;
  width: 100%;
  overflow: visible;
}

.spark-clerk-card #clerk-signin .cl-footer,
.spark-clerk-card #clerk-signin .cl-footerAction,
.spark-clerk-card #clerk-signin .clerk-footer {
  display: none !important;
  height: 0 !important;
  overflow: hidden;
}

.spark-clerk-card #clerk-signin .cl-socialButtonsBlockButton,
.spark-clerk-card #clerk-signin .clerk-social-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  overflow: visible;
  box-sizing: border-box;
}
