/**
 * LiteTheme Tooltip System - Based on working standalone test
 */

/* Tooltip keyword styling */
.litetheme-tooltip-keyword {
    color: inherit;
    border-bottom: 1px dotted #0073aa;
    cursor: help;
    position: relative;
    text-decoration: none;
}

.litetheme-tooltip-keyword:hover {
    background-color: rgba(0, 115, 170, 0.1);
}

/* Tooltip container */
#litetheme-tooltip-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
}

.litetheme-tooltip {
    position: fixed;
    z-index: 1000000;
    pointer-events: none;
}

/* Main tooltip box */
.tooltip-box {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    max-width: 500px;
    font-size: 14px;
    overflow: hidden;
}

/* Tooltip header */
.tooltip-header {
    background: #2c3e50;
    color: #ffffff;
    padding: 12px 16px;
}

.tooltip-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.tooltip-subtitle {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    opacity: 0.85;
    line-height: 1.2;
}

/* Tooltip body */
.tooltip-body {
    background: #ffffff;
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.tooltip-content {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.tooltip-content p {
    margin: 0 0 12px 0;
}

.tooltip-content p:last-child {
    margin-bottom: 0;
}

/* Arrow and responsive styling removed - using inline styles */