/* İletişim Formu Mesaj Stilleri - Şık ve Sade */
.contact-form-message {
  margin-bottom: 15px;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  line-height: 1.6;
  animation: slideDownFade 0.4s ease-out;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Success Mesajı */
.contact-form-message--success {
  color: var(--color-green);
}

.contact-form-message--success::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #22c55e;
  color: white;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Error Mesajı */
.contact-form-message--error {
  color: var(--color-red);
}

.contact-form-message--error::before {
  content: "✕";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ef4444;
  color: white;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Field Error Mesajları */
.contact-form-field-error {
  display: none;
  margin-top: 8px;
  padding: 0 14px;
  color: var(--color-red);
  border-radius: 4px;
  font-size: 13px;
}

.contact-form-field-error.is-visible {
  display: block;
  animation: slideDownFade 0.3s ease-out;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-checkbox.has-error {
  padding: 12px;
  border-radius: 4px;
}

.form-checkbox.has-error label {
  color: var(--color-red);
}

/* Aydınlatma metni linki */
.form-checkbox label a,
.greenix-contact-consent__link {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.form-checkbox label a:hover,
.greenix-contact-consent__link:hover {
  color: rgba(59, 180, 74, 0.8);
  text-decoration: none;
}

/* Animasyon */
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form-message {
    padding: 10px 24px;
    font-size: 14px;
    margin-bottom: 24px;
  }

  .contact-form-message::before {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}
