/* Modal Overlay (Full Screen Background) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}


/* Modal Content */
.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px; /* Slightly more refined rounded corners */
  width: 450px; /* Slightly wider modal */
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Subtle, deeper shadow */
  transition: all 0.3s ease-in-out; /* Smooth transition for opening/closing */
  opacity: 0;
  transform: scale(0.9); /* Start from a slightly smaller scale */
}

/* Modal Title */
.modal-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 15px;
}

/* Modal Body */
.modal-body {
  font-size: 1rem;
  color: #555;
  line-height: 1.6; /* Better spacing for readability */
}

/* Close Button */
.close-btn {
  font-size: 2rem;
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #111; /* Change color on hover */
}

/* Hover Effect for Close Button */
.close-btn:focus {
  outline: none;
  color: #f44336; /* Red color on focus to signify close action */
}

/* Style the outer box for the resource list */
.resources-list {
  width: 250px; /* Small width for the list */
  margin: 20px auto; /* Center the list */
  background-color: #f9f9f9; /* Light background */
  padding: 15px; /* Padding around the content */
  border-radius: 8px;
  font-size: 12px; /* Smaller font for compact design */
  color: #555; /* Lighter text color for a professional look */
  text-align: left; /* Align text to the left */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Slight shadow for the box */
}

/* Style for the list without bullets */
#access-list {
  list-style-type: none; /* Remove bullets */
  padding: 0;
  margin: 0;
}

#access-list li {
  padding: 8px;
  margin: 5px 0;
  font-weight: bold; /* Bold text for each item */
  color: #333; /* Darker text color for emphasis */
}

/* Optional: Make the button smaller as well */
#continue-btn {
  font-size: 12px; /* Smaller font for the button */
  padding: 8px 15px; /* Smaller button size */
}