:root {
  --overlay-bg: rgba(0,0,0,.5);
  --modal-bg: #333;
  --accent: #0d6efd;
  --danger: #e03131;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.2);
}

/* Overlay & Modal */
.overlay { position: fixed; inset: 0; background: var(--overlay-bg); display: none; align-items: center; justify-content: center; padding: 4vh 4vw; }
.overlay.show { display: flex; }
.modal { position: relative; background: var(--modal-bg); width: min(92vw, 960px); max-height: min(85vh, 720px); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.modal header { padding: 12px 48px 12px 16px; font-weight: 600; border-bottom: 1px solid #eef0f4; }
.modal .close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: none; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.modal .close:hover { background: #f3f4f6; }
.modal .close svg { width: 18px; height: 18px; stroke: #111; }
#modalContent { padding: 16px; overflow: auto; white-space: pre-wrap; word-break: break-word; line-height: 1.6; }

/* Spinner */
.spinner {margin-left: 10px; width: 30px; height: 30px; border: 5px solid #e9ecef; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Shine */
.shine { position: relative; display: inline-block; color: #bfdbfe; transition: color 0.3s ease; }
.shine:hover::after { content: ""; position: absolute; top: 0; left: -30%; width: 60%; height: 100%; background: linear-gradient( 120deg, transparent, rgba(255, 255, 255, 0.3), transparent ); transform: skewX(-20deg); filter: blur(4px); animation: shine 1.5s ease-out forwards; }
@keyframes shine { 0% { left: -30%; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: 80%; opacity: 0; } }
.shine:hover { color: #f1f5f9; text-shadow: 0 0 6px rgba(255, 255, 255, 0.4); }

.txt-hed-col {
  color: #a0abff;
}
.txt-emp-col {
  color: #80abff;
}
.txt-emp2-col {
  color: #a0cbff;
}

