/* Contact page layout - similar to Angular version */

.contact-page {
  padding: 3rem 1rem;
  background: #f9fafb;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  padding: 2rem 2.25rem 2.5rem;
  border: 1px solid #e5e7eb;
}

.contact-header h1 {
  margin: 0 0 1.5rem 0;
  font-size: 1.6rem;
  font-weight: 600;
  color: #111827;
}

.contact-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.contact-alert-success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-alert i {
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-group label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.form-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-start;
}

.contact-submit-btn {
  min-width: 110px;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  border: none;
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.contact-submit-btn:hover {
  background-color: #1d4ed8;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.contact-submit-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 640px) {
  .contact-card {
    padding: 1.5rem 1.25rem 2rem;
  }
}


