/*
 * Copyright (c) 2023 D2ArmorPicker by Mijago.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

.container {
  display: inline-block;
  width: 32px;
  height: 30px;
  position: relative;
}

.modIcon {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 50px;
  height: 50px;

  -webkit-filter: contrast(2.3);
  filter: contrast(2.3);

  border: #00000000 solid 2px;

  -webkit-mask-image: url("../../../../../assets/masks/modmask.svg");
  mask-image: image(url("../../../../../assets/masks/modmask.svg"), black);
}

.modIcon_Mobility {
  -webkit-filter: contrast(2.3) sepia(100%) hue-rotate(0deg) brightness(100%) saturate(320%);
  filter: contrast(2.3) sepia(100%) hue-rotate(0deg) brightness(100%) saturate(320%);
}

.modIcon_Resilience {
  -webkit-filter: contrast(2.3) sepia(100%) hue-rotate(60deg) brightness(100%) saturate(320%);
  filter: contrast(2.3) sepia(100%) hue-rotate(60deg) brightness(100%) saturate(320%);
}

.modIcon_Recovery {
  -webkit-filter: contrast(2.3) sepia(100%) hue-rotate(120deg) brightness(100%) saturate(320%);
  filter: contrast(2.3) sepia(100%) hue-rotate(120deg) brightness(100%) saturate(320%);
}
.modIcon_Discipline {
  -webkit-filter: contrast(2.3) sepia(100%) hue-rotate(180deg) brightness(100%) saturate(320%);
  filter: contrast(2.3) sepia(100%) hue-rotate(180deg) brightness(100%) saturate(320%);
}
.modIcon_Intellect {
  -webkit-filter: contrast(2.3) sepia(100%) hue-rotate(240deg) brightness(100%) saturate(320%);
  filter: contrast(2.3) sepia(100%) hue-rotate(240deg) brightness(100%) saturate(320%);
}

.modIcon_Strength {
  -webkit-filter: contrast(2.3) sepia(100%) hue-rotate(300deg) brightness(100%) saturate(320%);
  filter: contrast(2.3) sepia(100%) hue-rotate(300deg) brightness(100%) saturate(320%);
}

.modIcon.minor {
  opacity: 0.8;
  scale: 0.75;
}


.artificeIcon {
  height: 28px;
  width: 28px;

  -webkit-filter: saturate(40) hue-rotate(40deg);
  filter: saturate(40) hue-rotate(40deg);
}

.selected {
  border: red solid 2px;
}

:host {
  position: relative;
}

.modText {
  position: absolute;
  text-shadow: 0 0 6px #000000;
  font-size: smaller;
  color: whitesmoke;
  bottom: -6px;
  right: -1px;
}
