.event-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.event-card {
  position: relative;
  width: calc(50% - 15px);
  padding-bottom: 20px;
  box-shadow: 0 0 10px rgb(0 0 0 / 5%);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-date {
  position: absolute;
  top: 10px;
  left: 10px;
  text-align: center;
}

.event-date span {
  display: block;
  font-weight: bold;
  color: #fff;
  line-height: 1.5;
}

.event-date span.day {
  background-color: #ffaa17;
  font-size: 14px;
  padding: 3px 10px;
}

.event-date span.month {
  background-color: #db8f0a;
  font-size: 12px;
  padding: 4px 10px;
}

.event-card h3 {
  font-size: 18px;
  margin: 15px;
}

.event-card p {
  margin: 0 15px;
  font-size: 12px;
  color: #555;
}

.event-card p i.fas,
.event-card p i.far,
.event-card p i.fa {
  width: 16px;
  color: #ffaa17;
}

/* Event details */
.event-fullscreen-layout {
  padding: 80px 0 20px;
}

.event-detail {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  margin-bottom: 50px;
}

.event-detail .main-content {
  flex: calc(100% - 380px);
  width: calc(100% - 380px);
}

.event-detail .main-content img {
  width: 100%;
  margin-bottom: 10px;
}

.event-detail .event-sidebar {
  flex: 350px;
  width: 350px;
}

.event-detail .event-sidebar .event-meta {
  background-color: #f5f9fa;
  padding: 10px 0;
  padding-top: 0;
  margin-top: 30px;
}

.event-detail .event-sidebar .event-meta li.seat {
  border-bottom: 1px solid #e3e9eb;
  text-align: center;
  padding: 8px 0;
  margin-bottom: 10px;
  font-weight: normal;
  font-size: 16px;
}

.event-detail .event-sidebar .event-meta li {
  padding: 4px 20px;
  font-size: 14px;
}

.event-detail .event-sidebar .event-meta li i.fa {
  color: #ffaa17;
  margin-right: 4px;
}

#open-register-modal {
  padding: 14px 24px;
  margin-top: 20px;
  background-color: #ffaa17;
  font-weight: bold;
  float: right;
}

#register-modal #close-register-modal {
  position: absolute;
  font-size: 30px;
  background-color: transparent;
  color: red;
  top: 0px;
  right: 16px;
}

.event-register-form button {
  padding: 12px 24px;
  width: 100%;
  margin-top: 10px;
  background-color: #ffaa17;
  font-weight: bold;
}

.event-alert {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #fff;
  border: 1px solid #d6ffd2;
  padding: 10px 20px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  background: #f1fced;
  color: #03c003;
}

.event-alert.error {
  background: #efecec;
  color: #d61919;
  border: 1px solid #d95c4a;
}

.event-detail .event-info {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-bottom: 30px;
}

.event-detail .event-info .date-time {
  padding: 10px 26px;
  display: flex;
  width: 50%;
  flex: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.event-detail .event-info .date-time .icon {
  width: 60px;
  color: #ffaa17;
  font-size: 30px;
}

.event-detail .event-info .date-time .txt h3 {
  margin-bottom: 0;
}

.event-filter-form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 30px;
}

.event-filter-form label {
  margin-bottom: 0;
  margin-right: 10px;
  margin-left: 20px;
}

.event-filter-form label:first-child {
  margin-left: 0;
}

.event-filter-form select {
  width: 140px;
  height: 40px;
  padding: 0 10px;
}

.event-filter-form input {
  padding: 0 10px;
  height: 40px;
  width: 100px;
}

.event-filter-form button {
  height: 40px;
  padding: 0 20px;
  margin-left: 20px;
  background-color: #ffaa17;
}

/* Responsive */
@media(max-width: 768px) {
  .event-card {
    width: 100%;
  }

  .event-detail {
    display: block;
  }

  .event-detail .main-content,
  .event-detail .event-sidebar {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .event-detail .event-sidebar {
    margin-top: 120px;
  }
}
