/* =====================================================
   Registration Modal – "Get Started" form
   ===================================================== */

/* Modal backdrop */
.premium-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.premium-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Modal container */
.premium-modal {
  background: #0f172a;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  color: #e2e8f0;
}

.premium-modal h2 {
  margin: 0 0 1.5rem;
  color: #f39c12;
  font-size: 1.4rem;
}

/* Form elements */
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: #94a3b8;
  font-size: 0.9rem;
}
.form-group select,
.form-group input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 1rem;
}
.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 0 2px rgba(243,156,18,0.3);
}

/* Description text for company type */
.form-description {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.3rem;
}

/* Buttons */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.btn-submit {
  background: #f39c12;
  color: #0f172a;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-weight: bold;
  cursor: pointer;
  flex: 1;
  font-size: 1rem;
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-cancel {
  background: transparent;
  border: 1px solid #475569;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  cursor: pointer;
  flex: 1;
  font-size: 1rem;
}

/* Error message */
.form-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.8rem;
  display: none;
}
.form-error.visible {
  display: block;
}

/* Loading spinner inside button */
.btn-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #0f172a;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 0.5em;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Price display – green for positive action */
#priceDisplay {
  color: #22c55e;
  font-weight: 600;
  margin-top: 0.4rem;
}