/**
 * Contact Form Styles
 * Custom styles for form validation and messages
 */

/* Success Message */
.returnmessage {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.returnmessage.success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #ffffff;
  border: 1px solid #28a745;
  animation: slideDown 0.3s ease-out;
}

/* Error Message */
.empty_notice {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.empty_notice.error {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: #ffffff;
  border: 1px solid #dc3545;
  animation: slideDown 0.3s ease-out;
}

/* Loading State for Submit Button */
.tm_tm_button a.loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Form Input Focus States */
.contact_form input:focus,
.contact_form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Form Input Error States */
.contact_form input.error,
.contact_form textarea.error {
  border-color: #dc3545;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .returnmessage,
  .empty_notice {
    padding: 12px 15px;
    font-size: 13px;
  }
}

