/* Component Title */
h3[style*="font-size: 1.2rem"] { 
  font-size: 1.2rem;
  margin: 40px 0 15px 0; 
  font-weight: 500;
}

.termin-buchen-filters {
  position: relative;
}

/* Swiper Container */
.appointments-swiper-container {
  display: none;
  width: 100%;
  height: 120px; /* Height for 2 rows of cards */
  box-sizing: content-box;
  overflow: hidden; /* Crucial to hide slides outside the viewport */
  position: relative; /* Good practice for swiper containers */
}

/* Swiper Slide is now a column container */
.swiper-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

/* Service Card Styling */
.service-card {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%; /* Take up full space of parent */
  flex-grow: 1; /* Each card grows equally */
  background-color: var(--card-bg);
  border-radius: 12px;
  /* box-shadow: 0 1px 3px rgba(0,0,0,0.05); */
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out, border 0.2s ease-in-out;
  border: 1px solid var(--card-border-color);
}

/* .service-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
} */

.service-card-image {
  width: 60px;
  height: 100%;
  flex-shrink: 0;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  font-weight: bold;
  font-size: 20px;
}

.service-card-text {
  padding: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Loader Styling */
.termin-buchen-loader {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  height: 120px; /* Matches swiper height */
  box-sizing: border-box;
}

.termin-buchen-loader-item {
  display: flex;
  align-items: center;
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
}

.termin-buchen-loader-image {
  width: 60px;
  height: 100%;
  background-color: var(--card-bg);
  animation: pulse 1.5s infinite ease-in-out;
}

.termin-buchen-loader-text {
    width: calc(100% - 60px);
    padding: 15px;
}

.termin-buchen-loader-text-line {
  width: 80%;
  height: 16px;
  background-color: var(--card-bg);
  border-radius: 4px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}
