
   .event-card {
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s ease-in-out;
      background: #fff;
      display: flex;
      flex-direction: column;
      height: 100%;
      border: 1px solid #C7C7C7;
    }

    .event-card:hover {
      transform: scale(1.03);
    }

    .event-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px 0 15px;
    }

    .event-date {
      background-color: #f37021;
      color: white;
      font-weight: bold;
      font-size: 0.9rem;
      padding: 6px 12px;
      border-radius: 5px;
      white-space: nowrap;
    }

    /* Middle image section */
    .event-img {
      width: 100%;
      height: 180px;
      object-fit: contain;
      background: #fff;
      margin-top: 5px;
    }

    /* Bottom section */
    .event-body {
      background: #f1f7ff;
      padding: 15px;
      text-align: center;
    }

    .event-title {
      color: #004085;
      font-weight: bold;
      text-decoration: none;
      display: block;
      margin-bottom: 5px;
      font-size: 1rem;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }

    .event-location {
      font-size: 0.9rem;
      color: #555;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }
    .errorMessage{
        color: #f37021;
        font-weight: bold;
        text-align: center;
    }
   .scrollableDiv {
    max-height: 360px;       
    overflow-y: auto;       
    overflow-x: hidden;      
    }

.pagination-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding: 8px 15px;
  background: #fff;
  flex-wrap: wrap; /* Allow stacking on small screens */
  text-align: center;
}

.pagination-footer button {
  border-radius: 25px;
  font-weight: bold;
  padding: 6px 18px;
  border: none;
  color: white;
  background-color: #f37021;
  transition: 0.2s;
}

.pagination-footer button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.pagination-footer button:hover:not(:disabled) {
  background-color: #d85f1a;
}

.pagination-total {
  color: #004085;
  font-weight: 600;
  font-size: 0.95rem;
  flex: 1;
}
.pagination-circle-icon {
  font-size: 2rem;           /* size of the icon */
  color: #f37021;            /* orange */
  cursor: pointer;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.pagination-circle-icon:hover {
  transform: scale(1.15);
  color: #d85f1a;            /* darker orange on hover */
}

.pagination-circle-icon:active {
  transform: scale(0.95);
  color: #b84f15;
}

.pagination-circle-icon[disabled] {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}
.scroll-toggle {
  text-align: center;
  margin: 10px 0;
  cursor: pointer;
}

.scroll-arrow {
  width: 15px;
  height: 15px;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin-top:3px;
}

.scroll-arrow:hover {
  opacity: 1;
  transform: scale(1.1);
}

