/**
 * Simple Rating Tooltips CSS
 * Styles for the rating tooltips
 */

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #0078d7 !important;
    color: white !important;
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 5px;
}

/* Hide the default tooltiptext */
.tooltip .tooltiptext {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Global tooltip */
#global-tooltip {
    visibility: hidden;
    width: 400px;
    background-color: #fff;
    color: #333;
    text-align: left;
    border-radius: 6px;
    padding: 15px;
    position: fixed;
    z-index: 2147483647; /* Maximum z-index */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    max-height: 80vh;
    overflow-y: auto;
    font-size: 0.8em; /* Smaller font size */
}

/* Tooltip heading */
#global-tooltip h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Tooltip paragraphs */
#global-tooltip p {
    margin-bottom: 10px;
}

/* Tooltip strong text */
#global-tooltip strong {
    font-weight: bold;
}