* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #a5d6a7, #81c784);
  color: #333;
  min-height: 100vh;
}

main {
  background-color: #f5f5f5;
  border-radius: 20px;
  max-width: 1300px;
  margin: 40px auto;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background-color: #388e3c;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

header img {
  height: 70px;
  transition: transform 0.2s ease;
}

header img:hover {
  transform: scale(1.05);
}

.btnMenu {
  display: flex;
  gap: 15px;
}

header button {
  background-color: #2e7d32;
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

header button:hover {
  background-color: #43a047;
}

header button.active {
  background-color: #839eb8;
}

.center {
  text-align: center;
}

.center h2 {
  font-size: 26px;
  color: #2e7d32;
  margin-bottom: 20px;
}

.btnAddBezoeker,
.btnAddConcert,
.btnAddBezoekerToConcert,
.btnUpdateConcert {
  background-color: #2e7d32;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 25px;
}

.btnAddBezoeker:hover,
.btnAddConcert:hover,
.btnAddBezoekerToConcert:hover,
.btnUpdateConcert:hover {
  background-color: #43a047;
}

.bezoekersLijst,
.concertenLijst,
.bezoekersTicketLijst {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bezoeker {
  background-color: white;
  border-radius: 10px;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bezoeker:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.bezoeker span {
  min-width: 120px;
  text-align: center;
}

.bezoeker .voornaam,
.bezoeker .achternaam {
  font-weight: 600;
  color: #2e7d32;
}

.bezoeker .email {
  color: #555;
  font-style: italic;
}

.bezoeker button {
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btnDeleteBezoeker {
  background-color: #b42624;
}

.btnDeleteBezoeker:hover {
  background-color: #751717;
}

.btnUpdateBezoeker {
  background-color: #12921d;
}

.btnUpdateBezoeker:hover {
  background-color: rgb(10, 94, 24);
}

.concert {
  background-color: white;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.concert:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.concertDetails {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.concertDetails span {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.concertDetails .naam {
  font-size: 20px;
  font-weight: bold;
  color: #2e7d32;
}

.concertDetails .kostprijs {
  font-weight: bold;
  color: #388e3c;
}

.btnConcerts {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btnConcertBuy,
.btnConcertDetails {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btnConcertBuy {
  background-color: #43a047;
}

.btnConcertBuy:hover {
  background-color: #388e3c;
}

.btnConcertDetails {
  background-color: #19d285;
}

.btnConcertDetails:hover {
  background-color: #06a764;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.hidden {
  display: none;
}

.popup {
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  width: 350px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
}

.popup h3 {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 15px;
}

.popup form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup label {
  font-weight: 600;
  color: #333;
}

.popup input,
.popup select {
  width: 100%;
  max-width: 100%;
  background-color: white;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.popup select {
  background-color: white;
}

.popupButtons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.btnSave,
.btnUpdateSave,
.btnSaveConcert,
.btnAddBezoekerConfirm {
  background-color: #43a047;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btnSave:hover,
.btnUpdateSave:hover,
.btnSaveConcert:hover,
.btnAddBezoekerConfirm:hover {
  background-color: #388e3c;
}

.btnClose,
.btnUpdateClose,
.btnCloseConcert,
.btnCloseBezoeker {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btnClose:hover,
.btnUpdateClose:hover,
.btnCloseConcert:hover,
.btnCloseBezoeker:hover {
  background-color: #c62828;
}

.btnUpdateConcertSave {
  background-color: #43a047;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btnUpdateConcertSave:hover {
  background-color: #388e3c;
}

.btnUpdateConcertClose {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btnUpdateConcertClose:hover {
  background-color: #c62828;
}
