/* Contact Form Styles */

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-group {
  display: grid;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.form-label-required::after {
  content: " *";
  color: #dc2626;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkboxes {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 0.05rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.form-checkbox:checked {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='11' viewBox='0 0 14 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.5L5 9.5L13 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.form-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.1);
}

.form-checkbox-label {
  font-size: 0.96rem;
  color: rgba(16, 19, 24, 0.85);
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
}

.form-help {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.form-error {
  color: #dc2626;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.form-success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #15803d;
  font-weight: 600;
}

.form-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* Submit button specific styling */
.btn-submit {
  min-width: 160px;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Responsive */
@media (max-width: 680px) {
  .form-actions {
    flex-direction: column;
  }
  
  .btn-submit {
    width: 100%;
  }
}
