/* Augment hover tooltip. Global, so it looks the same on the class pages
   and in the Augments panel. */
.aug-hover-tooltip {
  width: 360px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 2px solid #c9a227;
  border-radius: 6px;
  background: linear-gradient(180deg, #16243f 0%, #0a1222 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .6),
              inset 0 0 0 1px rgba(201, 162, 39, .25);
  color: #e6e6e6;
  font-size: 14px;
  line-height: 1.35;
}

.aug-hover-tooltip .aug-detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.aug-hover-tooltip .aug-detail-icon-wrap img {
  display: block;
  width: 44px;
  height: 44px;
  border: 2px solid #c9a227;
  border-radius: 4px;
}

.aug-hover-tooltip .aug-detail-name {
  color: #f0c94a;
  font-size: 16px;
  font-weight: 700;
}

.aug-hover-tooltip .aug-detail-type {
  font-weight: 600;   /* color is set inline from the augment type */
}

.aug-hover-tooltip .aug-detail-pinnacle-badge {
  color: #f0c94a;
  font-size: 12px;
}

.aug-hover-tooltip .aug-detail-row {
  margin-top: 4px;
}

.aug-hover-tooltip .aug-detail-label {
  color: #a9b4c8;
}

.aug-hover-tooltip .aug-detail-desc {
  margin-top: 8px;
  color: #d6dcea;
}

.aug-hover-tooltip .aug-detail-exclusive-note,
.aug-hover-tooltip .aug-detail-pinnacle-status {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(201, 162, 39, .3);
  font-size: 13px;
}

.aug-hover-tooltip .aug-detail-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.aug-hover-tooltip .aug-tag {
  padding: 1px 6px;
  border: 1px solid rgba(201, 162, 39, .4);
  border-radius: 3px;
  font-size: 11px;
  color: #d8c27a;
}

#spell-tooltip.spell-tooltip {
  width: 360px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 2px solid #c9a227;
  border-radius: 6px;
  background: linear-gradient(180deg, #16243f 0%, #0a1222 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .6),
              inset 0 0 0 1px rgba(201, 162, 39, .25);
  color: #e6e6e6;
  font-size: 14px;
  line-height: 1.35;
}

#spell-tooltip .spell-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

#spell-tooltip .spell-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 2px solid #c9a227;
  border-radius: 4px;
}

#spell-tooltip .spell-name {
  color: #f0c94a;
  font-size: 16px;
  font-weight: 700;
}

#spell-tooltip .spell-sub {
  color: #9aa6bd;
  font-size: 12px;
  margin-bottom: 6px;
}

#spell-tooltip .spell-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#spell-tooltip .spell-cost {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 8px;
  border: 1px solid rgba(90, 150, 255, .5);
  border-radius: 3px;
  color: #6ea8ff;
  font-size: 13px;
  font-weight: 600;
}

#spell-tooltip .spell-meta-line {
  color: #9aa6bd;
  font-size: 12px;
  line-height: 1.5;
}

#spell-tooltip .spell-meta-line:first-of-type {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(201, 162, 39, .3);
}

#spell-tooltip .spell-rank {
  margin-top: 6px;
  color: #9aa6bd;
  font-size: 12px;
}

#spell-tooltip .spell-trained {
  margin-top: 4px;
  color: #9aa6bd;
  font-size: 12px;
}

#spell-tooltip .spell-desc {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(201, 162, 39, .3);
  color: #d6dcea;
}

.cp-aug {
  cursor: default;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: border-color 80ms ease, background 80ms ease;
}

.cp-aug img {
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid #555;
  border-radius: 4px;
  transition: border-color 80ms ease;
}

.cp-aug:hover {
  background: rgba(201, 162, 39, .08);
  border-color: rgba(201, 162, 39, .4);
}

.cp-aug:hover img {
  border-color: #c9a227;
}