/* Team Insights (Team Signatures) Tool CSS */

#tool-content {
  text-align: center;
}

h1 {
  margin-top: 0;
}

#teams {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#teams li {
  color: white;
  font-weight: 400;
  font-size: 1.2em;
  text-align: center;
  background: #999;
  list-style: none;
  aspect-ratio: 1;
  position: relative;
  border-radius: 4px;
}

#teams li a {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  text-decoration: none;
  border-radius: 4px;
}

#teams li a:hover {
  opacity: 0.9;
}

#year-range {
  width: 400px;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 30px;
}

#year-range .pull-right,
#year-range .pull-left {
  font-size: 0.8em;
  line-height: 18px;
}

#year-range:not(.animating) .fa-stop,
#year-range.animating .fa-play {
  display: none;
}

#year-range input[type="range"] {
  width: 100%;
}

#source {
  margin-top: 40px;
}

body[data-stats-type="team"] .advanced-stats-enabled {
  display: none;
}

body[data-stats-type="advanced"] .team-averages-enabled {
  display: none;
}

/* SVG styling */
circle.background {
  stroke: #eee;
  fill: #FFF;
  stroke-width: 1;
}

.axis path {
  fill: none;
  stroke: #eee;
  stroke-width: 1;
}

.axisScale text {
  display: none;
}

.radar path {
  stroke-width: 2;
  fill-opacity: 0.4;
}

.axisLabel {
  font: 10px sans-serif;
  text-transform: capitalize;
  fill: #333;
  stroke: none;
}

.d3-tip {
  z-index: 1000;
  font-size: 12px;
  padding: 10px 5px;
}

#signature-generator .col-sm-4 {
  padding-left: 0;
}

#chart {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

#team-comparison {
  margin-top: 30px;
}

#team-comparison-chart {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* Form group styling */
.form-group {
  margin-bottom: 15px;
}

#signature-generator textarea {
  min-height: 60px;
}
