
/* Full-screen overlay */
.content-warning {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #111;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  overflow-y: auto;

  font-family: Arial, Helvetica, sans-serif;
}

/* Centered modal */
.warning-box {
  width: 100%;
  max-width: 460px;
  padding: 32px;
  box-sizing: border-box;

  background: #242424;
  color: #fff;
  border: 1px solid #424242;
  border-radius: 16px;

  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Heading and icon */
.warning-box h2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;

  font-family: inherit;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;

  margin: 0 0 20px;
}

.warning-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #eee;
}

/* Advisory text */
.warning-box p {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #ddd;

  margin: 0 0 28px;
  text-align: left;
}

/* Buttons */
.warning-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.warning-actions a,
.warning-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 22px;
  min-height: 42px;
  box-sizing: border-box;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;

  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

/* Go back — outlined pill */
.warning-actions a {
  background: transparent;
  color: #fff;
  border: 1px solid #777;
}

.warning-actions a:hover {
  background: #333;
  border-color: #aaa;
}

/* Continue — filled pill */
.warning-actions button {
  background: #fff;
  color: #111;
  border: 1px solid #fff;
}

.warning-actions button:hover {
  background: #ddd;
  border-color: #ddd;
}

/* Keyboard accessibility */
.warning-actions a:focus-visible,
.warning-actions button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Mobile */
@media (max-width: 600px) {
  .content-warning {
    padding: 16px;
  }

  .warning-box {
    padding: 26px 22px;
    border-radius: 14px;
  }

  .warning-box h2 {
    font-size: 20px;
  }

  .warning-box p {
    font-size: 15px;
  }

  .warning-actions {
    gap: 8px;
  }

  .warning-actions a,
  .warning-actions button {
    padding: 10px 18px;
  }
}



/* Force sans-serif throughout the modal */
#content-warning,
#content-warning .warning-box,
#content-warning .warning-box h2,
#content-warning .warning-box p,
#content-warning .warning-actions a,
#content-warning .warning-actions button {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Advisory paragraph */
#content-warning .warning-box p {
  font-size: 15px;
  line-height: 1.65;
  color: #ddd;
  text-align: left;
}

/* Go back — light blue outlined pill */
#content-warning .warning-actions a {
  color: #add8e6;
  border: 1px solid #add8e6;
  background: transparent;
}

#content-warning .warning-actions a:hover {
  color: #fff;
  background: rgba(173, 216, 230, 0.15);
  border-color: #fff;
}



/* Go back link — force light blue in all states */
#content-warning .warning-actions a.warning-back,
#content-warning .warning-actions a.warning-back:link,
#content-warning .warning-actions a.warning-back:visited {
  color: #add8e6 !important;
  border-color: #add8e6;
  text-decoration: none;
}

#content-warning .warning-actions a.warning-back:hover {
  color: #fff !important;
  background: rgba(173, 216, 230, 0.15);
  border-color: #fff;
}
