/* TORNADO CHART */
.chart-container {
    /* width: 700px; */
    text-align: center;
}

.label-title {
    font-size: 24px;
    fill: #32CE62;
    font-weight: 600;
}

.label-title-caption {
    font-size: 24px;
    fill: #32CE62;
    font-weight: 300;
}

.label-scale {
    fill: #999;
    font-size: 16px;
}

.right-label-scale {
    fill: #999;
    font-size: 20px;
    font-weight: 600;
}

.label-bar-home {
    font-size: 24px;
    fill: #32CE62;
    font-weight: 600;
}

.label-bar-away {
    font-size: 24px;
    fill: #E41827;
    font-weight: 600;
}

.bar-home {
    fill: #00ff88;
}

.bar-away {
    fill: #E41827;
}

.avg-line {
    stroke: #444;
    stroke-width: 2;
}

.diff-line {
    stroke: #3333336a;
    stroke-width: 2;
}

.diff-marker-home {
    fill: #E41827;
}

.diff-marker-away {
    fill: #32CE62;
}

.divider-line {
    stroke: rgb(43, 47, 51);
    stroke: #9CA0AB;
    stroke-width: 1;
    stroke-dasharray: 4, 4;
    opacity: 0.65;
}

/* SINGLE CIRCULAR CHART */
.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring__bg {
    fill: none;
    stroke: #1e1f23;
    stroke-width: 12;
}

.progress-ring__progress {
    fill: none;
    stroke: #32CE62;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    /* 2 * π * 54 */
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1s ease;
}

.progress-ring__progress.secondary {
    stroke: #E41827;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9CA0AB;
    text-align: center;
}

.progress-text span {
    font-size: 20px;
    font-weight: 400;
}

.progress-text p {
    font-size: 14px;
    letter-spacing: 1px;
    color: #9CA0AB;
}

/* STATS BARS (LEAGUE POSITION BARS) */
.league-position {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    gap: 30px;
    /* background: pink; */
}

.bar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bar .tick {
    width: 18px;
    height: 1px;
    background-color: currentColor;
}

.bar .top {
    margin-bottom: 2px;
}

.bar .bottom {
    margin-top: 6px;
    position: absolute;
    bottom: -2px;
}

.bar::before {
    content: "";
    width: 1px;
    height: 116px;
    /* vertical line length */
    background-color: currentColor;
    position: absolute;
    top: 3px;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.value-box {
    width: 25px;
    height: 25px;
    border-radius: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    z-index: 1;
    position: absolute;
    top: 3px;
    transition: top .5s linear;
}

.home-value-box {
    color: #000;
    /* top: 13.92px; */
}

.away-value-box {
    color: white;
    /* top: 17.56px; */
}

.green {
    color: #32CE62;
}

.green .value-box {
    background-color: #32CE62;
}

.red {
    color: #E41827;
}

.red .value-box {
    background-color: #E41827;
}

/* DONUT CHART (PREVIOUS MEETING CHART) */
.pm-chart {
    display: flex;
    align-items: start;
    text-align: center;
    gap: 30px;
    justify-content: center;
}

.team {
    width: 100px;
}

.team-left {
    color: #32CE62;
}

.team-right {
    color: #E41827;
}

.team h3 {
    font-size: 16px;
    margin: 0;
}

.team p {
    margin: 5px 0 0;
    font-size: 14px;
}

.team h2 {
    font-size: 20px;
    margin-top: 5px;
    font-weight: 500;
}

.chart {
    position: relative;
    width: 160px;
    height: 160px;
}

.chart svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.bg {
    fill: none;
    stroke: #222;
    stroke-width: 14;
}

.arc {
    fill: none;
    stroke-width: 14;
    stroke-linecap: butt;
    stroke-dasharray: 565;
    /* 2 * π * 90 */
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1s ease;
}

.arc.left {
    stroke: #00ff70;
}

.arc.right {
    stroke: #ff2b2b;
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.center-text h2 {
    color: #9CA0AB;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.center-text p {
    font-size: 14px;
    margin: 0;
    color: #9CA0AB;
}