.company-form-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Rubik', sans-serif;
  /* background: #f8f9fa; */
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.5rem;
}

.form-header h1 {
  color: black;
  font-size: 3.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-header p {
  color: #7f8c8d;
  font-size: 1.4rem;
}

.form-section {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #672f89;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #ecf0f1;
}

.section-label {
  background: #672f89;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.section-header h2 {
  color: black;
  margin: 0;
  font-size: 2.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: #2c3e50;
  font-weight: 450;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #ecf0f1;
  border-radius: 6px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #672f89;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.catalogue-options {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-group input[type="radio"] {
  margin: 0;
}

.radio-group label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

.catalogue-input {
  margin-top: 0.5rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.checkbox-option:hover {
  background: #e9ecef;
}

.checkbox-option input[type="radio"] {
  margin: 0;
}

.checkbox-option label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
  color: #495057;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.submit-btn {
  background: #672f89;
  color: white;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .company-form-container {
    padding: 1rem;
  }

  .form-header h1 {
    font-size: 2rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-options {
    flex-direction: column;
    gap: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-label {
    margin-right: 0;
  }
}

/* Custom checkbox and radio styles */
input[type="radio"],
input[type="checkbox"] {
  accent-color: #672f89;
}

/* File input styling */
input[type="file"] {
  padding: 0.5rem;
  border: 2px dashed #bdc3c7;
  background: #f8f9fa;
}

input[type="file"]:focus {
  border-color: #672f89;
  border-style: solid;
}


.message {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}

.message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.submit-btn:disabled,
.submit-btn-disabled {
  background-color: #95a5a6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.submit-btn:disabled:hover,
.submit-btn-disabled:hover {
  background-color: #95a5a6 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Add required field asterisk */
label:has(+ input[required])::after,
label:has(+ select[required])::after,
label:has(+ textarea[required])::after {
  content: " *";
  color: #e74c3c;
}