body, .font-sans {
  font-family: 'Schibsted Grotesk', sans-serif !important;
}
body {
  background: linear-gradient(247deg, hsl(240, 20%, 99%) 75%, hsl(37, 80%, 95%) 100%) !important;
  background-attachment: fixed !important;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.close-modal:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #374151;
  box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

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

.submit-btn {
  width: 100%;
  background-color: #111827;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #1f2937;
}

.submit-btn:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.success-message {
  display: none;
  text-align: center;
  color: #059669;
  background-color: #d1fae5;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.error-message {
  display: none;
  text-align: center;
  color: #dc2626;
  background-color: #fee2e2;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Support page specific styles */
.success-message.hidden {
  display: none !important;
}

.error-message.hidden {
  display: none !important;
}

.success-message:not(.hidden) {
  display: block;
  text-align: center;
  color: #059669;
  background-color: #d1fae5;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #a7f3d0;
}

.error-message:not(.hidden) {
  display: block;
  text-align: center;
  color: #dc2626;
  background-color: #fee2e2;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #fecaca;
}
