/**!
 * @file    popup.css  (shared)
 * @desc    Old popup boxes and their buttons.
 * @version v7 2026-12-02 - Docblock added. Colors from the staff palette roles (var(--c-...); admin + teachers dark mode, step 2). Shared: var(--c-role, old color). The stray magenta button border is the coral hover.
 * @author  Charlie Samra, Eigo Hanasou LLC
 */

/* popup.css */

.popup-box {
  width: 50%;
  margin: 0 auto;
  background: rgba(var(--c-on-fill-rgb, 255, 255, 255), 0.2);
  padding: 35px;
  border: 2px solid var(--c-surface, #fff);
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.popup-button {
  font-size: 1em;
  padding: 10px;
  color: var(--c-on-fill, white);
  background-color: var(--c-brand, #5134F1);
  border: 2px solid var(--c-hover, #f336ed);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.popup-button:hover {
  background: var(--c-hover, #eb7c7c);
}

.popup-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(var(--c-black-rgb, 0, 0, 0), 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.popup-overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup-popup {
  margin: 70px auto;
  top: 100px;
  background: var(--c-surface, #fff);
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
  text-align: center;
}

.popup-popup h3 {
  margin-top: 0;
  color: var(--c-text-strong, #333);
  font-family: Tahoma, Arial, sans-serif;
}
.popup-popup .popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: var(--c-text-strong, #333);
}
.popup-popup .popup-close:hover {
  color: var(--c-success, #06D85F);
}
.popup-popup .popup-content {
  max-height: 50%;
  overflow: auto;
}




