
.form-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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


.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.3rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .5rem .875rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border-radius: .25rem;
  border: 1px solid var(--border-light);
  background-color: #fff;
  
}

.form-field input::placeholder,
.form-field select::placeholder,
.form-field textarea::placeholder {
  font-size: 0.875rem;
}

.form-field input[type="checkbox"] {
  width: auto;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}


/* Color picker styles start */
.form-field input[type="color"] {
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  outline: none;
  padding:2px;
  border:none;
  box-shadow: none;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-field input[type="color"]:hover {
  transform: scale(1.1);
}

.form-field input[type="color"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: scale(1);
}
/* Color picker styles end */

.errorlist {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  list-style: none;
  padding: 0;
}

.prefix-padding input {
  padding-left: 2.5rem!important;
}

input.error,
select.error,
textarea.error {
  border-color: #dc2626;
}


.submit-button {
  padding: 0.75rem 2rem;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.submit-button:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.helper-text {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
}




/* {{AS}} move this to a base.css */
