body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f6f6f8;
  color: #232338;
  margin: 0;
}

.main-content {
  max-width: 1600px;
  margin: 42px auto 0 auto;
  padding: 0 24px 40px 24px;
}

.event-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.event-header h1 {
  font-size: 2.2rem;
  margin: 0;
  font-weight: 800;
  letter-spacing: -1px;
}

.event-filters {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.event-filters input[type="text"],
.event-filters input[type="date"] {
  padding: 10px 13px;
  border-radius: 7px;
  border: 1px solid #ddd;
  font-size: 1rem;
  min-width: 160px;
  background: #fff;
}

.event-filters .btn,
.event-header-actions .btn {
  background: #322b77;
  color: #fff;
  border: none;
  padding: 10px 23px;
  border-radius: 7px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  margin-right: 0;
  transition: background 0.18s;
}

.event-header-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.event-header-actions .btn-light {
  background: #f4f4fa;
  color: #322b77;
  border: 1px solid #eee;
  font-weight: 600;
  box-shadow: none;
}

.event-header-actions .btn-primary {
  background: #322b77;
  color: #fff;
  border: none;
}

.event-header-actions .btn:hover,
.event-filters .btn:hover {
  background: #4d46b0;
}

.event-header-actions .btn-light:hover {
  background: #e5e5ef;
  color: #3d3887;
}

.event-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 32px 0 rgba(60,63,94,0.08), 0 1.5px 6px rgba(80,80,90,0.03);
  margin-bottom: 32px;
  overflow: hidden;
  padding: 0;
  min-height: 260px;
  position: relative;
}

.event-image {
  flex: 0 0 340px;
  background: #f0f0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  max-height: 350px;
  border-right: 1px solid #f0f0f4;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  min-height: 220px;
  min-width: 340px;
  max-width: 100%;
  max-height: 340px;
  display: block;
  background: #e9e9f1;
}

.event-details {
  flex: 1 1 0;
  padding: 30px 32px 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 500px;
}

.event-meta {
  margin-bottom: 12px;
}

.event-date {
  color: #7577a0;
  font-size: 1.04rem;
  font-weight: 500;
}

.event-meta h3 {
  margin: 2px 0 0 0;
  font-size: 1.55rem;
  font-weight: 700;
  color: #322b77;
  letter-spacing: -0.5px;
}

.event-booking-types {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-bottom: 18px;
}

.booking-type-box {
  background: #f6f6fa;
  border-radius: 12px;
  padding: 14px 18px 13px 17px;
  min-width: 225px;
  min-height: 62px;
  box-shadow: 0 2px 6px 0 rgba(44,53,128,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 6px;
}

.bt-label {
  font-size: 1.06rem;
  font-weight: 600;
  color: #322b77;
  margin-bottom: 7px;
}

.bt-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bt-controls span {
  font-size: 1rem;
  color: #6d6e90;
  font-weight: 500;
  margin-right: 6px;
}

.bt-btn {
  background: #4c6fff;
  color: #fff;
  border: none;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.16rem;
  cursor: pointer;
  transition: background 0.14s;
}

.bt-btn.copy {
  background: #eaf0fe;
  color: #4c6fff;
}

.bt-btn.plus:hover,
.bt-btn.copy:hover {
  background: #322b77;
  color: #fff;
}

.event-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.09rem;
  color: #43456d;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f4;
}

.event-summary strong {
  color: #322b77;
}

.event-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 13px;
  padding: 30px 20px 0 18px;
  min-width: 62px;
}

.action-btn {
  background: #eaf0fe;
  border: none;
  border-radius: 10px;
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3672f8;
  font-size: 1.29rem;
  margin-bottom: 3px;
  cursor: pointer;
  transition: background 0.12s, color 0.15s;
}

.action-btn:hover {
  background: #322b77;
  color: #fff;
}

.action-btn.delete {
  background: #ef476f;
  color: #fff;
}

.action-btn.delete:hover {
  background: #b31538;
  color: #fff;
}

@media (max-width: 1050px) {
  .main-content {
    padding: 0 4vw 40px 4vw;
  }
  .event-details {
    padding: 16px 7vw 16px 7vw;
    min-width: 300px;
  }
  .event-image {
    flex: 0 0 190px;
    min-width: 130px;
    min-height: 130px;
    max-width: 190px;
  }
  .event-image img {
    min-width: 130px;
    min-height: 130px;
    max-width: 190px;
    max-height: 190px;
  }
}

@media (max-width: 900px) {
  .event-card {
    flex-direction: column;
    min-height: 0;
  }
  .event-image,
  .event-image img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 120px;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid #f0f0f4;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
  }
  .event-details {
    padding: 16px 10px 10px 10px;
    min-width: 0;
  }
  .event-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 10px 14px 10px;
    min-width: 0;
    gap: 8px;
  }
}

::-webkit-scrollbar {
  width: 10px;
  background: #f4f4fa;
}

::-webkit-scrollbar-thumb {
  background: #e2e2ef;
  border-radius: 10px;
}
