.events-page {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--secondary-dark);
  margin: 0;
}

.events-section {
  margin-top: 2rem;
}

.events-section h2 {
  font-size: 1.5rem;
  color: var(--secondary-dark);
  border-bottom: 2px solid var(--gray-300);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Shared List Styles */
.events-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.events-section li {
  position: relative;
  background-color: var(--gray-100);
  margin-bottom: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  transition: background-color 0.2s, border-color 0.2s;
}

.events-section li:hover {
  background-color: var(--gray-200);
  border-color: var(--primary-light);
}

.events-section li a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1.125rem;
  transition: color 0.2s;
}

.events-section li a:hover {
  color: var(--primary);
}

/* Delete Button */
.delete-form {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

/* Empty state */
.not-found-message {
  text-align: center;
  padding: 2rem;
  background-color: var(--gray-100);
  border: 1px dashed var(--gray-400);
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.not-found-message p {
  font-size: 1.125rem;
  color: var(--secondary-dark);
}

.not-found-message a {
  display: inline-block;
  margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .events-page {
    margin: 1rem;
    padding: 1rem;
  }

  .events-section li a {
    font-size: 1rem;
    padding: 0.75rem;
  }
}