.slime {
  background-color: transparent !important;
}

.header-slime {
  background-color: #7678ed !important;
}

/* ===================== MAIN ===================== */
main {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

section {
  display: block;
  width: 100%;
  margin-bottom: 40px;
}

#futureEventsContainer,
#pastEventsContainer {
  display: block;
  width: 100%;
  overflow: hidden;
}

/* ===================== RESERVATIONS ===================== */
/* Titluri secțiuni */
.reservations-title {
  font-size: 2rem; /* mai mare */
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 2rem;
}

.reservations-section {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

/* Container pentru rezervări */
.reservations-container {
  padding: 2rem; /* box mai mare */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.reservationItem {
  background-color: #fff;
  padding: 15px 20px;
  font-size: 1.8rem;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-left: 5px solid transparent;
}

.reservationItem p {
  margin: 5px 0;
}

.deleteButton {
  background-color: #ff6b6b;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.deleteButton:hover {
  background-color: #ff4b4b;
}

/* Bordură colorată după status */
.reservationItem.pending {
  border-left: 5px solid #ffc107;
}

.reservationItem.accepted {
  border-left: 5px solid #4caf50;
}

.reservationItem.declined {
  border-left: 5px solid #f44336;
}

/* Badge status */
.statusBadge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  margin-top: 10px;
}

.statusBadge.pending {
  background-color: #ffeeba;
  color: #856404;
}

.statusBadge.accepted {
  background-color: #d4edda;
  color: #155724;
}

.statusBadge.declined {
  background-color: #f8d7da;
  color: #721c24;
}

.statusBadge.cancelled {
  background-color: #e2e3e5;
  color: #6c757d;
}

.reservationItem.pastEvent {
  background-color: #f0f0f0;
  color: #888;
  opacity: 0.7;
  pointer-events: none;
}

.reservationItem.pastEvent .deleteButton {
  display: none;
}

.toggleButton {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.toggleButton.collapsed {
  transform: rotate(-90deg);
}

/* ===================== ALERT ===================== */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ff4d4d;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.custom-alert.show {
  opacity: 1;
}

/* ===================== MODAL ===================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.btn.confirm {
  background: #ff4d4d;
  color: white;
}

.btn.cancel {
  background: #ddd;
  color: black;
}

.user-profile {
  margin-left: auto; /* îl împinge la fel ca pe buton */
  display: flex;
  align-items: center;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mesaje rezervare */
.reservationMessage {
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.reservationMessage.loading {
  background-color: #ffcc00;
  color: #333;
}

.reservationMessage.success {
  background-color: #4caf50;
  color: white;
}

.reservationMessage.error {
  background-color: #ff4d4d;
  color: white;
}

#confirmMessage {
  font-size: 1.6rem; /* mărește textul */
  font-weight: 600; /* optional, să fie mai vizibil */
  margin-bottom: 1rem;
  text-align: center;
}

html,
body {
  height: 100%;
  background-color: #7678ed !important; /* forțează albastru */
}
