/* ===== FORM MESSAGE STYLES ===== */
.form-message {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
  position: relative;
  border-left: 4px solid;
}

.form-message-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #166534;
  border-left-color: #22c55e;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.form-message-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border-left-color: #ef4444;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.form-message-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  border-left-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.form-message::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 2px 2px 0;
  animation: pulse 2s infinite;
}

.form-message-success::before {
  background: #22c55e;
}

.form-message-error::before {
  background: #ef4444;
}

.form-message-info::before {
  background: #3b82f6;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Loading state for submit button */
.form-submit:disabled {
  background: #94a3b8 !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.form-submit:disabled:hover {
  background: #94a3b8 !important;
  transform: none;
}