/* =======================
   Tooltip przedmiotów – klasyczny (tooltip.js)
   ======================= */

#tooltip_item {
    position: fixed !important;
    z-index: 9999 !important;
    display: none;
    pointer-events: none !important;
    width: 212px !important;
    max-width: 212px !important;
    min-width: 212px !important;
    box-sizing: border-box !important;
}

#item_middle {
    background: url("../images/inventory/tooltip_item.png") repeat-y right center;
    font-family: Tahoma, Geneva, sans-serif;
    text-shadow: 0 1px 0 #000;
    line-height: 18px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    padding: 8px 10px;
    width: 212px !important;
    max-width: 212px !important;
    min-width: 212px !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

#item_middle span {
    display: inline;
    line-height: 18px;
}

#item_middle br {
    display: block;
    content: "";
    margin: 2px 0;
}

#tooltip_item .item_top,
#tooltip_item .item_bottom {
    width: 212px !important;
    max-width: 212px !important;
    min-width: 212px !important;
    box-sizing: border-box !important;
    height: 10px;
}

#tooltip_item .item_top {
    background: url("../images/inventory/tooltip_item.png") no-repeat left top;
}

#tooltip_item .item_bottom {
    background: url("../images/inventory/tooltip_item.png") no-repeat left bottom;
}

/* Ikonka itemu w eq */
.tooltip-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    min-height: 100px;
    max-height: 100px;
    background-image: url("../images/backg.jpg");
}

/* Opcjonalny wrapper na html tooltips */
.tooltip-html {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #b2e3ff;
}

/* =======================
   Kolory linii w tooltipie
   ======================= */

/* tytuł */
.tt-main {
    color: #ffc700;
    font-weight: bold;
}

.tt-main-alt {
    color: #f1e6c0;
    font-weight: bold;
}

/* poziom / info pomocnicze */
.tt-level,
.tt-class {
    color: #c1c1c1;
}

/* metin/opis przedmiotu */
.tt-metin {
    color: #888;
    font-size: 11px;
}

/* bonusy dodatnie */
.tt-good {
    color: #89b88d;
}

.tt-good-strong {
    color: #d0edd0;
}

/* bonusy ujemne */
.tt-bad {
    color: #e57875;
}

/* opis / tekst zwykły */
.tt-desc {
    color: #b2e3ff;
}

/* aby działało i z wrapperem .tooltip-html, i bez niego */
.tooltip-html .tt-main,
.tooltip-html .tt-main-alt,
.tooltip-html .tt-level,
.tooltip-html .tt-class,
.tooltip-html .tt-good,
.tooltip-html .tt-good-strong,
.tooltip-html .tt-bad,
.tooltip-html .tt-desc {
    /* te same kolory co wyżej, ale zostawiamy – zwiększa specyficzność */
}
