/*
 * Styles for the RORO registration form.  Provides a clean layout with a
 * step indicator, grid layouts for paired fields, and success/error
 * feedback styling.  The design is responsive: on narrow screens
 * the grid collapses to a single column.
 */

.roro-register {
  max-width: 800px;
  margin: 24px auto;
  padding: 16px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.roro-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.roro-step {
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  border-radius: 4px;
  color: #777;
}

.roro-step--active {
  background: #0f6;
  border-color: #0c4;
  color: #033;
  font-weight: 600;
}

.roro-pane {
  display: none;
}

.roro-pane--active {
  display: block;
}

.roro-field {
  margin-bottom: 12px;
}

.roro-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.roro-field input[type="text"],
.roro-field input[type="email"],
.roro-field input[type="password"],
.roro-field input[type="date"],
.roro-field input[type="number"],
.roro-field textarea,
.roro-field select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.roro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .roro-grid {
    grid-template-columns: 1fr;
  }
}

.roro-req {
  color: #c00;
  font-size: 12px;
}

.roro-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.roro-actions button {
  padding: 10px 16px;
  border: none;
  background: #0a6;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.roro-actions button.roro-prev {
  background: #777;
}

.roro-actions button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.roro-result {
  margin-top: 16px;
  padding: 12px;
  border-radius: 4px;
  display: block;
}

.roro-result.success {
  background: #e8fff0;
  border: 1px solid #b7f0c3;
  color: #094;
}

.roro-result.error {
  background: #fff0f0;
  border: 1px solid #f3c0c0;
  color: #900;
}

/* Breed suggest dropdown */
.roro-breed-suggest {
  position: relative;
  border: 1px solid #ccc;
  background: #fff;
  margin-top: 4px;
  max-height: 220px;
  overflow: auto;
  z-index: 9999;
}

.roro-suggest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roro-suggest-list li {
  padding: 8px;
  cursor: pointer;
}

.roro-suggest-list li:hover {
  background: #f3f3f3;
}