.gearplanner {
    margin-top: 10px;
}

.gp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    padding: 8px 12px;
    background-color: #1f1816;
    border: 1px solid #1f1816;
    border-radius: 6px;
}

.gp-field {
    font-size: 13px;
    color: #b1997f;
    white-space: nowrap;
}

.gp-field-label {
    margin-right: 6px;
}

.gp-field select,
.gp-field input {
    vertical-align: middle;
}

.gp-field input[type=number] {
    width: 50px;
    height: 30px;
    box-sizing: border-box;
}

.gp-toolbar-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.gp-toolbar-actions a.button-red {
    float: none;
    margin: 0;
    padding-left: 15px;
    font-size: 13px;
    line-height: 28px;
}

.gp-toolbar-actions a.button-red em {
    padding-right: 15px;
}

.gp-tabs {
    margin-top: 10px;
}

.gp-tabs .tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.gp-tabs .tabs li {
    float: none;
    margin: 0;
}

.gp-tabs .tabs a {
    border-radius: 6px 6px 0 0;
}

.gp-tabs .tabs b {
    padding: 0 20px;
}

.gp-talents {
    padding: 14px 10px;
    background: #111 url(../modelviewer/background.png) repeat;
    border: 2px solid #1f1816;
    border-radius: 6px;
}

.gp-talents .talentcalc {
    width: 941px;
    margin: 0 auto;
}

.gp-pet-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}

.gp-pet-slot {
    flex: 0 1 460px;
    min-width: 0;
}

.gp-pet-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gp-pet-actions a.button-red {
    float: none;
    margin: 0;
}

.gp-pet-body {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.gp-pet-stats {
    flex: 1 1 auto;
    min-width: 0;
}

.gp-pet-talents {
    flex: 0 0 auto;
}

.gp-pet-empty {
    padding: 30px 0;
    color: #b1997f;
    font-size: 13px;
    text-align: center;
}

.gp-pet-effects {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #1f1816;
    border-radius: 6px;
    font-size: 13px;
}

.gp-pet-effects h3 {
    margin: 0 0 6px 0;
    color: #fff;
    font-size: 13px;
}

.gp-pet-effect {
    line-height: 22px;
}

.gp-pet-effect > a {
    margin-right: 12px;
    text-decoration: none;
}

.gp-pet-effect > a:hover {
    text-decoration: underline;
}

.gp-pet-effect .icontiny {
    padding-left: 18px;
    margin-right: 4px;
}

.gp-bar {
    position: relative;
    height: 18px;
    margin-bottom: 4px;
    background-color: #130f0d;
    border: 1px solid #302521;
    border-radius: 2px;
    overflow: hidden;
    cursor: default;
}

.gp-bar-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06) 45%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.35));
}

.gp-bar-empty .gp-bar-fill {
    width: 0;
}

.gp-bar-health .gp-bar-fill {
    background-color: #1c9c1c;
}

.gp-bar-mana .gp-bar-fill {
    background-color: #1f4fc6;
}

.gp-bar-rage .gp-bar-fill {
    background-color: #b81616;
}

.gp-bar-energy .gp-bar-fill {
    background-color: #c9b31a;
}

.gp-bar-runic .gp-bar-fill {
    background-color: #1fa8d2;
}

.gp-bar-focus .gp-bar-fill {
    background-color: #d06a26;
}

.gp-racials {
    float: left;
    display: flex;
    align-items: center;
    margin-left: 14px;
}

.gp-racials-title {
    margin-right: 8px;
    color: #b1997f;
    font-size: 15px;
    font-weight: bold;
    text-shadow: 0 0 3px #000;
}

.gp-racials-icons {
    display: flex;
    gap: 2px;
}

.gp-bar-text {
    position: relative;
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
}

.gp-pet .talentcalc {
    width: 572px;
    margin: 0;
}

.gp-pet .talentcalc-wrapper {
    width: 572px;
}

.gp-pet .talentcalc-pet .talentcalc-upper {
    width: 568px;
}

.gp-pet .talentcalc-pet .talentcalc-main,
.gp-pet .talentcalc-pet .talentcalc-lower,
.gp-pet .talentcalc-pet .talentcalc-lower-tree1 {
    margin-left: 0;
}

.gp-pet .talentcalc-pet .talentcalc-sidebar {
    left: 252px;
    top: 33px;
}

.gp-pet .talentcalc-model,
.gp-pet .talentcalc-upper-ptsleft a {
    display: none !important;
}

.gp-paperdoll {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px minmax(0, 1fr);
    column-gap: 6px;
    padding: 34px 10px 12px 10px;
    background: #111 url(../modelviewer/background.png) repeat;
    border: 2px solid #1f1816;
    border-radius: 6px;
}

.gp-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.gp-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 62px;
    padding: 0 6px;
    border-radius: 4px;
}

.gp-slot:hover {
    background-color: rgba(31, 24, 22, 0.7);
}

.gp-slot-left {
    flex-direction: row-reverse;
    text-align: right;
}

.gp-slot .iconmedium {
    flex: 0 0 auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.gp-slot-info {
    flex: 1 1 auto;
    min-width: 0;
}

.gp-slot-name {
    display: block;
    font-size: 13px;
    line-height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    text-shadow: 0 0 3px #000;
}

.gp-slot-name:hover {
    text-decoration: underline;
}

.gp-slot-empty .gp-slot-name {
    color: #b1997f;
}

.gp-slot-empty .gp-slot-name:hover {
    color: #fff;
    text-decoration: none;
}

.gp-slot-extra {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
}

.gp-slot-left .gp-slot-extra {
    flex-direction: row-reverse;
}

.gp-slot-ench {
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-slot-ench a {
    text-decoration: none;
}

.gp-slot-ench a:hover {
    text-decoration: underline;
}

.gp-slot-ench a.gp-add {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px 2px 3px;
    border: 1px solid #302521;
    border-radius: 12px;
    background-color: #130f0d;
    color: #FFD100;
    line-height: 16px;
    vertical-align: middle;
}

.gp-slot-ench a.gp-add:hover {
    border-color: #5c4c44;
    color: #fff;
    text-decoration: none;
}

.gp-add-icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: url(../images/wow/icons/tiny/trade_engraving.gif) no-repeat center;
}

.gp-add-icon.gp-add-suffix {
    background-image: url(../images/wow/icons/tiny/inv_misc_dice_01.gif);
}

.gp-slot-ench a + a {
    margin-left: 8px;
}

.gp-tip-name {
    white-space: nowrap;
}

.gp-tip-block + .gp-tip-block {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.gp-slot-warn {
    flex: 0 0 auto;
    font-size: 16px;
    color: #b1997f;
    cursor: help;
}

.gp-slot-warn.q10 > i {
    animation: gp-warn-color 1s ease-in-out 3;
}

@keyframes gp-warn-color {
    0%, 100% {
        color: #ff4040;
    }
    50% {
        color: #ffd100;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gp-slot-warn.q10 > i {
        animation: none;
    }
}

.gp-slot-gems {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 1px;
}

.gp-slot-gems .iconsmall {
    flex: 0 0 auto;
}

.gp-slot-disabled {
    opacity: 0.4;
}

.gp-dim {
    opacity: 0.4;
}

.gp-dim:hover {
    opacity: 1;
}

.gp-center {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gp-zoom {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    gap: 4px;
}

.gp-zoom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #FFD100;
    font-size: 13px;
    text-decoration: none;
    background-color: #1f1816;
    border: 1px solid #302521;
    border-radius: 2px;
}

.gp-zoom-button:hover {
    color: #fff;
    background-color: #302521;
}

.gp-model {
    position: relative;
    height: 600px;
    margin: -20px 0;
}

.gp-check {
    font-size: 13px;
    color: #b1997f;
    cursor: pointer;
    white-space: nowrap;
}

.gp-check input {
    margin: 0 4px 0 0;
    vertical-align: middle;
}

.gp-bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 16px;
    margin-top: 20px;
}

.gp-weapons {
    position: relative;
    grid-column: 2;
    display: flex;
    gap: 16px;
}

.gp-weapons .gp-slot {
    flex: 0 0 240px;
    min-width: 0;
}

.gp-weapons .gp-slot-ammo {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 4px;
}

.gp-slot-ammo .gp-slot-info {
    display: none;
}

.gp-states {
    position: absolute;
    right: 16px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.gp-buffs-icons {
    margin-bottom: 9px;
}

.gp-buffs-title {
    font-size: 13px;
    color: #b1997f;
    text-decoration: none;
    text-shadow: 0 0 3px #000;
    white-space: nowrap;
}

.gp-buffs-title:hover {
    color: #fff;
}

.gp-buffs-icons {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap-reverse;
    gap: 4px;
    max-width: 236px;
}

.gp-buffs-icons .iconmedium {
    flex: 0 0 auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.gp-add-plus {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFD100;
    font-size: 18px;
    text-shadow: 0 0 3px #000;
    pointer-events: none;
}

.gp-buffs-icons .iconmedium:hover .gp-add-plus {
    color: #fff;
}

.gp-buffs-sep {
    flex: 0 0 1px;
    align-self: stretch;
    margin: 4px 3px;
    background-color: #5c4c44;
}

.gp-picker tr.gp-section-row td {
    background-color: #1f1816;
    cursor: default;
}

.gp-section-title {
    color: #fff;
    font-weight: bold;
}

.gp-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #1f1816;
    border-radius: 6px;
    font-size: 13px;
}

.gp-summary b {
    color: #fff;
}

.gp-help {
    cursor: help;
    border-bottom: 1px dotted #7f6d5f;
}

.gp-summary a {
    text-decoration: none;
}

.gp-summary a:hover {
    text-decoration: underline;
}

.gp-resist-value {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    z-index: 25;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000;
    pointer-events: none;
}

.gp-stat-empty {
    padding: 2px 3px;
}

.gp-statistics .profiler-inventory-stats p {
    background-color: #1f1816;
    border-color: #1f1816;
}

.gp-statistics .profiler-inventory-stats a:hover {
    background-color: #302521;
}

.gp-statistics .profiler-inventory-stats em {
    width: 74%;
    color: #b1997f;
    text-overflow: ellipsis;
}

.gp-statistics .profiler-inventory-stats var {
    width: 26%;
}

.gp-statistics .profiler-inventory-stats h3 a {
    color: #fff;
}

.gp-note {
    margin-top: 8px;
    font-size: 12px;
    color: #7f6d5f;
}

.gp-picker {
    position: relative;
    box-sizing: border-box;
    padding: 10px;
    background-color: #130f0d;
    border: 2px solid #1f1816;
    border-radius: 6px;
}

.gp-picker-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 2;
    font-size: 20px;
    line-height: 1;
    color: #FFD100;
    text-decoration: none;
}

.gp-picker-close:hover {
    color: #fff;
}

.gp-picker-title {
    margin: 4px 90px 10px 2px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-picker-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 2px 0;
}

.gp-picker-filters input[type=text] {
    width: 180px;
    height: 30px;
    box-sizing: border-box;
}

.gp-search {
    position: relative;
    display: inline-block;
}

.gp-picker-filters .gp-search input[type=text] {
    width: 260px;
    padding-right: 28px;
}

.gp-search a {
    position: absolute;
    top: 0;
    right: 8px;
    font-size: 16px;
    line-height: 30px;
    color: #b1997f;
    text-decoration: none;
}

.gp-search a:hover {
    color: #fff;
}

.gp-picker-filters input[type=number] {
    width: 64px;
    height: 30px;
    box-sizing: border-box;
}

.gp-picker-msg {
    font-size: 14px;
}

.gp-picker .listview-mode-default {
    width: 100%;
}

.gp-picker .listview-mode-default tbody tr {
    cursor: pointer;
}

.gp-picker .listview-clip td {
    border: 1px solid #1f1816;
}

.gp-deltas {
    max-width: 0;
    text-align: left !important;
}

.gp-deltas-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-delta {
    margin-right: 10px;
}

.gp-equipped {
    font-weight: normal;
}
