/* Overlay background */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent url('img/overlay.png') 0% 0% no-repeat center center / cover;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Alice', serif;
  opacity: 1;
}


/* Modal box */
.modal-content {
  position: relative;
  background: rgba(30, 30, 30, 0.7); /* 50% opacity background */
  border: 2px solid #e7bf71;
  border-radius: 16px;
  padding: 2.5rem 2rem 1.5rem;
  width: 360px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

/* Emblem at top center */
.modal-emblem {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: #1e1e1e;
  padding: 0.5rem;
  border-radius: 50%;
  border: 2px solid #e7bf71;
}

/* Title */
.modal-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Description */
.modal-description {
  font-size: 16px;
  line-height: 1.5;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.underlined-text {
  text-decoration: underline;
  color: #e7bf71;
}

/* Buttons */
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-btn {
  width: 90px;
  padding: 0.5rem 0;
  border: none;
  background-color: #e7bf71;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.modal-btn:hover {
  background-color: #caa546;
}

/* Remember checkbox */
.modal-remember {
  font-size: 14px;
  color: #ccc;
}

.modal-remember input {
  margin-right: 0.3rem;
}
