.access-denied-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.access-denied-popup {
  background: #fff;
  color: #333;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

.access-denied-popup p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.access-denied-popup button {
  background: #2d419b;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.access-denied-popup button:hover {
  background: #00afef;
}
.access-denied-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

a.access-denied-request {
  background: #28a745;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 15px;
  display: inline-block;
  transition: background 0.2s;
}

.access-denied-request:hover {
  background: #218838;
}
.access-denied-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.access-denied-popup {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.access-denied-popup a.access-denied-request {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 42px; /* match height */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.access-denied-con a {
    background: #2d419b;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}
.access-denied-con a:hover {
    background: #00afef;
}