.plans-loading,
.plans-error,
.plans-empty {
  text-align: center;
  color: #3D1825;
  font-weight: 700;
  padding: 2rem 1rem;
  background: #f8f9ff;
  border-radius: 12px;
  border: 1px solid rgba(61,24,37,0.08);
}

.member-login-section {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.member-login-title {
  color: #3D1825;
  margin-bottom: 1rem;
}

.member-login-lead {
  margin-bottom: 1.5rem;
  color: #666;
}

.checkbox-group--spaced {
  margin-bottom: 1.25rem;
}

.registration-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  align-items: center;
  justify-content: center;
  place-items: center;
  place-content: center;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
  overflow: visible;
}

.registration-modal.open {
  display: grid;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
}

.modal-dialog {
  position: fixed;
  z-index: 10000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 760px;
  width: calc(100% - 32px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  padding: 2.5rem;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: #3D1825;
}

.register-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #b3261e;
  margin: 0 0 0.25rem;
}

.register-header h2 {
  margin: 0 0 0.5rem;
  color: #3D1825;
}

.register-lead {
  margin: 0;
  color: #555;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: #333;
  font-weight: 600;
}

.form-group .required {
  color: #dc3545;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #3D1825;
  box-shadow: 0 0 0 3px rgba(61,24,37,0.12);
}

.form-group input.error {
  border-color: #dc3545;
}

.password-strength {
  margin-top: 0.4rem;
  height: 4px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  display: none;
}

.password-strength.show {
  display: block;
}

.password-strength-bar {
  height: 100%;
  width: 0;
  transition: width 0.3s ease, background 0.3s ease;
}

.password-strength-bar.weak { width: 33%; background: #dc3545; }
.password-strength-bar.medium { width: 66%; background: #ffc107; }
.password-strength-bar.strong { width: 100%; background: #28a745; }

.password-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #666;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.checkbox-group a { color: #3D1825; font-weight: 600; }

.business-fields {
  border: 1px solid rgba(61,24,37,0.12);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: #fdf9fb;
  margin-bottom: 1.25rem;
  display: none;
}

.business-fields.active { display: block; }

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: #3D1825;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-submit:hover { background: #5d2d3f; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(61,24,37,0.25); }
.btn-submit:disabled { background: #c7c7c7; cursor: not-allowed; transform: none; box-shadow: none; }

.error-message {
  color: #dc3545;
  font-size: 0.88rem;
  display: none;
}

.error-message.show { display: block; }

.alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  display: none;
  border: 1px solid transparent;
}

.alert.show { display: block; }
.alert-success { background: #e7f4e8; color: #1b5e20; border-color: #cde9d2; }
.alert-error { background: #fde8e8; color: #b3261e; border-color: #f6c7c7; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .register-card { padding: 1.75rem; }
}
