
colgroup.top {
/*    border-right: 3px solid #ccc; */
}
thead, th.sticky {
    position: sticky;
    top: 0;
    z-index: 1;
 }
th.sticky {
    z-index: 2;
    background-color: #202020; /* Solid background to obscure content underneath */
    box-shadow: 0px 2px 2px rgba(255, 255, 0, 0.5);
}

table#main-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 90%;
    margin-top: 50px;
    position: relative;
}
div#main-div {
    max-height: 90%;
    overflow-y: auto;
}
th  {
    font-family: "Avenir";
//    background-color: #7f00ff;
//    color: #ff5733;
    border: 1px solid #ccc;
}
tr.player-data {
    line-height: 2;
}
td {
    width: auto;
    background-color: #1c1c1c;
    font-family: "Lucida Sans Unicode";
}

label.heading {
    display: none;
    text-align: center;
    font-size: 25px;
}

label.tool-name {
    margin-left: -30%;
}

div#datetime {
    margin-top: 35px;
    color: silver;
    font-family: "Arial";
    font-size: 16px;
    font-style: italic;
}

td.name {
    white-space: nowrap;
    text-align: left;
}
tbody td {
    text-align: center;
    white-space: nowrap;
}

img.classIcon {height: 20px; width: 20px; }
a {
    text-decoration: none;
    color: unset;
}
img.wlSpecIcon {height: 15px; width: 15px; }



li.report-selection {font-size: 20px; }

img.checkOrX {height: 30px; width: 30px; }
img.pantheon-trinket-role {height: 20px; width: 20px; }

td.tenure, td.tenure label {
    cursor: grab;
}
label.tenure-days {
    color: red;
}
label.tenure-months {
    color: yellow;
}
label.tenure-years {
    color: lightgreen;
}


img.score-class-icon, img.score-spec-icon {
    height: 20px;
    width: 20px;
}

td.has-tooltip {
    border: 1px solid lightblue;
}


/* Popup */
div.popup {
    position: fixed;
    background: #222;
    padding: 1.2em;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
    width: auto;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px;
    border: 2px solid #ddd;  /* #dda  */

/*    transition: all .2s ease-in-out;  */
}

button.popup {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4d4d;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
/*    transition: background 0.2s ease-in-out, transform 0.1s ease-in-out;   */
}

button.popup:hover {
    background: #d63031; /* Darker red on hover */
    transform: scale(1.1); /* Slight zoom effect */
}

button.popup:active {
    background: #b22222; /* Even darker red when clicked */
    transform: scale(0.95); /* Click effect */
}

/* Overlay to detect outside clicks */
div.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: none;
    z-index: 99;
}
