/**
 * Silkroad Online Tooltip Styles
 * Professional tooltip design matching in-game client 95% accuracy
 * UI Layer Only - No calculations, pure presentation
 */

/* Main Tooltip Container */
#sro-tooltip {
    position: fixed;
    pointer-events: none;
    display: none;
    z-index: 99999;
    max-width: 380px;
    transition: opacity 0.12s ease;
}

/* Tooltip Content Wrapper */
#sro-tooltip .sro-tooltip {
    background: linear-gradient(180deg, #0a1a2f 0%, #081421 100%);
    border: 1px solid #2e6ea5;
    border-radius: 6px;
    padding: 12px;
    font-family: 'Tahoma', 'Arial Narrow', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.7), 
                0 0 8px rgba(46, 110, 165, 0.3);
    color: #ffffff;
}

/* Item Name - Golden Yellow (Default) */
#sro-tooltip .sro-name {
    color: #ffd54a;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
}

/* Seal-specific name colors */
#sro-tooltip .sro-name-sun {
    color: #ffd54a; /* Golden Yellow for Seal of Sun */
}

#sro-tooltip .sro-name-moon {
    color: #b388ff; /* Purple for Seal of Moon */
}

#sro-tooltip .sro-name-star {
    color: #4fc3f7; /* Cyan for Seal of Star */
}

/* Plus Value - Bright Green */
#sro-tooltip .sro-name .plus {
    color: #00ff66;
    font-weight: bold;
}

/* Seal Type - Orange Gold */
#sro-tooltip .sro-seal {
    color: #ffcc33;
    font-weight: normal;
    margin-bottom: 6px;
    font-size: 13px;
}

/* Item Meta - Sort, Mounting Part, Degree */
#sro-tooltip .sro-meta {
    color: #cfd8dc;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.4;
}

/* Divider Line */
#sro-tooltip .sro-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 6px 0;
    height: 1px;
}

/* Base Stats Section */
#sro-tooltip .sro-base-stats {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
}

#sro-tooltip .sro-base-stats > div {
    margin-bottom: 2px;
    color: #ffffff;
}

/* Requirements Section */
#sro-tooltip .sro-req {
    color: #b0bec5;
    font-size: 13px;
    line-height: 1.4;
}

/* Max Magic Options */
#sro-tooltip .sro-magic-limit {
    color: #b0bec5;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
}

/* Magic Options (Blues) - Cyan */
#sro-tooltip .sro-blues {
    margin-top: 6px;
}

#sro-tooltip .sro-blues > div,
#sro-tooltip .sro-blues .blue-line {
    color: #6fd3ff;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 2px;
    white-space: nowrap; /* Prevent text wrapping for blue stats */
}

/* Magic Options Container */
#sro-tooltip .magic-options {
    margin-top: 6px;
}

#sro-tooltip .magic-options .blue-line {
    color: #6fd3ff;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 2px;
    white-space: nowrap;
}

/* Advanced Elixir - Light Purple */
#sro-tooltip .sro-advanced {
    color: #64b5f6;
    font-weight: bold;
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.4;
}

/* Error State */
#sro-tooltip .tooltip-error {
    color: #ff6b6b;
    font-size: 13px;
    padding: 8px;
}
