/* Custom styles for the political landing page */
:root {
  --brazil-green: #009739;
  --brazil-yellow: #ffdf00;
  --brazil-blue: #002776;
}

/* Carousel transitions */
.carousel-slide {
  transition: opacity 1000ms ease-in-out;
}

/* Form animations */
.form-container {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Button hover effects */
.submit-button {
  transition: all 0.2s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 151, 57, 0.3);
}

/* Input focus effects */
.form-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 151, 57, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .form-title {
    font-size: 1.5rem;
  }
}

/* Loading animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
