/**
 * CATA Events Block Styles
 */

/* .cata-events-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: #fff;
} */

/* Main Content Layout */
/* .events-content {
  display: flex;
  gap: 30px;
  margin-top: 20px;
} */

/* Left Sidebar */
/* .events-sidebar {
  width: 300px;
  flex-shrink: 0;
} */

/* Right Content */
/* .events-list {
  flex: 1;
  min-width: 0;
} */

/* Events Filters - Top Section */
/* .events-filters {
  margin-bottom: 20px;
} */

/* .view-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
} */

/* Time View Filters */
/* .time-view-filters {
  display: flex;
  gap: 0;
  border: 2px solid #6f42c1;
  border-radius: 6px;
  overflow: hidden;
} */

/* .time-view-btn {
  background: white;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #6f42c1;
  transition: all 0.3s ease;
  border-right: 1px solid #6f42c1;
} */

.time-view-btn:last-child {
  border-right: none;
}

.time-view-btn:hover {
  background: #f8f9fa;
}

/* .time-view-btn.active {
  background: #6f42c1;
  color: white;
} */

/* Sort Filters */
/* .sort-filters {
  display: flex;
  align-items: center;
  gap: 20px;
} */

/* .year-select {
  padding: 10px 15px;
  border: 2px solid #6f42c1;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  min-width: 180px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f42c1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 40px;
} */

/* .year-select:focus {
  outline: none;
  border-color: #5a32a3;
  box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
} */

/* .year-select option {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
} */

/* .date-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #6f42c1;
  border-radius: 6px;
  padding: 8px 12px;
} */

/* .date-nav-btn {
  background: #6f42c1;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
} */

/* .date-nav-btn:hover {
  background: #5a32a3;
} */

/* .current-date-display {
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  min-width: 150px;
  text-align: center;
} */

/* Calendar Container */
/* .calendar-container {
  background: white;
  border: 2px solid #6f42c1;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
} */

/* .calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
} */

/* .month-nav-btn {
  background: #6f42c1;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease;
} */

/* .month-nav-btn:hover {
  background: #5a32a3;
} */

/* .calendar-month {
  font-size: 18px;
  font-weight: 700;
  color: #495057;
  margin: 0;
} */

.calendar-grid {
  width: 100%;
}

/* .calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 10px;
} */

/* .weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #6c757d;
  padding: 8px 0;
  text-transform: uppercase;
} */

/* .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
} */

/* .calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  min-height: 35px;
  background: white;
} */

/* .calendar-day:hover {
  background: #f8f9fa;
  border-color: #6f42c1;
} */

/* .calendar-day.selected {
  background: #6f42c1;
  color: white;
  border-color: #6f42c1;
} */

/* .calendar-day.has-events {
  background: #e3f2fd;
  border-color: #6f42c1;
} */

/* .calendar-day.has-events .day-number {
  font-weight: 700;
  color: #6f42c1;
} */

/* .day-number {
  font-size: 14px;
  font-weight: 500;
  color: #495057;
} */

/* .event-indicator {
  width: 6px;
  height: 6px;
  background: #6f42c1;
  border-radius: 50%;
  margin-top: 2px;
} */

.calendar-day.empty {
  cursor: default;
  opacity: 0.3;
  background: #f8f9fa;
}

.calendar-day.active {
  background: #6f42c1 !important;
  color: white !important;
  border-color: #6f42c1 !important;
}

.calendar-day.active .day-number {
  font-weight: 700;
  color: #fff !important;
}

.calendar-day.selected {
  background: #6f42c1 !important;
  color: white !important;
  border-color: #6f42c1 !important;
}

.calendar-day.selected .day-number {
  font-weight: 700;
  color: #fff !important;
}

/* Categories Filter */
/* .categories-filter {
  background: white;
  border: 2px solid #6f42c1;
  border-radius: 8px;
  padding: 20px;
} */

/* .categories-filter h4 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 700;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
} */

/* .category-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
} */

/* .category-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #495057;
  padding: 5px 0;
} */

/* .category-checkbox input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #6f42c1;
  cursor: pointer;
} */

/* .checkbox-label {
  font-weight: 600;
  cursor: pointer;
} */

/* Events List */
/* .events-list {
  display: flex;
  flex-direction: column;
} */

/* .events-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
} */

.events-list-container.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Event Cards */
/* .event-card {
  background: white;
  border: 2px solid #6f42c1;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
} */

.event-card:hover {
  box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
  transform: translateY(-2px);
}

/* .event-header {
  margin-bottom: 15px;
} */

/* .event-title {
  font-size: 18px;
  font-weight: 700;
  color: #212529;
  margin: 0;
  line-height: 1.4;
} */

/* .event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
} */

/* .event-date,
.event-categories,
.event-venue {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
} */

/* .event-date i,
.event-categories i,
.event-venue i {
  font-size: 16px;
}

.event-body {
  font-size: 14px;
  color: #495057;
  line-height: 1.5;
  margin-bottom: 15px;
} */

/* .event-actions {
  display: flex;
  gap: 15px;
  align-items: center;
} */

/* .export-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
} */

/* .export-btn:hover {
  background: #5a6268;
} */

/* .view-details-btn {
  background: #6f42c1;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
} */

/* .view-details-btn:hover {
  background: #5a32a3;
  color: white;
  text-decoration: none;
} */

/* View More Button */
/* .load-more-container {
  text-align: center;
  margin-top: 48px;
} */

/* .view-more-btn {
  background: #6f42c1;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
} */

/* .view-more-btn:hover {
  background: #5a32a3;
} */

/* Error and No Events States */
.events-error {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
  font-size: 16px;
  font-weight: 500;
  background: #f8f9fa;
  border: 2px solid #6f42c1;
  border-radius: 8px;
}
.no-events {
  text-align: center;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  font-style: normal;
}
.no-events svg {
  margin-bottom: 55px;
}
.events-error {
  color: #dc3545;
  background: #f8d7da;
  border-color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* .events-content {
    flex-direction: column;
    gap: 20px;
  } */
  
  .events-sidebar {
    width: 100%;
  }
  
  /* .view-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  } */
  
  /* .time-view-filters {
    justify-content: center;
  } */
  
  /* .sort-filters {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  } */
  
  /* .event-actions {
    flex-direction: column;
    align-items: stretch;
  }
   */
  .export-btn,
  .view-details-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* .cata-events-block {
    padding: 10px;
  } */
  
  .calendar-container,
  .categories-filter,
  .event-card {
    padding: 15px;
  }
  
  .time-view-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  /* .event-title {
    font-size: 16px;
  } */
  
  .sort-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .date-navigation {
    justify-content: center;
  }
}