  :root {
      --primary-gradient: linear-gradient(135deg, #6e8efb, #a777e3);
      --primary-color: #6e8efb;
      --secondary-color: #a777e3;
  }

  .page-header {
      background: var(--primary-gradient);
      padding: 120px 0 80px;
      color: white;
      position: relative;
      overflow: hidden;
  }

  .page-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
      opacity: 0.1;
      z-index: 1;
  }

  .page-header-content {
      position: relative;
      z-index: 2;
  }

  .page-title {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 1rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .page-subtitle {
      font-size: 1.2rem;
      opacity: 0.9;
  }

  /* Filter Section */
  .filter-section {
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(10, 11, 16, 0.1);
      padding: 30px;
      margin: -60px 0 60px;
      position: relative;
      z-index: 3;
  }

  .search-input {
      border: 2px solid #e9ecef;
      border-radius: 15px;
      padding: 12px 20px;
      transition: all 0.3s ease;
      background: #f8f9fa;
  }

  .search-input:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.2rem rgba(110, 142, 251, 0.25);
      background: white;
  }

  .filter-select {
      border: 2px solid #e9ecef;
      border-radius: 15px;
      padding: 12px 20px;
      background: #f8f9fa;
      transition: all 0.3s ease;
  }

  .filter-select:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.2rem rgba(110, 142, 251, 0.25);
      background: white;
  }

  .btn-filter {
      background: var(--primary-gradient);
      border: none;
      border-radius: 15px;
      padding: 12px 30px;
      color: white;
      font-weight: 600;
      transition: all 0.3s ease;
  }

  .btn-filter:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
      color: white;
  }

  .btn-reset {
      background: transparent;
      border: 2px solid #dee2e6;
      border-radius: 15px;
      padding: 10px 25px;
      color: #6c757d;
      transition: all 0.3s ease;
      /* Tambahan untuk center icon */
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
  }

  .btn-reset:hover {
      border-color: #dc3545;
      color: #dc3545;
      text-decoration: none;
  }

  /* Pastikan icon tidak ada margin yang mengganggu */
  .btn-reset i {
      margin: 0;
  }

  /* Events Grid */
  .event-header {
      background-color: #f8f9fc;
      border-left: 5px solid #4e73df;
  }

  .hover-card {
      transition: all 0.3s ease;
      border-radius: 12px ;
  }

  .hover-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) ;
  }

  .card-status {
      position: absolute;
      right: 10px;
      top: -10px;
      z-index: 10;
  }

  .event-icon-banner {
      height: 240px;
      overflow: hidden;
  }

  .event-icon-wrapper {
      height: 100%;
      width: 100%;
      padding: 1rem;
      transition: all 0.3s ease;
  }

  .event-icon-wrapper:hover {
      transform: scale(1.03);
  }

  .event-icon-text {
      max-width: 80%;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .info-icon,
  .deadline-icon,
  .location-icon,
  .creator-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .page-item.active .page-link {
      background-color: #4e73df;
      border-color: #4e73df;
  }

  .page-link {
      color: #4e73df;
  }

  /* Custom colors for event categories */
  .badge.bg-info-subtle {
      background-color: rgba(54, 185, 204, 0.15);
      color: #36b9cc;
      font-weight: 500;
      border: 1px solid rgba(54, 185, 204, 0.3);
  }

  .badge.bg-primary-subtle {
      background-color: rgba(78, 115, 223, 0.15);
      color: #4e73df;
      font-weight: 500;
      border: 1px solid rgba(78, 115, 223, 0.3);
  }

  .badge.bg-success-subtle {
      background-color: rgba(28, 200, 138, 0.15);
      color: #1cc88a;
      font-weight: 500;
      border: 1px solid rgba(28, 200, 138, 0.3);
  }

  .badge.bg-danger-subtle {
      background-color: rgba(231, 74, 59, 0.15);
      color: #e74a3b;
      font-weight: 500;
      border: 1px solid rgba(231, 74, 59, 0.3);
  }

  .badge.bg-warning-subtle {
      background-color: rgba(246, 194, 62, 0.15);
      color: #f6c23e;
      font-weight: 500;
      border: 1px solid rgba(246, 194, 62, 0.3);
  }

  .badge.bg-secondary-subtle {
      background-color: rgba(133, 135, 150, 0.15);
      color: #858796;
      font-weight: 500;
      border: 1px solid rgba(133, 135, 150, 0.3);
  }

  /* Pagination */
  .pagination-container {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px 0;
  }

  .pagination .page-link {
      border: none;
      border-radius: 10px;
      margin: 0 5px;
      padding: 10px 15px;
      background: white;
      color: var(--primary-color);
      font-weight: 500;
      transition: all 0.3s ease;
  }

  .pagination .page-link:hover {
      background: var(--primary-gradient);
      color: white;
      transform: translateY(-2px);
  }

  .pagination .page-item.active .page-link {
      background: var(--primary-gradient);
      color: white;
      box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
  }

  .pagination-info,
  [role="status"] {
      display: none !important;
  }

  /* Empty State */
  .empty-state {
      text-align: center;
      padding: 80px 20px;
      color: #6c757d;
  }

  .empty-icon {
      font-size: 4rem;
      margin-bottom: 20px;
      opacity: 0.5;
  }

  /* Filter Active Indicator */
  .filter-indicator {
      background: var(--primary-gradient);
      color: white;
      padding: 8px 15px;
      border-radius: 20px;
      font-size: 0.85rem;
      margin: 0 5px 10px 0;
      display: inline-block;
  }

  .filter-indicator .btn-close {
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      margin-left: 8px;
      opacity: 1;
  }

  /* Responsive */
  @media (max-width: 768px) {
      .page-title {
          font-size: 2rem;
      }

      .filter-section {
          margin: -40px 15px 40px;
          padding: 20px;
      }

      .event-banner {
          height: 200px;
      }
  }

  /* Loading Animation */
  .loading-spinner {
      display: none;
      text-align: center;
      padding: 40px;
  }

  .spinner-border {
      color: var(--primary-color);
  }
