@import url("https://fonts.googleapis.com/css2?family=Jersey+25&display=swap");
/*
// ANCHOR: VARS
*/
/* END VARS */
@font-face {
  font-family: "Inter";
  src: url("../../fonts/Inter-Bold.woff2") format("woff2"), url("../../fonts/Inter-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../../fonts/Inter-Regular.woff2") format("woff2"), url("../../fonts/Inter-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.site-branding img {
  border: 0;
}

html {
  margin-top: 0 !important;
}

body {
  font-family: "Jersey 25", sans-serif;
  font-size: 16px;
  line-height: normal;
  color: #1c1c1c;
  padding-bottom: 200px;
}
body::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: #fff;
}

.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 1200px) {
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    padding-right: 60px;
    padding-left: 60px;
    max-width: 1600px;
  }
}

.header-area {
  border-bottom: 0;
  background-color: transparent;
}

.footer-area {
  display: none;
}

.site-title {
  display: none;
}

.mainmenu-area {
  display: none;
}

.fixed-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  background: linear-gradient(0deg, rgb(240, 240, 240) 0%, rgb(255, 255, 255) 100%);
  z-index: 9;
  padding: 10px 0;
  box-shadow: 0px 0px 14px -3px rgba(0, 0, 0, 0.1);
}
.fixed-menu ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
}
.fixed-menu ul li {
  text-align: center;
  cursor: pointer;
  padding: 0 20px;
  transition: all 0.2s ease-out;
}
.fixed-menu ul li img {
  height: 30px;
  width: 30px;
  display: block;
  margin: auto;
}
.fixed-menu ul li:not(.active) img {
  opacity: 0.3;
}
.fixed-menu ul li span {
  font-size: 12px;
  color: #B8B8BA;
  line-height: 12px;
  display: block;
  margin-top: 5px;
}
.fixed-menu ul li.active span {
  color: #9E47FD;
}

section.heats-log {
  display: none;
}

section.charts {
  display: none;
  gap: 3rem;
  margin-top: 30px;
}
section.charts .charts__item {
  position: relative;
  width: 100%;
}
section.charts .charts__item:not(:first-child) {
  margin-top: 40px;
}
@media (min-width: 992px) {
  section.charts .charts__item:not(:first-child) {
    margin-top: 60px;
  }
}
section.charts .charts__item .charts__title {
  font-size: 24px;
}
section.charts .charts__item .charts__subtitle {
  color: #5D5D5D;
  margin-top: 5px;
}
section.charts .charts__item .charts__wrapper {
  margin-top: 4rem;
}
section.charts .charts__item .--more {
  background-color: #353535;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
}
section.charts .charts__item:not(.open) .charts__wrapper > ul > li:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) {
  display: none;
}
section.charts .charts__item:not(.open) .--more .close {
  display: none;
}
section.charts .charts__item.open .--more .open {
  display: none;
}
section.charts .charts__item .position-1 .position {
  color: #E5B81D !important;
}
section.charts .charts__item .position-2 .position {
  color: #ADADAD !important;
}
section.charts .charts__item .position-3 .position {
  color: #D77812 !important;
}
section.charts .charts__item li.item .wrapper-stat {
  background-color: #353535;
  color: #fff;
  padding: 15px;
  display: none;
  max-height: 50vh;
  overflow: auto;
}
section.charts .charts__item li.item .wrapper-stat .title {
  text-transform: uppercase;
  font-size: 20px;
}
section.charts .charts__item li.item .wrapper-stat .title:not(:first-child) {
  margin-top: 30px;
}
section.charts .charts__item li.item .wrapper-stat .title + .content {
  margin-top: 5px;
}
section.charts .charts__item li.item .wrapper-stat .content {
  color: #D9D9D9;
  line-height: 20px;
}
section.charts .charts__item li.item .wrapper-stat .content ul {
  row-gap: 5px;
}
section.charts .charts__item li.item .wrapper-stat .content ul li {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section.charts .charts__item li.item .wrapper-stat .content ul li:not(:last-child) {
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
}
section.charts .charts__item li.item.open .wrapper-stat {
  display: block;
}
section.charts .classifica-team ul {
  list-style: none;
  display: flex;
  align-self: center;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0;
  margin-bottom: 0;
  justify-content: center;
  row-gap: 1rem;
}
section.charts .classifica-team .classifica-team__item {
  width: 100%;
}
section.charts .classifica-team .classifica-team__item .wrapper {
  background-color: #EFEFEF;
  padding: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
section.charts .classifica-team .classifica-team__item .wrapper img {
  width: 50px;
  height: 50px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 15px;
}
section.charts .classifica-team .classifica-team__item .wrapper .position {
  font-size: 28px;
  color: #9E47FD;
  margin-right: 15px;
}
section.charts .classifica-team .classifica-team__item .wrapper .team-name {
  font-size: 18px;
  color: #5D5D5D;
}
section.charts .classifica-team .classifica-team__item .wrapper .team-points {
  font-size: 18px;
  color: #5D5D5D;
  margin-left: auto;
}
section.charts .classifica-piloti ul {
  list-style: none;
  display: flex;
  align-self: center;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0;
  margin-bottom: 0;
  justify-content: center;
  row-gap: 1rem;
}
section.charts .classifica-piloti li.item {
  width: 100%;
}
section.charts .classifica-piloti li.item .wrapper {
  background-color: #EFEFEF;
  padding: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
section.charts .classifica-piloti li.item .wrapper img {
  width: 50px;
  height: 50px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 15px;
}
section.charts .classifica-piloti li.item .wrapper .position {
  font-size: 28px;
  color: #9E47FD;
  margin-right: 15px;
}
section.charts .classifica-piloti li.item .wrapper .pilot-name {
  font-size: 18px;
  color: #5D5D5D;
}
section.charts .classifica-piloti li.item .wrapper .points {
  font-size: 18px;
  color: #5D5D5D;
  margin-left: auto;
}
section.charts .classifica-piloti .popup .points-best-lap {
  text-align: center;
  margin-bottom: 2rem;
  color: #ff01ff;
}
section.charts .classifica-piloti .popup li.round {
  align-items: flex-start;
  align-content: flex-start;
}
section.charts .classifica-tempi ul {
  list-style: none;
  display: flex;
  align-self: center;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 0;
  margin-bottom: 0;
  justify-content: center;
  row-gap: 1rem;
}
section.charts .classifica-tempi li.item {
  width: 100%;
}
section.charts .classifica-tempi li.item .wrapper {
  background-color: #EFEFEF;
  padding: 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
section.charts .classifica-tempi li.item .wrapper img {
  width: 50px;
  height: 50px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 15px;
}
section.charts .classifica-tempi li.item .wrapper .position {
  font-size: 28px;
  color: #9E47FD;
  margin-right: 15px;
}
section.charts .classifica-tempi li.item .wrapper .pilot-name {
  font-size: 18px;
  color: #5D5D5D;
}
section.charts .classifica-tempi li.item .wrapper .points {
  font-size: 18px;
  color: #5D5D5D;
  margin-left: auto;
  text-align: right;
}
section.charts .classifica-tempi li.item .wrapper .points .gap-time {
  font-size: 16px;
  color: #9E47FD;
  margin-top: 2px;
  text-align: right;
  display: block;
}

.blog-area {
  padding-top: 0px;
}

.page .site-branding,
.single .site-branding,
.search .site-branding,
.archive .site-branding,
.error404 .site-branding {
  padding-top: 0;
}

.single-event #wpadminbar {
  display: none;
}
.single-event .header {
  margin-top: 20px;
}
.single-event .header .back-home {
  margin-bottom: 5px;
}
.single-event .header .back-home a {
  text-decoration: none;
  color: #5D5D5D;
  display: flex;
  align-items: center;
}
.single-event .header .back-home img {
  height: 10px;
  margin-right: 8px;
}
.single-event .header h1 {
  font-size: 32px;
  line-height: normal;
  color: #9E47FD;
  margin-bottom: 5px;
}
.single-event .header .location {
  color: #5D5D5D;
}
.single-event video.bg-ipad {
  position: fixed;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  -o-object-fit: cover;
     object-fit: cover;
  background-color: #000;
}

section.on-live {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}
section.on-live .--title-section {
  color: #000;
  font-size: 26px;
  margin-bottom: 0;
}
section.on-live .--heat-type {
  color: #5D5D5D;
  margin-bottom: 30px;
}
section.on-live .pilot {
  margin-top: 1rem;
}
section.on-live .row {
  justify-content: center;
  margin-top: -1rem;
}
section.on-live .pilot__freq,
section.on-live .pilot__pos {
  color: #9E47FD;
  font-size: 28px;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  right: 0;
}
section.on-live .pilot__name {
  width: 100%;
  position: relative;
}
section.on-live .pilot_info {
  width: calc(100% - 60px);
  padding-left: 15px;
}
section.on-live .pilot_info .postazione {
  color: #5D5D5D;
}
section.on-live .pilot_info .name {
  font-size: 22px;
  color: #000;
}
section.on-live .pilot__laps {
  text-align: center;
  width: 100%;
}
section.on-live .pilot__laps ul {
  list-style: none;
  margin: 0;
  padding: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: #5D5D5D;
}
section.on-live .pilot__laps ul li.bonus {
  color: #e5b81d;
}
section.on-live .pilot__laps.practice ul {
  flex-wrap: wrap;
  row-gap: 10px;
  -moz-column-gap: 20px;
       column-gap: 20px;
  justify-content: flex-start;
}
section.on-live .pilot__laps.practice ul li {
  flex: 0 1 90px;
}
section.on-live .pilot__penality {
  margin-top: 4px;
  font-size: 13px;
  line-height: 15px;
  color: #d14141;
}
section.on-live .pilot__team img {
  width: 60px;
  height: 60px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: auto;
}
section.on-live .pilot__points {
  font-size: 18px;
  text-align: center;
  width: 100%;
}
section.on-live .pilot__wrapper {
  background-color: #EFEFEF;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.on-live__title {
  text-align: center;
  margin-bottom: 40px;
  text-decoration: underline;
}

.bg-tablet {
  background-image: url(https://iwl.netstarsolution.net/wp-content/uploads/2023/11/Sfondo-giusto-min.jpg);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-position: center center;
  background-size: cover;
}
.bg-tablet::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.tablet-view .pilot {
  margin-top: 10rem;
}
.tablet-view .row {
  justify-content: center;
  margin-top: -10rem;
}
.tablet-view .pilot__freq {
  font-size: 40px;
  text-align: center;
  position: absolute;
  right: 0;
  top: 2%;
  transform: translateY(50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 22%;
  line-height: 40px;
  text-shadow: 0px 2px 30px #e249ff;
  box-shadow: inset 0px 0px 18px 0px rgba(121, 19, 140, 0.4), 0px 0px 18px 0px rgba(233, 0, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.27);
  border-radius: 30px;
  padding: 2rem 0;
}
.tablet-view .pilot__freq .number {
  font-size: 20px;
  line-height: 20px;
  display: block;
  margin-top: 0.5rem;
}
.tablet-view .pilot__name {
  text-align: center;
  width: 100%;
  position: absolute;
  top: 0%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  line-height: normal;
  background-position: center center;
  font-size: 60px;
  text-shadow: 0px 2px 30px #e249ff;
  box-shadow: inset 0px 0px 18px 0px rgba(121, 19, 140, 0.4), 0px 0px 18px 0px rgba(233, 0, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.27);
  border-radius: 30px;
  padding: 15px 0;
}
.tablet-view .pilot__laps {
  font-size: 34px;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 50%;
  line-height: 47px;
  text-shadow: 0px 2px 30px #e249ff;
  box-shadow: inset 0px 0px 18px 0px rgba(121, 19, 140, 0.4), 0px 0px 18px 0px rgba(233, 0, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.27);
  border-radius: 30px;
  padding: 20px 0;
}
.tablet-view .pilot__laps ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tablet-view .pilot__laps .laps-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}
.tablet-view .pilot__laps .laps-summary div {
  font-size: 34px;
  line-height: 1.2;
  text-align: center;
}
.tablet-view .stats {
  font-size: 34px;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: -6%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  line-height: 47px;
  text-shadow: 0px 2px 30px #e249ff;
  box-shadow: inset 0px 0px 18px 0px rgba(121, 19, 140, 0.4), 0px 0px 18px 0px rgba(233, 0, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.27);
  border-radius: 30px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
}
.tablet-view .stats .title {
  position: absolute;
  left: 43px;
  top: -30px;
  display: none;
}
.tablet-view .stats .team-points,
.tablet-view .stats .pilot-points {
  width: 50%;
}
.tablet-view .stats .best-lap {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
.tablet-view .pilot__team {
  text-align: center;
  font-size: 16px;
  width: 100%;
  position: absolute;
  top: 56%;
  filter: drop-shadow(0px 0px 19px #e249ff);
  transform: translateY(-50%);
}
.tablet-view .pilot__team img {
  max-width: 80%;
  display: block;
  margin: 0 auto;
  max-height: 360px;
}
.tablet-view .pilot__points {
  font-size: 18px;
  text-align: center;
  width: 100%;
}
.tablet-view .pilot__pos {
  font-size: 60px;
  text-align: center;
  position: absolute;
  left: 0;
  top: 4%;
  transform: translateY(50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 22%;
  line-height: 95px;
  text-shadow: 0px 2px 30px #e249ff;
  box-shadow: inset 0px 0px 18px 0px rgba(121, 19, 140, 0.4), 0px 0px 18px 0px rgba(233, 0, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.27);
  border-radius: 30px;
}
.tablet-view .pilot__pos.not-finished {
  font-size: 27px;
  line-height: 37px;
  padding: 1.5rem 0 2rem;
  top: 2%;
}
.tablet-view .pilot__wrapper {
  padding: 4rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  color: #fff;
  max-width: 100%;
  margin: auto;
  position: relative;
  min-height: 80vh;
}

.home-link {
  position: absolute;
  top: 20px;
  left: 20px;
  cursor: pointer;
}
@media (min-width: 768px) {
  .home-link {
    top: 25px;
  }
}
@media (min-width: 1200px) {
  .home-link {
    top: 32px;
  }
}
.home-link a {
  display: block;
  padding: 5px;
}
.home-link img {
  width: 20px;
  height: 20px;
  display: block;
}
@media (min-width: 1200px) {
  .home-link img {
    width: 25px;
    height: 25px;
    display: block;
  }
}

section.heats {
  display: none;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}
section.heats .--title-section {
  color: #000;
  font-size: 26px;
  margin-bottom: 0;
}
section.heats .--subtitle-section {
  color: #5D5D5D;
  margin-bottom: 30px;
}
section.heats .round {
  position: relative;
  width: 100%;
  margin-top: 2rem;
}
section.heats .round .round-title {
  background-color: #353535;
  color: #fff;
  font-size: 18px;
  padding: 12px 15px;
}
section.heats .round .round-title img {
  width: 12px;
  height: 12px;
  margin-left: 10px;
  margin-top: -6px;
}
section.heats .round .round-content {
  background-color: #EFEFEF;
  padding: 15px;
  overflow: auto;
}
section.heats .round .round-content .round__table {
  width: 100%;
  min-width: 580px;
}
section.heats .round .round-content .round__table td,
section.heats .round .round-content .round__table th {
  padding: 5px 0;
  width: 25%;
}
section.heats .round .round-content .round__table td:not(:first-child),
section.heats .round .round-content .round__table th:not(:first-child) {
  text-align: center;
}
section.heats .round .round-content .round__table tbody td:not(:first-child) {
  color: #5D5D5D;
}
section.heats .round .round-content .round__table tbody tr:not(:last-child) {
  border-bottom: 1px solid #ADADAD;
}
section.heats .round .round-content .round__table tbody td:first-child {
  position: relative;
}
section.heats .round .round-content .round__table tbody td:first-child::before {
  content: "";
  position: absolute;
  height: 60%;
  right: 0;
  top: 20%;
  width: 1px;
  background-color: #000;
}
section.heats .round .round-content .round__table tbody .done {
  background-color: #b3dbc9;
}
section.heats .round .round-content .round__table tbody .current {
  background-color: #edcdff;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  max-height: 100vh;
  overflow-y: auto;
}
.popup .popup-wrapper {
  width: calc(100% - 40px);
  max-width: 800px;
  background-color: #fff;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 6rem;
  padding: 2rem;
  position: relative;
  margin-bottom: 6rem;
}
.popup .popup-wrapper .popup-close {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}
.popup .popup-wrapper .popup-close img {
  width: 25px;
  height: 25px;
}
.popup .popup-wrapper h3 {
  text-align: center;
  margin-bottom: 4rem;
  text-transform: uppercase;
  color: #FA09FF;
}
.popup .popup-wrapper ul.list-round {
  margin-top: -3rem;
  display: flex;
  flex-wrap: wrap;
}
.popup .popup-wrapper ul.list-round li.round {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
  font-size: 1.6rem;
}
@media (max-width: 575px) {
  .popup .popup-wrapper ul.list-round li.round:not(:last-child) {
    border-bottom: 1px solid #fa35ff;
    padding-bottom: 3rem;
  }
}
@media (min-width: 576px) {
  .popup .popup-wrapper ul.list-round li.round {
    width: 50%;
  }
}
.popup .popup-wrapper ul.list-round li.round .title-stat-round {
  font-weight: bold;
  width: 100%;
  margin-bottom: 1rem;
}
.popup .popup-wrapper ul.list-round li.round .total-points {
  width: 100%;
  margin-bottom: 1rem;
}
.popup .popup-wrapper ul.list-round li.round .bonus-gate {
  width: 100%;
}
.popup .popup-wrapper ul.list-round li.round .laps-stat {
  width: 100%;
}
.popup .popup-wrapper ul.list-round li.round .laps-stat ul {
  padding-left: 0;
  margin-top: 0;
  list-style: none;
}
.popup .popup-wrapper ul.list-round li.round .laps-stat ul li {
  margin-top: 0;
}

.settings-panel {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 9;
}
.settings-panel .settings-panel__trigger {
  cursor: pointer;
  display: block;
}
.settings-panel .settings-panel__trigger .open {
  width: 40px;
  height: 40px;
  background-color: #fff;
  padding: 9px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-out;
}
.settings-panel .settings-panel__trigger:hover .open {
  transform: scale(1.1);
}
.settings-panel > .open {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: #fff;
  padding: 9px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-out;
}
.settings-panel:hover > .open {
  transform: scale(1.1);
}

.settings-panel__wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 6rem;
  text-align: center;
  overflow: auto;
  z-index: 1;
  display: none;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  color: #000;
}

.settings-panel__title {
  font-size: 5rem;
  margin-bottom: 6rem;
  text-transform: uppercase;
}

.settings-pannel__pilots {
  display: flex;
  justify-content: space-around;
}
@media (max-width: 1300px) {
  .settings-pannel__pilots {
    font-size: 14px;
  }
}

.settings-pannel__pilot {
  padding: 20px;
  width: 22%;
  background-color: #ededed;
}

.setting-pannel_heat-setting {
  margin-bottom: 20px;
}
.setting-pannel_heat-setting .type-heat select,
.setting-pannel_heat-setting .type-elimination select {
  border-radius: 0;
  padding: 5px 10px;
  outline: none;
  cursor: pointer;
  border: 1px solid #000;
}

.setting-pannel_heat-setting select + d {
  display: none;
}

.settings-pannel__field:not(:last-child) {
  margin-bottom: 2rem;
}
.settings-pannel__field .hd-toggle-acf-outline {
  background-color: #fff;
}
.settings-pannel__field .hd-toggle-acf-outline.penality, .settings-pannel__field .hd-toggle-acf-outline.laps_1, .settings-pannel__field .hd-toggle-acf-outline.laps_2, .settings-pannel__field .hd-toggle-acf-outline.laps_3 {
  padding: 6px 10px;
  border: 1px solid #000;
}
.settings-pannel__field .hd-toggle-acf-outline.laps_2 {
  border-top: 0;
  border-bottom: 0;
}
.settings-pannel__field .hd-toggle-acf-outline:hover, .settings-pannel__field .hd-toggle-acf-outline:focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.settings-pannel__field [contenteditable=true] {
  display: black;
}
.settings-pannel__field select + d {
  display: none;
}
.settings-pannel__field select {
  text-align: center;
  background: #fff;
  border: 1px solid #000;
  cursor: pointer;
  width: 100%;
  padding: 5px 10px;
  outline: none;
}

.settings-pannel__field-tilte {
  font-weight: bold;
}

.settings-panel__heat-show {
  position: fixed;
  right: 170px;
  bottom: 30px;
}
.settings-panel__heat-show d {
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.2);
  margin-left: 5px;
  border: 1px solid #000;
}

.settings-panel__save {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 8px 20px;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 16px;
  background-color: #353535;
  color: #fff;
}

.settings-panel__close {
  position: absolute;
  width: 30px;
  top: 30px;
  right: 30px;
  cursor: pointer;
  filter: invert(1);
  padding: 5px;
}

.settings-panel__heats {
  transition: all 0.2s ease-out;
}
.settings-panel__heats .slick-prev {
  left: 50%;
  margin-left: -200px;
}
.settings-panel__heats .slick-next {
  right: 50%;
  margin-right: -200px;
}
.settings-panel__heats .slick-arrow {
  position: absolute;
  top: -50px;
  border: 0;
  background: #353535;
  padding: 6px 16px;
  color: #fff;
  z-index: 1;
  transition: all 0.2s ease-out;
}
.settings-panel__heats .slick-arrow:hover {
  border-bottom-width: 3px;
}
.settings-panel__heats .slick-arrow.slick-disabled {
  opacity: 0;
}
.settings-panel__heats .slick-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: ce;
  list-style: none;
  top: -45px;
  margin: 0;
  padding: 0;
}
.settings-panel__heats .slick-dots li {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  transition: all 0.2s ease-out;
}
.settings-panel__heats .slick-dots li:not(.slick-active) {
  opacity: 0;
}

.single-event.template--start .fixed-menu {
  display: none;
}

.single-event.--tab-chart section.on-live {
  display: none;
}
.single-event.--tab-chart section.charts {
  display: block;
}

/*
// ANCHOR: home page
*/
body.home {
  padding-bottom: 20px;
}
body.home .logo {
  width: 214px;
  margin-bottom: 26px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
body.home h1 {
  color: #9E47FD;
  text-align: center;
  font-family: "Jersey 25", sans-serif;
  font-size: 36px;
  font-style: normal;
  line-height: normal;
  margin-bottom: 46px;
}
body.home .list-events {
  --bs-gutter-y: 10px;
  --bs-gutter-x: 10px;
  margin-bottom: 35px;
}
body.home .list-events .item .wrapper {
  background: #EFEFEF;
  padding: 15px;
  position: relative;
}
body.home .list-events .item .wrapper a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
body.home .list-events .item .wrapper .date {
  color: #5D5D5D;
  font-family: "Jersey 25", sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 20px;
}
body.home .list-events .item .wrapper h3.title {
  color: #9E47FD;
  text-align: center;
  font-family: "Jersey 25", sans-serif;
  font-size: 22px;
  font-style: normal;
  line-height: normal;
  margin-bottom: 5px;
  text-align: left;
}
body.home .list-events .item .wrapper .position {
  color: #717171;
  font-family: "Jersey 25", sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: normal;
}
body.home .list-events .item.live .wrapper {
  background-color: #9E47FD;
}
body.home .list-events .item.live .wrapper .date,
body.home .list-events .item.live .wrapper .title,
body.home .list-events .item.live .wrapper .position {
  color: #fff;
}
body.home .list-events .item.live .wrapper .live {
  width: 42px;
  height: 23px;
  color: #9E47FD;
  font-family: "Jersey 25", sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: 23px;
  text-align: center;
  background-color: #fff;
  position: absolute;
  right: 25px;
  top: 25px;
}
body.home .sponsors {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
body.home .sponsors .item img {
  max-height: 52px;
  max-width: 96px;
}
body.home .copyright {
  color: #717171;
  font-family: "Jersey 25", sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
  text-align: center;
}
body.home .season-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(158, 71, 253, 0.1) 0%, rgba(250, 9, 255, 0.1) 100%);
  padding: 16px 24px;
  justify-content: space-between;
}
body.home .season-selector {
  display: flex;
  gap: 8px;
}
body.home .season-selector label {
  font-size: 16px;
  font-weight: bold;
  color: #1c1c1c;
}
body.home .season-selector select {
  padding: 10px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  background-color: white;
  cursor: pointer;
}
body.home .season-selector select:focus {
  outline: none;
  border-color: #9E47FD;
}
@media (max-width: 575px) {
  body.home .season-selector {
    flex-direction: column;
  }
}
body.home .button-chart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #9E47FD;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2;
  filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.2));
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease-out;
}
body.home .button-chart:hover {
  background-color: #8a3ce6;
  transform: translateY(-2px);
  filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.3));
}
@media (max-width: 768px) {
  body.home .button-chart {
    padding: 10px 16px;
    font-size: 14px;
  }
}
body.home .button-chart img {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  body.home .button-chart img {
    width: 18px;
    height: 18px;
  }
}
body.home .button-chart .close {
  display: none;
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  body.home .button-chart .close {
    width: 18px;
    height: 18px;
  }
}
body.home .button-chart .chart-label {
  color: white;
  font-size: 16px;
  font-weight: bold;
}
@media (max-width: 768px) {
  body.home .button-chart .chart-label {
    font-size: 14px;
  }
}
body.home.open-chart .button-chart {
  display: none;
}
body.home.open-chart .button-chart .open {
  display: none;
}
body.home.open-chart .button-chart .close {
  display: block;
}
body.home.open-chart .button-chart .chart-label {
  display: none;
}
body.home .chart-close-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: white;
  color: #1c1c1c;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
  font-size: 14px;
  font-weight: bold;
  filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease-out;
}
body.home .chart-close-button:hover {
  background-color: #f5f5f5;
  transform: scale(1.05);
}
@media (max-width: 768px) {
  body.home .chart-close-button {
    top: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 12px;
  }
}
body.home .chart {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-color: #9E47FD;
  overflow: auto;
  display: none;
  padding-bottom: 40px;
}
body.home .chart h3 {
  color: #fff;
  text-align: center;
  font-family: "Jersey 25", sans-serif;
  font-size: 20px;
  font-style: normal;
  line-height: normal;
  margin-bottom: 53px;
}
body.home .chart .list-team {
  --bs-gutter-y: 10px;
  --bs-gutter-x: 10px;
}
body.home .chart .list-team .item .wrapper {
  border-radius: 15px;
  background-color: #fff;
  padding: 25px;
  position: relative;
  cursor: pointer;
}
body.home .chart .list-team .item .toggle {
  position: absolute;
  right: 25px;
  top: 25px;
}
body.home .chart .list-team .item .toggle img {
  width: 27px;
  height: 27px;
}
body.home .chart .list-team .item .toggle .close {
  display: none;
}
body.home .chart .list-team .item.open .toggle .open {
  display: none;
}
body.home .chart .list-team .item.open .toggle .close {
  display: block;
}
body.home .chart .list-team .item .position {
  color: #9E47FD;
  text-align: left;
  font-family: "Jersey 25", sans-serif;
  font-size: 18px;
  font-style: normal;
  line-height: normal;
  margin-bottom: 6px;
}
body.home .chart .list-team .item .name {
  color: #000;
  font-family: "Jersey 25", sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: normal;
  margin-bottom: 7px;
}
body.home .chart .list-team .item .total-points {
  color: #717171;
  font-family: "Jersey 25", sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
}
body.home .chart .list-team .item .stages {
  margin-top: 17px;
  display: none;
}
body.home .chart .list-team .item .stages .stage:not(:first-child) {
  margin-top: 7px;
}
body.home .chart .list-team .item .stages .stage .name-stage {
  color: #000;
  font-family: "Jersey 25", sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
  margin-bottom: 7px;
}
body.home .chart .list-team .item .stages .stage .position-stage {
  color: #717171;
  font-family: "Jersey 25", sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
  margin-bottom: 2px;
}
body.home .chart .list-team .item .stages .stage .points-stage {
  color: #717171;
  font-family: "Jersey 25", sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: normal;
}

/* END home page */
body.single-evento.--regia .fixed-menu,
body.single-evento.--regia h1,
body.single-evento.--regia .header,
body.single-evento.--regia body::after,
body.single-evento.--regia .charts__title,
body.single-evento.--regia .classifica-piloti,
body.single-evento.--regia .classifica-tempi,
body.single-evento.--regia section.on-live,
body.single-evento.--regia section.heats,
body.single-evento.--regia .settings-panel {
  display: none;
}
body.single-evento.--regia section.charts .charts__item .charts__wrapper {
  background-color: transparent;
}
body.single-evento.--regia section.charts {
  display: block;
}
body.single-evento.--regia section.charts .charts__title,
body.single-evento.--regia section.charts .charts__subtitle {
  display: none;
}
body.single-evento.--regia section.charts .classifica-team ul li.classifica-team__item img.logo {
  filter: drop-shadow(0px 0px 2px #fff);
}
body.single-evento.--regia section.charts .charts__item .--more {
  display: none;
}
body.single-evento.--regia section.charts .charts__item:not(.open) .charts__wrapper > ul > li:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) {
  display: block;
}
body.single-evento.--regia .charts__item.classifica-team {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 100px);
}
body.single-evento.--regia section.charts .charts__item .charts__wrapper {
  margin-top: 0;
}
body.single-evento.--regia section.charts .classifica-team ul {
  gap: 1rem;
}
body.single-evento.--regia section.charts .classifica-team .classifica-team__item {
  width: calc(100% / var(--items-per-row) - 10px);
  text-align: center;
  position: relative;
}
body.single-evento.--regia section.charts .classifica-team .classifica-team__item .wrapper {
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  height: 300px;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.3607843137);
  flex-wrap: wrap;
  justify-content: center;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.2);
}
body.single-evento.--regia section.charts .classifica-team .classifica-team__item .position {
  width: 100%;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8392156863);
  font-size: 38px;
}
body.single-evento.--regia section.charts .classifica-team .classifica-team__item .logo {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0px 0px 3px #fff);
}
body.single-evento.--regia section.charts .classifica-team .classifica-team__item .team-name {
  font-size: 20px;
  color: #ffffff;
  width: 100%;
}
body.single-evento.--regia section.charts .classifica-team .classifica-team__item .team-points {
  font-size: 34px;
  color: #ffffff;
  margin-left: auto;
  margin-right: auto;
}
body.single-evento.--regia section.charts .classifica-team .classifica-team__item .wrapper-stat {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
}

.comparison {
  padding: 32px 0;
  display: none;
}
.comparison-header {
  text-align: center;
  margin-bottom: 32px;
}
.comparison-type-selector {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.comparison-content {
  display: none;
}
.comparison-content.active {
  display: block;
}
.comparison-selectors {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.comparison-result {
  margin-top: 32px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}
.comparison .compare-btn {
  background: #c6c6c6;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Jersey 25", sans-serif;
  font-size: 16px;
}
.comparison .compare-btn:hover {
  background: #5e5e5e;
}
.comparison .compare-btn.active {
  background: #353535;
}
.comparison .selector-wrapper {
  text-align: center;
}
.comparison .selector-wrapper label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}
.comparison .selector-wrapper select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: "Jersey 25", sans-serif;
  font-size: 16px;
  background: #fff;
}
.comparison .vs-divider {
  font-size: 32px;
  font-weight: bold;
  color: #ff6b35;
  text-align: center;
}
.comparison .vs-separator {
  font-size: 48px;
  font-weight: bold;
  color: #ff6b35;
  text-align: center;
  align-self: center;
}
.comparison .team-comparison-card,
.comparison .pilot-comparison-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #f0f0f0;
}
.comparison .team-header,
.comparison .pilot-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}
.comparison .team-header img,
.comparison .pilot-header img {
  width: 60px;
  height: 60px;
  -o-object-fit: contain;
     object-fit: contain;
}
.comparison .team-header h4,
.comparison .pilot-header h4 {
  margin: 0;
  color: #333;
  font-size: 24px;
}
.comparison .pilot-info {
  flex: 1;
}
.comparison .team-name {
  color: #666;
  font-size: 14px;
}
.comparison .team-stats,
.comparison .pilot-stats {
  margin-bottom: 24px;
}
.comparison .stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.comparison .stat-item:last-child {
  border-bottom: none;
}
.comparison .stat-label {
  color: #666;
  font-size: 14px;
}
.comparison .stat-value {
  font-weight: bold;
  color: #333;
}
.comparison .team-pilots h5,
.comparison .pilot-heats h5 {
  margin: 0 0 16px 0;
  color: #333;
  font-size: 18px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
}
.comparison .pilot-item,
.comparison .heat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}
.comparison .pilot-item:last-child,
.comparison .heat-item:last-child {
  border-bottom: none;
}
.comparison .pilot-name,
.comparison .heat-number {
  color: #333;
}
.comparison .pilot-points,
.comparison .heat-points {
  font-weight: bold;
  color: #007cba;
}
.comparison .heat-position {
  color: #666;
  font-size: 14px;
}
.comparison .loading {
  text-align: center;
  padding: 32px;
  color: #666;
  font-style: italic;
}
.comparison .error {
  text-align: center;
  padding: 32px;
  color: #dc3545;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .comparison {
    padding: 16px 0;
  }
  .comparison-header {
    margin-bottom: 24px;
  }
  .comparison-selectors {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
    max-width: 100%;
    padding: 0 16px;
  }
  .comparison-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    padding: 0 8px;
    align-items: start;
  }
  .comparison-type-selector {
    gap: 8px;
    margin-top: 12px;
  }
  .comparison .vs-divider {
    font-size: 20px;
    margin: 8px 0;
  }
  .comparison .vs-separator {
    font-size: 24px;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    align-self: center;
    line-height: 1;
  }
  .comparison .selector-wrapper select {
    padding: 8px;
    font-size: 14px;
  }
  .comparison .compare-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
  }
  .comparison .team-comparison-card,
  .comparison .pilot-comparison-card {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
  }
  .comparison .team-header,
  .comparison .pilot-header {
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    flex-direction: column;
    text-align: center;
  }
  .comparison .team-header img,
  .comparison .pilot-header img {
    width: 40px;
    height: 40px;
  }
  .comparison .team-header h4,
  .comparison .pilot-header h4 {
    font-size: 16px;
    line-height: 1.2;
  }
  .comparison .team-name {
    font-size: 12px;
  }
  .comparison .team-stats,
  .comparison .pilot-stats {
    margin-bottom: 12px;
  }
  .comparison .stat-item {
    padding: 4px 0;
    font-size: 12px;
  }
  .comparison .stat-label {
    flex: 1;
    text-align: left;
  }
  .comparison .stat-value {
    font-weight: bold;
  }
  .comparison .team-pilots h5,
  .comparison .pilot-heats h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    padding-bottom: 4px;
  }
  .comparison .pilot-item,
  .comparison .heat-item {
    padding: 4px 0;
    font-size: 11px;
  }
  .comparison .pilot-name,
  .comparison .heat-number {
    font-size: 11px;
    flex: 1;
    text-align: left;
  }
  .comparison .pilot-points,
  .comparison .heat-points {
    font-size: 11px;
  }
  .comparison .heat-position {
    font-size: 10px;
    margin: 0 4px;
  }
}
@media (max-width: 480px) {
  .comparison-grid {
    gap: 4px;
    padding: 0 4px;
  }
  .comparison .vs-separator {
    font-size: 18px;
  }
  .comparison .team-comparison-card,
  .comparison .pilot-comparison-card {
    padding: 8px;
  }
  .comparison .team-header h4,
  .comparison .pilot-header h4 {
    font-size: 14px;
  }
  .comparison .team-header img,
  .comparison .pilot-header img {
    width: 30px;
    height: 30px;
  }
  .comparison .stat-item,
  .comparison .pilot-item,
  .comparison .heat-item {
    font-size: 10px;
  }
}
.comparison-prediction {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: #fff;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.comparison-prediction .prediction-title {
  font-size: 24px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.comparison-prediction .prediction-content {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.comparison-prediction .prediction-result {
  margin-bottom: 20px;
}
.comparison-prediction .prediction-result .winner-badge {
  font-size: 20px;
  margin-bottom: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  display: inline-block;
}
.comparison-prediction .prediction-result .winner-badge strong {
  color: #ffd700;
}
.comparison-prediction .prediction-result .confidence-level {
  font-size: 16px;
  margin-bottom: 12px;
}
.comparison-prediction .prediction-result .confidence-level .confidence-molto-alta {
  color: #00ff88;
  font-weight: bold;
}
.comparison-prediction .prediction-result .confidence-level .confidence-alta {
  color: #88ff00;
  font-weight: bold;
}
.comparison-prediction .prediction-result .confidence-level .confidence-media {
  color: #ffdd00;
  font-weight: bold;
}
.comparison-prediction .prediction-result .confidence-level .confidence-bassa {
  color: #ff8800;
  font-weight: bold;
}
.comparison-prediction .prediction-result .prediction-message {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}
.comparison-prediction .prediction-result.draw .winner-badge {
  background: rgba(255, 255, 255, 0.3);
}
.comparison-prediction .prediction-scores .score-bar {
  display: flex;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.comparison-prediction .prediction-scores .score-bar div[class^=score-] {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.5s ease;
}
.comparison-prediction .prediction-scores .score-bar div[class^=score-] span {
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.comparison-prediction .prediction-scores .score-bar .score-team1,
.comparison-prediction .prediction-scores .score-bar .score-pilot1 {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}
.comparison-prediction .prediction-scores .score-bar .score-team2,
.comparison-prediction .prediction-scores .score-bar .score-pilot2 {
  background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
}

@media (max-width: 768px) {
  .comparison-prediction {
    margin-top: 20px;
    padding: 16px;
  }
  .comparison-prediction .prediction-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .comparison-prediction .prediction-content {
    padding: 12px;
  }
  .comparison-prediction .prediction-result {
    margin-bottom: 16px;
  }
  .comparison-prediction .prediction-result .winner-badge {
    font-size: 16px;
    padding: 6px 12px;
  }
  .comparison-prediction .prediction-result .confidence-level {
    font-size: 14px;
  }
  .comparison-prediction .prediction-result .prediction-message {
    font-size: 12px;
  }
  .comparison-prediction .prediction-scores .score-bar {
    height: 30px;
  }
  .comparison-prediction .prediction-scores .score-bar span {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .comparison-prediction {
    padding: 12px;
  }
  .comparison-prediction .prediction-title {
    font-size: 16px;
  }
  .comparison-prediction .prediction-result .winner-badge {
    font-size: 14px;
  }
  .comparison-prediction .prediction-result .confidence-level {
    font-size: 12px;
  }
  .comparison-prediction .prediction-result .prediction-message {
    font-size: 11px;
  }
  .comparison-prediction .prediction-scores .score-bar {
    height: 24px;
  }
  .comparison-prediction .prediction-scores .score-bar span {
    font-size: 10px;
  }
}
.advanced-stats {
  margin-top: 24px;
}
.advanced-stats h5 {
  margin: 0 0 16px 0;
  color: #9E47FD;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #9E47FD;
  padding-bottom: 8px;
}
.advanced-stats .stat-advanced {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}
.advanced-stats .stat-advanced:last-child {
  border-bottom: none;
}
.advanced-stats .stat-advanced .stat-label {
  color: #333;
  font-size: 14px;
}
.advanced-stats .stat-advanced .stat-value {
  font-weight: bold;
  color: #9E47FD;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
}
.advanced-stats .stat-advanced .stat-value small {
  font-size: 11px;
  color: #999;
  font-weight: normal;
}
.advanced-stats .stat-advanced .stat-value.trend-crescita {
  color: #00c853;
}
.advanced-stats .stat-advanced .stat-value.trend-calo {
  color: #ff5252;
}
.advanced-stats .stat-advanced .stat-value.trend-stabile {
  color: #ff9800;
}

@media (max-width: 768px) {
  .advanced-stats {
    padding: 12px;
    margin-top: 16px;
  }
  .advanced-stats h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .advanced-stats .stat-advanced {
    padding: 6px 0;
  }
  .advanced-stats .stat-advanced .stat-label {
    font-size: 12px;
  }
  .advanced-stats .stat-advanced .stat-value {
    font-size: 12px;
  }
  .advanced-stats .stat-advanced .stat-value small {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .advanced-stats {
    padding: 8px;
  }
  .advanced-stats h5 {
    font-size: 12px;
  }
  .advanced-stats .stat-advanced {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .advanced-stats .stat-advanced .stat-label {
    font-size: 11px;
  }
  .advanced-stats .stat-advanced .stat-value {
    font-size: 11px;
  }
}
.season-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.season-selector label {
  font-size: 16px;
  font-weight: 700;
  color: #9E47FD;
  margin: 0;
  text-transform: uppercase;
}
.season-selector select {
  font-family: "Jersey 25", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 20px;
  border: 2px solid #9E47FD;
  background-color: #fff;
  color: #9E47FD;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}
.season-selector select:hover {
  background-color: #9E47FD;
  color: #fff;
}
.season-selector select:focus {
  box-shadow: 0 0 0 3px rgba(158, 71, 253, 0.3);
}
.season-selector select option {
  background-color: #fff;
  color: #000;
}

.container-lg {
  outline: none;
}

.settings-panel__trigger {
  position: relative;
  display: inline-block;
}

.settings-panel__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #FF3B30;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  box-shadow: 0 2px 6px rgba(255, 59, 48, 0.4);
  animation: badge-pulse 2s infinite;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.settings-panel__tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.settings-panel__refresh {
  background: transparent;
  border: 2px solid #e0e0e0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #666;
  margin-left: 10px;
}
.settings-panel__refresh:hover {
  border-color: #9E47FD;
  color: #9E47FD;
  background: rgba(158, 71, 253, 0.05);
}
.settings-panel__refresh.spinning svg {
  animation: spin 0.8s linear infinite;
}
.settings-panel__refresh svg {
  transition: transform 0.3s ease;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.settings-panel__tab {
  background: #e0e0e0;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-family: "Jersey 25", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.settings-panel__tab:hover {
  background: #d0d0d0;
}
.settings-panel__tab.active {
  background: #9E47FD;
  color: #fff;
}
.settings-panel__tab .tab-badge {
  background: #FF3B30;
  color: #fff;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 0 5px;
}

.settings-panel__content {
  display: none;
}
.settings-panel__content.active {
  display: block;
}

.pending-heats-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.pending-heats-empty {
  text-align: center;
  padding: 60px 20px;
  color: #5D5D5D;
}
.pending-heats-empty p {
  font-size: 18px;
  margin: 0;
}

.pending-heat-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.pending-heat-card:hover {
  border-color: #9E47FD;
  box-shadow: 0 6px 20px rgba(158, 71, 253, 0.15);
}

.pending-heat__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.pending-heat__title {
  display: flex;
  align-items: center;
  gap: 15px;
}
.pending-heat__title .heat-number {
  font-size: 24px;
  font-weight: bold;
  color: #9E47FD;
}
.pending-heat__title .heat-type {
  background: #f5f5f5;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: #5D5D5D;
}

.pending-heat__time {
  font-size: 14px;
  color: #5D5D5D;
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 6px;
}

.pending-heat__type-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8e8e8;
}
.pending-heat__type-selector label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}
.pending-heat__type-selector select {
  flex: 1;
  max-width: 250px;
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Jersey 25", sans-serif;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.pending-heat__type-selector select:focus {
  outline: none;
  border-color: #9E47FD;
}

.pending-heat__pilots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.pending-pilot {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.2s ease;
}
.pending-pilot:hover {
  background: #f5f5f5;
}

.pending-pilot__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pending-pilot__header .pilot-position-badge {
  background: #9E47FD;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pending-pilot__header .pilot-name {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}
.pending-pilot__header .pilot-team {
  font-size: 12px;
  color: #5D5D5D;
  background: #e8e8e8;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 100%;
}

.pending-pilot__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pending-pilot__field {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pending-pilot__field label {
  font-size: 12px;
  color: #5D5D5D;
  min-width: 80px;
}
.pending-pilot__field select,
.pending-pilot__field input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}
.pending-pilot__field select:focus,
.pending-pilot__field input:focus {
  outline: none;
  border-color: #9E47FD;
  box-shadow: 0 0 0 2px rgba(158, 71, 253, 0.1);
}
.pending-pilot__field input[type=number] {
  max-width: 70px;
}

.pending-pilot__laps label {
  display: block;
  font-size: 12px;
  color: #5D5D5D;
  margin-bottom: 6px;
}
.pending-pilot__laps .laps-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
}
.pending-pilot__laps .laps-grid .lap-input {
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  font-family: monospace;
}
.pending-pilot__laps .laps-grid .lap-input:focus {
  outline: none;
  border-color: #9E47FD;
}

.pending-heat__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.btn-confirm-heat {
  background: linear-gradient(135deg, #34C759 0%, #30B350 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-confirm-heat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 199, 89, 0.4);
}
.btn-confirm-heat:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-discard-heat {
  background: transparent;
  color: #FF3B30;
  border: 2px solid #FF3B30;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-discard-heat:hover {
  background: #FF3B30;
  color: #fff;
}
.btn-discard-heat:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.settings-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.settings-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.settings-toast.success {
  background: #34C759;
  color: #fff;
}
.settings-toast.error {
  background: #FF3B30;
  color: #fff;
}
.settings-toast.info {
  background: #007AFF;
  color: #fff;
}

@media (max-width: 768px) {
  .settings-panel__tabs {
    flex-direction: column;
    gap: 8px;
  }
  .settings-panel__tab {
    width: 100%;
    text-align: center;
  }
  .pending-heat__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .pending-heat__pilots {
    grid-template-columns: 1fr;
  }
  .pending-pilot__field {
    flex-direction: column;
    align-items: flex-start;
  }
  .pending-pilot__field label {
    min-width: auto;
  }
  .pending-pilot__field select,
  .pending-pilot__field input {
    width: 100%;
  }
  .pending-heat__actions {
    flex-direction: column;
  }
  .pending-heat__actions button {
    width: 100%;
  }
  .settings-toast {
    left: 20px;
    right: 20px;
    transform: translateY(20px);
  }
  .settings-toast.show {
    transform: translateY(0);
  }
}
.saved-heats-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
  max-height: 76vh;
  overflow-y: auto;
  padding-right: 10px;
  padding-bottom: 30px;
  min-height: 0;
}
.saved-heats-list::-webkit-scrollbar {
  width: 6px;
}
.saved-heats-list::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}
.saved-heats-list::-webkit-scrollbar-thumb {
  background: #9E47FD;
  border-radius: 3px;
}

.saved-heats-empty {
  text-align: center;
  padding: 60px 20px;
  color: #5D5D5D;
}
.saved-heats-empty p {
  font-size: 18px;
  margin: 0;
}

.saved-heat-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.saved-heat-card:hover {
  border-color: #c8c8c8;
}
.saved-heat-card.expanded {
  border-color: #9E47FD;
  box-shadow: 0 4px 15px rgba(158, 71, 253, 0.15);
}

.saved-heat__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background: #fafafa;
  transition: background 0.2s ease;
}
.saved-heat__header:hover {
  background: #f5f5f5;
}

.saved-heat__title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.saved-heat__title .heat-number {
  font-size: 20px;
  font-weight: bold;
  color: #9E47FD;
}
.saved-heat__title .heat-type-badge {
  background: #e8e8e8;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 13px;
  color: #5D5D5D;
}

.saved-heat__summary {
  display: flex;
  align-items: center;
  gap: 15px;
}
.saved-heat__summary .winner-badge {
  font-size: 14px;
  color: #D4AF37;
  font-weight: 500;
}
.saved-heat__summary .toggle-icon {
  font-size: 12px;
  color: #5D5D5D;
  transition: transform 0.3s ease;
}

.saved-heat-card.expanded .toggle-icon {
  transform: rotate(180deg);
}

.saved-heat__body {
  padding: 0 20px 10px;
}
.saved-heat__body.collapsed {
  display: none;
}

.saved-heat__type-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 15px;
}
.saved-heat__type-selector label {
  font-size: 14px;
  color: #5D5D5D;
  min-width: 80px;
}
.saved-heat__type-selector select {
  flex: 1;
  max-width: 250px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
.saved-heat__type-selector select:focus {
  outline: none;
  border-color: #9E47FD;
}

.saved-heat__pilots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.saved-pilot {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.2s ease;
}
.saved-pilot:hover {
  background: #f5f5f5;
}

.saved-pilot__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.saved-pilot__header .pilot-position-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: #5D5D5D;
}
.saved-pilot__header .pilot-position-badge.pos-1 {
  background: #FFD700;
  color: #000;
}
.saved-pilot__header .pilot-position-badge.pos-2 {
  background: #C0C0C0;
  color: #000;
}
.saved-pilot__header .pilot-position-badge.pos-3 {
  background: #CD7F32;
}
.saved-pilot__header .pilot-position-badge.pos-4 {
  background: #9E47FD;
}
.saved-pilot__header .pilot-position-badge.pos-0 {
  background: #999;
}
.saved-pilot__header .pilot-info {
  display: flex;
  flex-direction: column;
}
.saved-pilot__header .pilot-info .pilot-name {
  font-size: 15px;
  font-weight: bold;
  color: #000;
}
.saved-pilot__header .pilot-info .pilot-team {
  font-size: 11px;
  color: #5D5D5D;
}

.saved-pilot__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.saved-pilot__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 600px) {
  .saved-pilot__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.saved-pilot__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.saved-pilot__field label {
  font-size: 11px;
  color: #5D5D5D;
}
.saved-pilot__field select,
.saved-pilot__field input {
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 13px;
  background: #fff;
}
.saved-pilot__field select:focus,
.saved-pilot__field input:focus {
  outline: none;
  border-color: #9E47FD;
}
.saved-pilot__field input[type=number] {
  width: 100%;
}

.saved-pilot__laps {
  margin-top: 5px;
}
.saved-pilot__laps label {
  display: block;
  font-size: 11px;
  color: #5D5D5D;
  margin-bottom: 4px;
}
.saved-pilot__laps .laps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.saved-pilot__laps .laps-grid .lap-input {
  padding: 5px 6px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 12px;
  text-align: center;
  font-family: monospace;
  width: 100%;
}
.saved-pilot__laps .laps-grid .lap-input:focus {
  outline: none;
  border-color: #9E47FD;
}

.saved-heat__empty {
  text-align: center;
  padding: 30px;
  color: #5D5D5D;
}

.saved-heat__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #f0f0f0;
  margin-bottom: 10px;
}

.btn-save-heat {
  background: linear-gradient(135deg, #9E47FD 0%, #8B3FE8 100%);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-save-heat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(158, 71, 253, 0.4);
}
.btn-save-heat:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .saved-heat__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .saved-heat__summary {
    width: 100%;
    justify-content: space-between;
  }
  .saved-heat__type-selector {
    flex-direction: column;
    align-items: flex-start;
  }
  .saved-heat__type-selector select {
    width: 100%;
    max-width: none;
  }
  .saved-heat__pilots {
    grid-template-columns: 1fr;
  }
  .saved-pilot__row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.overlay-widget-docs {
  padding: 20px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  max-width: 1000px;
  margin: 0 auto;
}
.overlay-widget-docs::-webkit-scrollbar {
  width: 8px;
}
.overlay-widget-docs::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}
.overlay-widget-docs::-webkit-scrollbar-thumb {
  background: #9E47FD;
  border-radius: 4px;
}
.overlay-widget-docs::-webkit-scrollbar-thumb:hover {
  background: #8B3FE8;
}

.overlay-docs__section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}
.overlay-docs__section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.overlay-docs__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #9E47FD;
  font-family: "Jersey 25", sans-serif;
}

.overlay-docs__description {
  color: #5D5D5D;
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.6;
}

.overlay-widget-docs {
  color: #333;
}

.overlay-docs__category {
  margin-bottom: 25px;
}
.overlay-docs__category h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  font-family: "Jersey 25", sans-serif;
}

.overlay-docs__url-box {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  align-items: stretch;
}

.overlay-docs__url-input {
  flex: 1;
  padding: 12px 16px;
  background: #f8f8f8;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  font-size: 13px;
  font-family: "Courier New", monospace;
  cursor: text;
  transition: all 0.2s ease;
}
.overlay-docs__url-input:focus {
  outline: none;
  border-color: #9E47FD;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(158, 71, 253, 0.1);
}
.overlay-docs__url-input:hover {
  border-color: #d0d0d0;
}

.overlay-docs__copy-btn {
  padding: 12px 16px;
  background: #9E47FD;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  min-width: 48px;
}
.overlay-docs__copy-btn:hover {
  background: #8B3FE8;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(158, 71, 253, 0.3);
}
.overlay-docs__copy-btn:active {
  transform: translateY(0);
}
.overlay-docs__copy-btn svg {
  width: 16px;
  height: 16px;
}

.overlay-docs__code-box {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  align-items: flex-start;
}

.overlay-docs__code-input {
  flex: 1;
  padding: 12px 16px;
  background: #f8f8f8;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  font-size: 12px;
  font-family: "Courier New", monospace;
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
  transition: all 0.2s ease;
}
.overlay-docs__code-input:focus {
  outline: none;
  border-color: #9E47FD;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(158, 71, 253, 0.1);
}
.overlay-docs__code-input:hover {
  border-color: #d0d0d0;
}

.overlay-docs__hint {
  font-size: 13px;
  color: #5D5D5D;
  margin-top: 6px;
  font-style: italic;
}
.overlay-docs__hint code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-family: "Courier New", monospace;
  color: #9E47FD;
}

.overlay-docs__instructions {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #9E47FD;
}
.overlay-docs__instructions ol {
  margin-left: 25px;
  color: #333;
  line-height: 1.8;
}
.overlay-docs__instructions ol li {
  margin-bottom: 12px;
}
.overlay-docs__instructions ol li strong {
  color: #9E47FD;
  font-weight: 600;
}
.overlay-docs__instructions ol li code {
  background: #e8e8e8;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-family: "Courier New", monospace;
  color: #333;
  font-weight: 600;
}

@media (max-width: 768px) {
  .overlay-widget-docs {
    padding: 15px;
  }
  .overlay-docs__url-box,
  .overlay-docs__code-box {
    flex-direction: column;
  }
  .overlay-docs__copy-btn {
    width: 100%;
  }
  .overlay-docs__title {
    font-size: 20px;
  }
}
.settings-panel__bonus .bonus-team-manager {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.settings-panel__bonus .bonus-team-header {
  margin-bottom: 25px;
}
.settings-panel__bonus .bonus-team-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 10px;
}
.settings-panel__bonus .bonus-team-header .bonus-team-description {
  color: #5D5D5D;
  font-size: 13px;
  line-height: 1.5;
}
.settings-panel__bonus .bonus-team-list {
  margin-bottom: 25px;
  max-height: calc(80vh - 250px);
  overflow-y: auto;
  padding-right: 10px;
}
.settings-panel__bonus .bonus-team-list::-webkit-scrollbar {
  width: 6px;
}
.settings-panel__bonus .bonus-team-list::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}
.settings-panel__bonus .bonus-team-list::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}
.settings-panel__bonus .bonus-team-list::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}
.settings-panel__bonus .bonus-team-empty {
  text-align: center;
  padding: 60px 20px;
  color: #5D5D5D;
  font-size: 16px;
}
.settings-panel__bonus .bonus-team-item {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.settings-panel__bonus .bonus-team-item:hover {
  border-color: #9E47FD;
  box-shadow: 0 6px 20px rgba(158, 71, 253, 0.15);
}
.settings-panel__bonus .bonus-team-item__content {
  display: grid;
  grid-template-columns: 1fr 150px 40px;
  gap: 15px;
  align-items: end;
}
.settings-panel__bonus .bonus-team-field label {
  display: block;
  color: #1c1c1c;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.settings-panel__bonus .bonus-team-field select,
.settings-panel__bonus .bonus-team-field input {
  width: 100%;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px;
  color: #1c1c1c;
  font-size: 14px;
  transition: all 0.3s ease;
}
.settings-panel__bonus .bonus-team-field select:focus,
.settings-panel__bonus .bonus-team-field input:focus {
  outline: none;
  border-color: #9E47FD;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(158, 71, 253, 0.1);
}
.settings-panel__bonus .bonus-team-field select:hover,
.settings-panel__bonus .bonus-team-field input:hover {
  border-color: #d0d0d0;
}
.settings-panel__bonus .bonus-team-select option {
  background: #fff;
  color: #1c1c1c;
}
.settings-panel__bonus .bonus-team-remove {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.settings-panel__bonus .bonus-team-remove svg {
  width: 18px;
  height: 18px;
  stroke: #ff3b30;
}
.settings-panel__bonus .bonus-team-remove:hover {
  background: rgba(255, 59, 48, 0.25);
  border-color: rgba(255, 59, 48, 0.5);
  transform: scale(1.1);
}
.settings-panel__bonus .bonus-team-actions {
  display: flex;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}
.settings-panel__bonus .bonus-team-add-btn,
.settings-panel__bonus .bonus-team-save-btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.settings-panel__bonus .bonus-team-add-btn svg,
.settings-panel__bonus .bonus-team-save-btn svg {
  width: 18px;
  height: 18px;
}
.settings-panel__bonus .bonus-team-add-btn {
  background: #9E47FD;
  color: #fff;
  border: 1px solid #9E47FD;
}
.settings-panel__bonus .bonus-team-add-btn:hover {
  background: #7723d2;
  border: 1px solid #7723d2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(158, 71, 253, 0.25);
}
.settings-panel__bonus .bonus-team-save-btn {
  background: linear-gradient(135deg, #34C759 0%, #30B350 100%);
  color: #fff;
  border: none;
}
.settings-panel__bonus .bonus-team-save-btn:hover {
  background: linear-gradient(135deg, #3DD764 0%, #34C759 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}
.settings-panel__bonus .bonus-team-save-btn:disabled, .settings-panel__bonus .bonus-team-save-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.settings-panel__bonus .bonus-team-status {
  margin-top: 20px;
}
.settings-panel__bonus .bonus-team-status .alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.settings-panel__bonus .bonus-team-status .alert.alert-success {
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #34c759;
}
.settings-panel__bonus .bonus-team-status .alert.alert-danger {
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}
.settings-panel__bonus .bonus-team-status .alert strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .settings-panel__bonus .bonus-team-item__content {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .settings-panel__bonus .bonus-team-remove {
    width: 100%;
    height: 40px;
  }
  .settings-panel__bonus .bonus-team-actions {
    flex-direction: column;
  }
}/*# sourceMappingURL=style.css.map */