/* Base table styles */
.masterySkillTable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.masterySkillTable th, .masterySkillTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.masterySkillTable th {
    background-color: #f2f2f2;
    color: black;
}

.masterySkillTable tr:hover {
    background-color: #f5f5f5;
}

/* Styles for the Skill Name */
.masterySkillName {
    font-weight: bold;
}

/* Styles for Mastery */
.masteryMastery {
    color: #007BFF; /* Example: Give the mastery a blue color */
}

/* If you want to add a button-like appearance, you can create a `.masteryButton` class */
.masteryButton {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.masteryButton:hover {
    background-color: #0056b3;
}


.masteryPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.masteryPopupContent {
    background: #fff;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.masteryCloseButton {
    display: block;
    margin: 20px 0;
    padding: 5px 15px;
    background: red;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.masteryPrintButton {
    display: block;
    margin: 20px 0;
    padding: 5px 15px;
    background: #007BFF; /* Blue color for distinction */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@media print {
    /* Hide everything on the page */
    body * {
        visibility: hidden;
    }

    /* Show only the popup content and its direct child elements */
    .masteryPopupContent, .masteryPopupContent * {
        visibility: visible;
    }

    /* Position the popup content to cover the entire page */
    .masteryPopupContent {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-height: none;
        overflow: visible;
    }

    /* Hide the print button */
    .masteryPrintButton, 
    /* Hide the close button */
    .masteryCloseButton {
        display: none;
    }
}

