/* Base animation settings */
.animated {
  animation-duration: 1.5s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeIn {
  animation-name: fadeIn;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%, 75% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
}

.shake {
  animation-name: shake;
}

/* Professional, modern form wrapper */
.saf-search-form {
  max-width: 100%;
  width: 100%;
  padding: 30px;
  background: linear-gradient(135deg, #ffffff, #f2f6fa);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin: 30px auto;
  transition: box-shadow 0.4s ease-in-out, transform 0.3s ease;
}

.saf-search-form:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 24px rgba(0, 123, 255, 0.15);
}

/* Input styling */
.saf-search-form .form-control {
  border: 1px solid #ced4da;
  border-radius: 8px;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 12px 15px;
  font-size: 1rem;
}

.saf-search-form .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  outline: none;
}

/* Button styles */
.saf-search-form button {
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: #0d6efd;
  color: #fff;
  border: none;
}

.saf-search-form button:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.3);
}

.saf-search-form button:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.5);
}

/* Responsive layout tweaks */
@media (max-width: 768px) {
  .saf-search-form .form-control,
  .saf-search-form button {
    width: 100%;
    margin-bottom: 15px;
  }
}

/* Typography improvements */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f1f4f8;
  color: #212529;
}
