
/* Swiper Navigation Controls */
.swiper-button-next,
.swiper-button-prev {
  display: none;
  color: #DE886D;
  font-size: 20px;
}

.arrow-next:focus,
.arrow-previous:focus {
  outline: none;
}

/* Active slide styling */
.swiper-slide.swiper-slide-active .card {
  opacity: 100%;
}

/* Form elements */
.submit-button:focus {
  outline: none;
}

/* Swiper wrapper overflow */
.swiper-wrapper {
  overflow-y: hidden !important;
}

/* Text field appearance */
.text-field {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 16px;
  }
  
  .typography-body-lt {
    font-size: 14px;
  }
  
  .typography-description {
    font-size: 12px;
  }
  
  .testimonials-description {
    font-size: 16px;
    margin-top: 24px;
  }
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #cccccc;
  opacity: 1;
  margin: 0 4px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #DE886D;
}

/* Swiper Navigation Buttons (if enabled) */

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
}

/* Accessibility */
.testimonial-card:focus-within {
  outline: 2px solid #DE886D;
  outline-offset: 2px;
}

/* Loading state */
.testimonials-container.loading {
  opacity: 0.6;
  pointer-events: none;
}

.testimonials-container.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #DE886D;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
