/**
 * Service Partner Registration Form Styles
 */

/* Form container */
.service-partner-registration {
  max-width: 800px;
  margin: 0 auto;
}

/* Form sections */
.form-section {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-section h3 {
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

/* Form rows and groups */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px 15px;
}

.form-group {
  flex: 1;
  min-width: 200px;
  padding: 0 10px;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-group textarea {
  min-height: 100px;
}

/* Checkbox group */
.checkbox-group {
  margin-top: 5px;
}

.checkbox-label {
  display: block;
  margin-bottom: 8px;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px;
}

/* Required fields */
.required {
  color: #d63638;
  margin-left: 3px;
}

/* Form actions */
.form-actions {
  margin-top: 30px;
  text-align: center;
}

.submit-button {
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #005f8b;
}

/* Form validation */
.has-error input,
.has-error select,
.has-error textarea {
  border-color: #d63638;
}

.field-error {
  color: #d63638;
  font-size: 0.9em;
  margin-top: 5px;
}

/* Success/error messages */
.service-partner-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.service-partner-message.success {
  background-color: #ecf9ec;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.service-partner-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Responsive styles */
@media (max-width: 768px) {
  .form-group {
    flex: 0 0 100%;
  }
}
