/* Animations */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 1.5s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up 1.2s ease-out forwards;
}

/* Reusable Card Styling */
.card {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 128, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 128, 0, 0.2);
}

/* Button Styling */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #047857;
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #065f46;
  transform: scale(1.03);
}

/* Input & Textarea Styling */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #ccc;
  transition: border 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

/* Optional: Floating Label Support */
.floating-label {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-label input,
.floating-label textarea {
  padding: 1rem 1rem 0.5rem;
}

.floating-label label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: white;
  padding: 0 0.25rem;
  color: #6b7280;
  transition: all 0.2s ease;
  pointer-events: none;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  font-size: 0.75rem;
  color: #047857;
}
