
/* 🔹 Modal Overlay */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darker blur background */
    z-index: 999;
}

/* 🔹 Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

/* 🔹 Modal Content */
.modal-content {
    background-color: white;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* ✨ Modal Styling Enhancement */
#assignUsherModal,
#editUsherModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-header {
    font-size: 20px;
    color: #1D3557;
    margin-bottom: 20px;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover {
    color: red;
}

.modal .btn {
    background-color: #FFD700;
    color: #1D3557;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 15px;
}

.modal .btn:hover {
    background-color: #B8860B;
    color: white;
}

/* 🧾 Guest Details Modal */
#guest-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 450px;
  background-color: white;
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
}

#guest-modal h3 {
  margin-bottom: 15px;
  color: #1D3557;
  font-size: 22px;
}

#guest-modal p {
  font-size: 16px;
  margin: 8px 0;
}

#guest-modal .status {
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 14px;
}

#guest-modal .btn {
  margin-top: 20px;
  background-color: #FFD700;
  color: #1D3557;
}

#guest-modal .btn:hover {
  background-color: #B8860B;
  color: white;
}

#close-modal {
  margin-top: 15px;
  color: #D9534F;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
}

/* 🖼️ Modal Overlay */
#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}