.dzoo-daily-schedule-api-block {
  max-width: 700px;
  margin: 1em auto;
  font-family: 'GT Ultra', sans-serif;
  @media (max-width: 768px) {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}
.dzoo-daily-schedule-loading {
  color: #257924;
  font-weight: bold;
  font-style: italic;
  margin-bottom: 1em;
}
.dzoo-daily-schedule-output {
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 1em;
  border-radius: 4px;
  font-size: 1em;
  overflow-x: auto;
  white-space: pre-wrap;
}

/* Location Filter Styles */
.dzoo-schedule-filter {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

.dzoo-schedule-filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #257924 0%, #8ED84A 100%);
  border-radius: 12px 12px 0 0;
}

.dzoo-schedule-filter label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #257924;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dzoo-category-filter {
  width: 100%;
  max-width: 300px;
  padding: 0.875rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.dzoo-category-filter:focus {
  outline: none;
  border-color: #8ED84A;
  box-shadow: 0 0 0 3px rgba(142, 216, 74, 0.15);
  transform: translateY(-1px);
}

.dzoo-category-filter:hover {
  border-color: #8ED84A;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dzoo-schedule-count {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(37, 121, 36, 0.05);
  border-radius: 6px;
  font-size: 0.9rem;
  color: #555;
  font-style: normal;
  border-left: 3px solid #8ED84A;
}

.dzoo-schedule-count span {
  font-weight: 700;
  color: #257924;
  font-size: 1rem;
}

/* Schedule Cards Styles */
.dzoo-schedule-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.dzoo-schedule-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
  outline: none;
}

/* Enhanced focus styles for better accessibility */
.dzoo-schedule-card:focus-within {
  border-color: #8ED84A;
  box-shadow: 0 0 0 3px rgba(37, 121, 36, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Focus styles for card content when navigating */
.dzoo-schedule-card-title:focus {
  outline: none;
  color: #1a5a1a;
  text-decoration: underline;
}

/* Better focus indicator for keyboard navigation */
.dzoo-schedule-card:focus-visible {
  outline: 2px solid #8ED84A;
  outline-offset: 2px;
  position: relative;
}

.dzoo-schedule-card:focus-visible::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid #8ED84A;
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}

/* Improved hover states for better accessibility */
.dzoo-schedule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: #8ED84A;
}

/* Active state for better feedback */
.dzoo-schedule-card:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* High contrast focus indicator for better accessibility */
@media (prefers-contrast: high) {
  .dzoo-schedule-card:focus {
    outline: 3px solid #000;
    outline-offset: 2px;
  }
  
  .dzoo-schedule-card:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .dzoo-schedule-card {
    transition: none;
  }
  
  .dzoo-schedule-card:hover,
  .dzoo-schedule-card:focus {
    transform: none;
  }
  
  .dzoo-schedule-card-image img {
    transition: none;
  }
  
  .dzoo-schedule-card:hover .dzoo-schedule-card-image img {
    transform: none;
  }
}

/* Hidden state for filtered cards */
.dzoo-schedule-card[style*="display: none"] {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
}

.dzoo-schedule-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.dzoo-schedule-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dzoo-schedule-card:hover .dzoo-schedule-card-image img {
  transform: scale(1.05);
}

.dzoo-schedule-card-content {
  padding: 1.5rem;
}

.dzoo-schedule-card-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #257924;
  line-height: 1.3;
  text-transform: uppercase;
}

.dzoo-schedule-card-time {
  color: #8ED84A;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: 'GT Ultra', sans-serif;
}

.dzoo-schedule-card-body {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.dzoo-schedule-card-body p {
  margin: 0 0 0.5rem 0;
}

.dzoo-schedule-card-body p:last-child {
  margin-bottom: 0;
}
.dzoo-schedule-card-body,
.dzoo-schedule-card-body p,
.dzoo-schedule-card-body span,
.dzoo-schedule-card-body div {
  font-family: 'GT Ultra', sans-serif !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #000 !important;
  white-space: normal;


}
.dzoo-schedule-card-body ul{
  padding-left: 1.25rem;
}
.dzoo-schedule-card-body ul,
.dzoo-schedule-card-body ol,
.dzoo-schedule-card-body li,
.dzoo-schedule-card-body i {
  font-family: 'GT Ultra', sans-serif !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  text-align: left !important;
  font-style: normal !important;
  color: #000 !important;
}

/* Timestamp Display Styles */
.dzoo-schedule-timestamp {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.dzoo-refresh-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: #888;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dzoo-refresh-btn:hover {
  color: #257924;
  background: rgba(37, 121, 36, 0.1);
  transform: scale(1.1);
}

.dzoo-refresh-btn:active {
  transform: scale(0.95);
}

.dzoo-refresh-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 121, 36, 0.3);
}

.dzoo-refresh-btn svg {
  width: 16px;
  height: 16px;
}

/* Hidden state for button cooldown */
.dzoo-refresh-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

/* Refresh loading and error messages */
.dzoo-refresh-loading {
  background: rgba(37, 121, 36, 0.1);
  color: #257924;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  border-left: 3px solid #8ED84A;
}

.dzoo-refresh-error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  border-left: 3px solid #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dzoo-schedule-filter {
    padding: 0.75rem;
  }
  
  .dzoo-category-filter {
    max-width: 100%;
  }
  
  .dzoo-schedule-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .dzoo-schedule-card-content {
    padding: 1rem;
  }
  
  .dzoo-schedule-card-title {
    font-size: 1.1rem;
  }
}

/* Back to Top Button Styles */
.dzoo-back-to-top-container {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
}

.dzoo-back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #257924 0%, #8ED84A 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600; */
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 121, 36, 0.3);
  text-decoration: none;
}

.dzoo-back-to-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 121, 36, 0.4);
  background: white;
}

.dzoo-back-to-top-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 121, 36, 0.3), 0 4px 12px rgba(37, 121, 36, 0.4);
  transform: translateY(-2px);
}

.dzoo-back-to-top-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(37, 121, 36, 0.3);
}

.dzoo-back-to-top-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.dzoo-back-to-top-btn:hover svg {
  transform: translateY(-1px);
}

/* High contrast support for back to top button */
@media (prefers-contrast: high) {
  .dzoo-back-to-top-btn {
    border: 2px solid #000;
  }
  
  .dzoo-back-to-top-btn:focus {
    outline: 3px solid #000;
    outline-offset: 2px;
  }
}

/* Reduced motion support for back to top button */
@media (prefers-reduced-motion: reduce) {
  .dzoo-back-to-top-btn {
    transition: none;
  }
  
  .dzoo-back-to-top-btn:hover,
  .dzoo-back-to-top-btn:focus {
    transform: none;
  }
  
  .dzoo-back-to-top-btn svg {
    transition: none;
  }
  
  .dzoo-back-to-top-btn:hover svg {
    transform: none;
  }
}

/* Screen reader only class for accessibility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
} 