#bbg-registration-form-wrapper {
  max-width: 700px;
  margin: 2rem auto;
}

.bbg-form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
}

.bbg-form h3 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #333;
}

.bbg-form-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .bbg-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bbg-form-group {
  display: flex;
  flex-direction: column;
}

.bbg-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #444;
}

.bbg-form input,
.bbg-form select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bbg-form input:focus,
.bbg-form select:focus {
  outline: none;
  border-color: #b52122;
  box-shadow: 0 0 0 3px rgba(181, 33, 34, 0.1);
}

.bbg-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  border: none;
  background-color: #b52122; /* Accent color from theme */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bbg-btn:hover,
.bbg-btn:disabled {
  background-color: #8e1a1b;
}

.bbg-btn:disabled {
  cursor: not-allowed;
}

#bbg-form-feedback {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  text-align: center;
  display: none;
}

#bbg-form-feedback.success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

#bbg-form-feedback.error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}
