body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f4f4f7;
  line-height: 1.6;
  color: #333;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #bf360c;
  color: white;
  text-align: center;
  padding: 14px 10px;
  font-size: 16px;
  z-index: 1000;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  position: relative; /* important */
}


.fixed-header a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.fixed-header a:hover {
  opacity: 0.85;
}

/* Popup Styling */
.menu-popup {
  display: none;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 800px;
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 30px;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-height: 85vh;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

/* Close Button */
.popup-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.popup-header button {
  background-color: #e53935;
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-header button:hover {
  background-color: #c62828;
}

/* Headers */
.menu-popup h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #bf360c;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 4px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 20px;
}

td {
  padding: 8px 6px;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

td:hover {
  background-color: #f9f9f9;
}

td strong {
  font-weight: 600;
  display: inline-block;
  color: #444;
  margin-top: 10px;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  .menu-popup {
    padding: 20px 15px;
    top: 70px;
  }

  .popup-header button {
    padding: 6px 10px;
    font-size: 13px;
  }

  td {
    font-size: 14px;
  }
}



/* Close button for header */
.close-header-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.close-header-btn:hover {
  opacity: 1;
}