/* Category Form */
#event-category.form-select,
#calendar-category.form-select {
border-radius: 0;
}
/* Card View */
.think-events-cards .card.card-img-overlay {
  border-radius: 0px !important;
}

.think-events-cards .card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 0rem;
  overflow: hidden;
}

.think-events-cards .ratio {
  transition: transform 0.5s ease;
}

.think-events-cards .card-img-overlay {
  transition: background-color 0.35s ease;
}

/* Hover State */
.think-events-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.think-events-cards .card:hover .ratio {
  transform: scale(1.05);
}

.think-events-cards .card:hover .card-img-overlay {
  background-color: rgba(0, 0, 0, 0.75);
}

/* Button Animation */
/* .think-events-cards .btn-white {
  color: #000;
  background-color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.think-events-cards .btn-white:hover,
.think-events-cards .btn-white:focus {
  color: #fff;
  background-color: #000;
  text-decoration: none;
  transform: translateY(-2px);
} */

/* Optional: reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .think-events-cards .card,
  .think-events-cards .ratio,
  .think-events-cards .btn-white {
    transition: none !important;
  }
}

/* List View */
.think-events-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.think-events-list li {
  margin-bottom: 0.75em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5em;
}
.pagination {
  width: 100%;
  display: flex;
  flex-direction: row !important;
}
.event-pagination .pagination .page-item {
  min-width: 30px;
  text-align: center;
}
.pagination .page-link {
  color: #0077b6;
}
.event-pagination .pagination .page-item:first-child .page-link {
  border-top-left-radius: 0rem !important;
  border-bottom-left-radius: 0rem !important;
}
.event-pagination .pagination .page-item:last-child .page-link {
  border-top-right-radius: 0rem !important;
  border-bottom-right-radius: 0rem !important;
}
.event-pagination .pagination .page-item.active .page-link {
  background-color: #0077b6;
  border-color: #0077b6;
  color: #fff;
}

/* Calendar Style */
/* #think-events-calendar {
} */

/* Header */
.think-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* max-width: 600px; */
  margin: 0 auto 1rem;
}
.think-cal-title {
  font-weight: 600;
  font-size: 1.1rem;
}
.think-cal-nav {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

/* Grid */
.think-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin: 0 auto;
  border: 1px solid #ddd;
  overflow: hidden;
}
.think-day-header {
  background: #f9f9f9;
  text-align: center;
  font-weight: 600;
  padding: 6px 4px;
  border-bottom: 1px solid #eee;
}
.think-day {
  min-height: 120px;
  border: 1px solid #eee;
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.think-day.has-event {
  background: #f7fbff;
  border-color: #d7ecff;
}

.think-day-number {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 4px;
  padding: 2px 6px; /* <-- add padding here */
}
.think-day-events {
  margin-top: 2px;
  display: grid;
  gap: 2px;
}
/* Show titles on desktop */
.think-event-title {
  font-size: 0.85rem;
  text-decoration: none;
  padding: 2px 6px;
  display: block;
}

/* Use icon only on small screens */
@media (max-width: 600px) {
  .think-day {
    min-height: unset;
  }
  .think-event-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    overflow: hidden;
    text-indent: -9999px; /* hide text */
    background: none;
  }
  .think-event-title::before {
    content: "\f133"; /* Font Awesome calendar icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    text-indent: 0;
  }
  .think-event-title:hover::after,
  .think-event-title:hover::before {
    opacity: 1;
    display: block;
  }
}
.think-event-title:hover {
  text-decoration: underline;
}

/* Single Event Style */
.think-event-featured-image {
  margin-bottom: 1rem;
}
.detail-p {
  font-size: 18px !important;
}
.detail-p em {
  font-size: 16px !important;
}

.detail-p i {
  padding-right: 10px;
}
/* Button Style */
/* .think-event-button-wrapper {
} */

.think-event-button.btn.btn-primary {
width: 100% !important;
}

/* .think-event-button:hover {
} */
