
:root {
    --main-color: #3a76b4;
    --default-black-color: #555555;

    --junk-color: #808080;

    --common-color-white: #f1f1f1;
    --common-color-gray: #9b9b9b;

    --rare-color: #66d95c;
    --legend-color: #4ccfff;
    --unique-color: #ffc103;
    --epic-color: #ff8033;
    --mythic-color: #9248f0;

    --ancient-color: #f3c100;
    --relic-color: #dc44f0;
    --finality-color: #ff4b4b;
}


.junk {
    color: var(--junk-color) !important;
}

.common1 {
    color: var(--common-color-white) !important;
}

.common {
    color: var(--common-color-gray) !important;
}

.rare {
    color: var(--rare-color) !important;
}

.legend {
    color: var(--legend-color) !important;
}

.unique {
    color: var(--unique-color) !important;
}

.epic {
    color: var(--epic-color) !important;
}

.mythic {
    color: var(--mythic-color) !important;
}

/* 6.0 Rank's! */
.ancient {
    color: #f3c100 !important;
}

.relic {
    color: #dc44f0 !important;
}

.finality {
    color: #ff4b4b !important;
}

/* 6.0 Rank's End! */

.error-text {
    color: #D80000 !important;
}

.none {
    display: none !important;
}

.last {
    margin-right: 0 !important;
}


#title.common,
#title.common1 {
    box-shadow: 1px 1px 6px rgba(100, 100, 100, 0.5);
}

#title.rare {
    box-shadow: 0 0 6px rgba(93, 148, 88, 0.55);
}

#title.legend {
    box-shadow: 0 0 6px rgba(79, 142, 165, 0.55);
}

#title.unique {
    box-shadow: 0 0 6px rgba(175, 154, 85, 0.55);
}

#title.epic {
    box-shadow: 0 0 6px rgba(171, 109, 78, 0.55);
}

#title.mythic {
    box-shadow: 0 0 6px rgba(146, 72, 240, 0.55);
}

#title.mythic {
    box-shadow: 0 0 6px rgba(146, 72, 240, 0.55);
}

#title.mythic {
    box-shadow: 0 0 6px rgba(146, 72, 240, 0.55);
}

#title.mythic {
    box-shadow: 0 0 6px rgba(146, 72, 240, 0.55);
}

#title.error-text {
    box-shadow: 0 0 6px rgba(216, 0, 0, 0.55);
}

#title .after {
    white-space: nowrap;
    word-spacing: normal;
    position: absolute;
    background: #fff;
    border: none;
    border-right: 1px solid #535353;
    border-bottom: 1px solid #535353;
    border-radius: 2px;
    padding: 0;
    display: block;
    height: 10px;
    width: 10px;
    z-index: 110;
    line-height: 18px;
    font-weight: bold;
    left: 30px;
    bottom: -6px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.npc-bar {
    width: 350px;
    justify-content: left;
    display: flex;
}
.column.right .hp-bar {
    height: 106px;
    text-align: center;
    position: relative;
}

.column.right .hp-bar:before {
    content: '';
    display: inline-block;
    width: 99.5%;
    height: 100%;
    vertical-align: middle;
    background: url(../images/npc/hp-bars.png) no-repeat bottom center;
}

.column.right .hp-bar.bar-1:before {
    width: 272px;
    height: 79px;
    background-position: -25px 0;
}

.column.right .hp-bar.bar-2:before {
    width: 284px;
    height: 90px;
    background-position: -26px -98px;
}

.column.right .hp-bar.bar-3:before {
    width: 328px;
    height: 91px;
    background-position: -5px -205px;
}

.column.right .hp-bar.bar-4:before {
    width: 401px;
    height: 101px;
    background-position: 0 -322px;
}

.hp-bar .icon {
    top: 0;
    left: 0;
    position: absolute;
}

.hp-bar .icon span {
    color: #fff;
    font-size: 13px;
    margin-top: -2px;
    display: inline-block;
    min-width: 15px;
    text-align: center;
}

.hp-bar .icon img {
    width: 40px;
    height: 40px;
    margin-left: 5px;
    border-radius: 50%;
}

.hp-bar.bar-1 .icon {
    top: 22px;
    left: 8px;
}

.hp-bar.bar-2 .icon {
    top: 25px;
    left: 5px;
}

.hp-bar.bar-3 .icon {
    top: 28px;
    left: 8px;
}

.hp-bar.bar-4 .icon {
    top: 25px;
    left: 3px;
}

.hp-bar.bar-4 .icon img {
    margin-left: 3px;
}
.v-align-middle > * {
    display: inline-block;
    vertical-align: middle;
}

.npc-img {
    width: 40px;
    height: 40px;
}

.item-main #info-main a.setitem-piece {
    display: flex;
    color: #969a9b;
    min-width: 100%;
    align-items: center;
    text-decoration: none;
    padding: 1px 0 1px 10px;
}

.item-main #info-main a.setitem-piece img {
    width: 44px;
    height: 35px;
    margin-right: 3px;
}

.item-set-icon {
        width: 22px;
        height: 22px;
        margin-right: 8px;
        border-radius: 3px;
        display: flex;
        align-items: start;
        justify-content: left;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
}

.attr-name.disabled, .attr-value.disabled {
    color: #a5a9aa;
}

.data-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.data-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
    display: inline-flex;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

.data-body {
    padding: 20px 0;
}

.data-row {
    display: flex;
    padding: 18px 30px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.data-row:last-child {
    border-bottom: none;
}

.data-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    transition: width 0.3s ease;
}

.data-row:hover::before {
    width: 100%;
}

.data-row:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.data-label {
    flex: 1;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-value {
    flex: 1;
    color: white;
    font-size: 15px;
    text-align: right;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.data-icon {
    font-size: 16px;
    opacity: 0.8;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-inactive {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.progress-bar {
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.data-footer {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .data-container {
        margin: 10px;
        border-radius: 15px;
    }

    .data-row {
        flex-direction: column;
        padding: 15px 20px;
        gap: 8px;
    }

    .data-label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .data-value {
        text-align: left;
        justify-content: flex-start;
        font-size: 14px;
        padding-left: 20px;
    }

    .header-title {
        font-size: 20px;
    }

    .data-header {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .data-container {
        border-radius: 12px;
    }

    .data-row {
        padding: 12px 15px;
    }

    .data-header {
        padding: 15px;
    }

    .header-title {
        font-size: 18px;
    }
}