/* Paychek marketing — HTML auth modal (no Flutter boot). */

.paychek-site-auth-root[hidden] {
  display: none !important;
}

.paychek-site-auth-root {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.paychek-site-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.paychek-site-auth-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  max-height: min(92vh, 40rem);
  overflow: auto;
  padding: 2.25rem 1.75rem 1.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.95);
  color: #e5e5e5;
  -webkit-font-smoothing: antialiased;
}

.paychek-site-auth-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 0.95rem;
}

.paychek-site-auth-close:hover {
  color: #fff;
}

.paychek-site-auth-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.paychek-site-auth-trial {
  margin: 0 0 1.35rem;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3b82f6;
}

.paychek-site-auth-trial[hidden] {
  display: none !important;
}

.paychek-site-auth-field {
  display: block;
  width: 100%;
  margin: 0 0 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.8rem;
  outline: none;
  box-sizing: border-box;
}

.paychek-site-auth-field:focus {
  border-color: rgba(255, 255, 255, 0.28);
}

.paychek-site-auth-field::placeholder {
  color: #6b7280;
}

.paychek-site-auth-name[hidden] {
  display: none !important;
}

.paychek-site-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 0.85rem;
  background: #fff;
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.paychek-site-auth-submit:hover {
  filter: brightness(0.96);
}

.paychek-site-auth-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.paychek-site-auth-forgot {
  display: inline-block;
  margin: 0.65rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.paychek-site-auth-forgot:hover {
  color: #fff;
}

.paychek-site-auth-forgot[hidden] {
  display: none !important;
}

.paychek-site-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0 0.9rem;
  color: #6b7280;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.paychek-site-auth-divider::before,
.paychek-site-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.paychek-site-auth-social {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.paychek-site-auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.paychek-site-auth-social-btn:hover {
  background: rgba(255, 255, 255, 0.07);
}

.paychek-site-auth-social-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.paychek-site-auth-social-btn i {
  font-size: 0.95rem;
}

.paychek-site-auth-switch {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
}

.paychek-site-auth-switch button {
  margin-left: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.paychek-site-auth-error {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.paychek-site-auth-error[hidden],
.paychek-site-auth-ok[hidden] {
  display: none !important;
}

.paychek-site-auth-ok {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

body.paychek-site-auth-open {
  overflow: hidden;
}
