#button-search-bar{
  display: flex;
  flex-direction: row;
  border: solid 1px #28201D;
  margin-bottom:20px;
  width: 100%;
  max-width: 400px;
  padding: 8px;
}

#event-search{
  padding: 0;
  padding-left: 8px;
  width: 100%;
  max-width: 400px;
  font-size: 16px;
  background-color: unset !important;
  border: unset !important;
}

i.fa-regular.fa-magnifying-glass{
  display:flex;
  justify-content: center;
  align-items: center;
  color:#00B28B;
}

.tangilla-events-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
}
.event-card {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  border-left: 1px solid #1A2A56;
  padding: 20px;
  box-sizing: border-box;
}
.event-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #1A2A56;
  margin-bottom:12px !important;
}
.event-card p {
  margin: 0.5em 0;
  font-size: 0.95rem;
  color: #555;
}

p.event-card-time-date {
  font-size:1.1rem !important;
  color: #00B28B;
  font-weight:700;
}

p.event-card-type{
  text-transform: uppercase;
  font-size: 12px;
  color:#1A2A56;
  font-weight:bold;
}

span.event-circle{
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #9BE8F2;
  border: 1px solid #28201D;
  box-sizing: border-box;
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -1px; /* Slight adjustment for alignment with text */
}

button.event-card-btn {
  width:100%;
  padding: 20px !important;
  margin-top: 20px !important;
}

@media (max-width: 768px) {
  .event-card {
    flex: 1 1 100%;
  }
}

/*Specific Styling for Event Types*/
.event-card.event-type-class .event-circle{
	background-color:#FFF77A;
}

.event-card.event-type-meeting .event-circle{
	background-color:#A6B8D7;
}

.event-card-icon{
    margin-right:5px;
    color:#1A2A56;
}

.event-date,.event-time,.event-location,.event-price{
    margin-right: 10px;
}

.event-card{
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

/*Filtering Functionality*/
/* Filter System Styles */
.tangilla-filter-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: unset !important;
  border: 1px solid #28201D !important;
  border-radius: 4px;
  cursor: pointer;
  font-weight: normal !important;
  margin-bottom: 15px;
  transition: all 0.2s ease;
  text-transform: capitalize !important;
}

.tangilla-filter-button>span{
  color: #28201D !important;
}

.tangilla-filter-button:hover {
  background-color: #e9e9e9 !important;
}

.tangilla-filter-button span {
  margin-right: 5px;
}

/* Filter Panel */
.tangilla-filter-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow-y: auto;
  z-index: 9999;
  transition: transform 0.3s ease;
}

.tangilla-filter-panel.open {
  transform: translateX(-320px);
}

/* Filter Header */
.tangilla-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #28201D;
}

.tangilla-filter-header h3 {
  margin: 0;
  font-size: 18px;
}

.tangilla-filter-close {
  background: none !important;
  border: none;
  font-size: 22px !important;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #28210D !important;
}

/* Filter Sections */
.tangilla-filter-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #28201D;
}

.tangilla-filter-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tangilla-filter-section-header h4 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase !important;
}

.tangilla-clear-section {
  background: none !important;
  border: none;
  cursor: pointer;
  font-size: 14px !important;
  text-decoration: none;
  padding: 0;
  text-transform: capitalize !important;
  color: #28201D !important;
  font-size: 14px !important;
  font-weight: normal !important;
}

/* Filter Options */
.tangilla-filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tangilla-filter-options label {
  display: flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}

.tangilla-filter-options input {
  margin-right: 8px;
}

/* Filter Actions */
.tangilla-filter-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.tangilla-clear-all {
  background: none !important;
  padding: 8px 15px;
  cursor: pointer;
  color: #28210D !important;
  font-size: 16px !important;
  font-weight: unset !important;
}

.tangilla-apply-filters {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.tangilla-apply-filters:hover {
  background-color: #0052a3;
}

/* Filter Tags */
.tangilla-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tangilla-filter-tag {
  display: inline-flex;
  align-items: center;
  background-color: #F4F5F7;
  padding: 4px 12px;
  font-size: 14px;
}

.tangilla-remove-tag {
  background: none !important;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 18px;
  height: 18px;
  color: #00b28b !important;
}

/* Overlay for mobile */
.tangilla-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tangilla-filter-overlay.visible {
  opacity: 1;
}

body.filter-panel-open {
  overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tangilla-filter-panel {
    width: 85%;
    right: -85%;
  }
  
  .tangilla-filter-panel.open {
    transform: translateX(-100%);
  }
}