/*!
 * 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;
  position: relative;

  --icon-size: 36px;
}

.exoticIcon {
  width: 36px;
  height: 36px;
  margin-right: 3px;

  border: #00000000 solid 2px;
  cursor: pointer;
}

.watermarkIcon {
  width: 36px;
  height: 36px;
  margin-left: -41px;
  margin-top: 2px;
  position: absolute;
  pointer-events: none;
}

.exoticIcon:hover {
  border: cornflowerblue solid 2px;
}

.selected,
.selected:hover {
  border: #0059ff solid 2px;
}

:host {
  position: relative;
}

.exoticText {
  position: absolute;
  text-shadow: 0 0 6px #000000;
  background: rgba(33, 33, 33, 0.51);
  color: whitesmoke;
  bottom: 4px;
  right: 5px;
}

.disabled {
  filter: grayscale(1) contrast(0.6);

  &:hover {
    cursor: default;
  }
}

.item-source-overlay {
  margin: 2px;
}

@import "../../components/item-icon/item-source-overlay.scss";
