
* {
  margin:0;
  padding:0;
  border:0;
  text-decoration:none;
}

html, body {
  min-height: 100vh !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: gray;
  background-color: #282828 !important;
  background-image: none !important;
  display: flex !important;
  flex-direction: column !important;
  padding-top: 60px !important;
  box-sizing: border-box;
  overflow-y: auto !important;
  overflow-x: auto !important;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 26, 2019 */
@font-face {
    font-family: 'krunchbold';
    src: url('krunch_bold-webfont.woff2') format('woff2'),
         url('krunch_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'krunchbold_italic';
    src: url('krunch_italic-webfont.woff2') format('woff2'),
         url('krunch_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.kit-button{
    background-color: #808080;
    width:220px;
    border-radius:10px;
    color:black;
}

.kit-button > span:not(.material-symbols-outlined){
    font-family: 'Montserrat', sans-serif !important;
}

.kit-button .material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    vertical-align: middle;
    font-size: 20px;
    margin-right: 4px;
}

#container-home-octamotor{
  background:
    radial-gradient(black 15%, transparent 16%) 0 0,
    radial-gradient(black 15%, transparent 16%) 8px 8px,
    radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
    radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
  background-color:#282828;
  background-size:16px 16px;
  flex: 1 0 auto !important;
  min-height: calc(100vh - 110px) !important;
  height: auto !important;
  width:100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.container-control{
  width:100%;
  height:52px;
  padding: 0 16px;
  display:flex;
  flex-direction: row;
  flex-wrap:nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  margin-top:14px;
  margin-bottom: 8px;
}

.container-driver-main{
  margin-bottom: 40px;
  margin-top: 10px;
  width:100%;
  height: auto;
  min-height: 520px;
  display:flex;
  flex-direction: row;
  flex-wrap: nowrap;
  box-sizing: border-box;
  gap: 16px;
  padding: 0 16px;
}

#container-driver-pictures{
  width: 50%;
  min-height: 520px;
  height: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 10px 20px;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
}

#container-driver-profile-picture{
  width: 100%;
  max-width: 440px;
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#container-driver-profile-picture .image{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  max-height: 380px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.7));
}

#container-driver-car-helmet{
  width: 100%;
  max-width: 480px;
  height: 150px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
}

#container-helmet{
  width: 35%;
  height: 100%;
  min-height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#container-helmet .image{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  max-height: 140px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}

#container-car{
  width: 65%;
  height: 100%;
  min-height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#container-car .image{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  max-height: 140px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}

#container-driver-info{
  height: auto;
  min-height: 520px;
  width: 50%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  box-sizing: border-box;
  background-color: #111111;
  border: 2px solid #333333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  padding: 24px;
  margin: 10px 20px 40px 10px;
  overflow-y: auto;
}

#container-driver-info span{
  text-align: left;
  padding: 6px 10px;
  font-family: 'Montserrat', monospace;
  font-size: 1.05em;
  color: #e5e5e5;
  box-sizing: border-box;
}

p {
  text-indent: 1.5em;
  font-family: 'Montserrat', monospace;
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.05em;
  color: #cbd5e1;
  line-height: 1.6;
}

.driver-info-title{
  font-weight: 700;
  color: #fbbf24 !important;
}

#track-image {
  height: 100%;
  width: 100%;
}

#container-driver-profile-1, #container-driver-profile-2{
  width:50%;
  height:90%;
  margin:0 20px 0 20px;
  display:flex;
  flex-direction: column;
}

#container-team-drivers{
  height: 100%;
  width:70%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

#container-logo-suit{
  height: 100%;
  width:30%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

#container-track-image{
  position:relative;
  width:90%;
  height:90%;
  margin:30px;
}

#container-car-images{
  height: 40%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

#container-logo{
  width:100%;
  height:30%;
  margin:3px;
  align-self: center;
}

.image-container{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.image{
  display: block;
  max-height:100%;
  max-width:100%;
  height:auto;
  width:auto;
  filter: drop-shadow(10px 10px 4px black);
}

#foca-logo, #octamotor-logo{
  height:50%;
  width:100%;
  display: block;
  background-blend-mode: multiply;
}

html body #logged-user {
  display: none !important;
}

html body #top-bar {
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html body #bottom-bar {
  position: relative !important;
  bottom: auto !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  margin-top: auto !important;
  z-index: 10 !important;
}

#copyright-text::after{
  content: " and Zé D'Agostini";
}

.editor-button{
  border-radius: 8px;
  border: 2px solid #525252;
  background-color: #262626;
  color: #f5f5f5;
  text-align: center;
  width: auto;
  min-width: 110px;
  padding: 0 20px;
  font-size: 1.25em;
  font-family: 'krunchbold', 'Montserrat', monospace;
  height: 48px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.editor-button:hover{
  background-color: #383838;
  border-color: #fbbf24;
  color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85);
}

#select-driver{
  cursor: pointer;
  flex: 1;
  max-width: 850px;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  font-size: 1.35em;
  font-family: 'krunchbold', 'Montserrat', monospace;
  background-color: #0f0f0f;
  border: 2px solid #404040;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  color: #f5f5f5;
  font-weight: 700;
  text-align-last: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

#select-driver:focus {
  outline: none !important;
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

#driver-viewer, #driver-editor, #car-viewer, #car-editor, #track-viewer, #track-editor{
  box-sizing: border-box;
  overflow: visible;
  height: auto;
  min-height: 100%;
}

@keyframes fadeIn {
  from  { opacity: 0;
          visibility:none;
        height:0%}
  to { opacity: 1;
    visibility:visible;
  height:100%}
}

/* Fade-In Effect */
 .visible
 {

 }
 /* Fade-Out Effect */
 .hidden
 {
         display:none;

 }

 #current-level{
   width:25px;
   height:20px;
   font-weight: bold;
   margin-top:5px;
   filter: drop-shadow(5px 5px 2px black);
   border: 0.5px solid #808080;
   border-radius: 10px;
   display:flex;
   align-items: center;
   justify-content: center;
 }

#driver-name-bar{
  flex: 1;
  max-width: 850px;
  height: 48px;
  margin: 0;
  font-size: 1.35em;
  font-family: 'krunchbold', 'Montserrat', monospace;
  background-color: #0f0f0f;
  border: 2px solid #404040;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  color: #f5f5f5;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

#select-driver:focus {
    outline: none !important;
    /* border:1px solid gray;
    box-shadow: 0 0 10px gray; */
}

#select-driver option{
  text-align: center;
  border-radius:10px;
}

#container-basic-form, #container-level-form, #container-image-form{
  width:33%;
  height: 100%;
  box-sizing:border-box;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#driver-photo, #driver-helmet, #car-picture, #car-logo, #track-image, #competition-logo, #car-suit{
  width: 0.1px;
  	height: 0.1px;
  	opacity: 0;
  	overflow: hidden;
  	position: absolute;
  	z-index: -1;
}

.picture-label{
  /* height:200px; */
  width:220px !important;
  line-height: 100%;
  display:inline-block;
  cursor:pointer;
  margin: 8px 0;
  font-size: 1em;
  border: gray 2px dashed;
  border-radius: 10px;
  background-color:black;
  box-shadow: 0 0 3pt 2pt black;
  padding:50px 0;

}

#driver-basic-form, #driver-level-form, #driver-image-form{
  box-sizing:border-box;
  width:100%;
}

#driver-level-form{
  display:flex;
  flex-direction:row;
  flex-wrap: nowrap;
}

.vertical{
  display:flex;
  flex-direction:column !important;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

#driver-level{
  transform:rotate(270deg);
  margin-top:100px !important;
  width:200px !important;
}

#save-driver{
  background-color: #15803d;
  color: #ffffff;
  border: 2px solid #22c55e;
}

#save-driver:hover{
  background-color: #16a34a;
  color: #ffffff;
  border-color: #4ade80;
}

#cancel-driver{
  background-color: #991b1b;
  color: #ffffff;
  border: 2px solid #ef4444;
}

#cancel-driver:hover{
  background-color: #b91c1c;
  color: #ffffff;
  border-color: #f87171;
}

#driver-basic-form input,#driver-basic-form textArea, #driver-basic-form select, #driver-level-form input, #driver-image-form select{
  width: 100%;
  margin: 5px 10px;
  border-radius:10px;
  padding:10px;
  box-sizing:border-box;
  background-color:black;
  color:gray;
  border: gray 2px solid;
  box-shadow: 0 0 3pt 2pt black;
  filter: drop-shadow(5px 5px 2px black);
}

input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  margin-top: -14px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; /* Add cool effects to your sliders! */
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #404040;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: #505050;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; */
  /* background: #404040; */
  border-radius: 1.3px;
  /* border: 0.2px solid #010101; */
}

input[type=range]{
  width:60% !important;
}

#attribute-chart{
  height:250px;
  width:400px;
  overflow:hidden;
  filter: drop-shadow(5px 5px 2px black);
}

.plot-container{
  margin: 0 auto;
}

.form-group{
  display:flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.form-group label{
  width: 180px;
  text-align:center;
  font-weight: bold;
  filter: drop-shadow(5px 5px 2px black);
}


input[type=date]:invalid::-webkit-datetime-edit {
    color: #505050;
}

select:invalid {
  color: #505050 !important;
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
	cursor:pointer;
}

#driver-bio{
  height:100px;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #505050;
  opacity: 1; /* Firefox */
}

textArea{
	resize: none;
}

#driver-photo-preview, #driver-helmet-preview, #car-picture-preview, #track-image-preview, #competition-logo-preview{
  height:100%;
  /* width:100%; */
  max-width: 200px;
  max-height: 200px;
  border-radius:10px;
}

#car-picture-preview{
  width:100%;
}

#car-logo-preview{
  max-height: 100px;
  max-width:200px
  /* width:100%; */
  border-radius:10px;
}

#car-suit-preview{
  max-height: 200px;
  /* width:100%; */
  border-radius:10px;
}

label[for=track-image]{
  background-color: white !important;
}

.no-padding{
  padding: 0 !important;
}


.nav-item, .menu-toggle-button{
  color:black !important;
}

.nav-item:visited, .menu-toggle-button:visited{
    color:black !important;
}

.nav-item:hover, .menu-toggle-button:hover{
    color:#A9A9A9 !important;
    cursor:pointer !important;
}

.nav-item{
    background-color: #808080 !important;
}

nav{
  background-color: #808080 !important;
}

#logged-user{
  border-color:#A9A9A9 !important;
}

.invalid{
  border-color:darkred !important;
  background-color: lightcoral;
}

.invalid::after{
  content: "Imagem deve ser menor que 2Mb";
  position:relative;
  color: darkred;
  font-weight: bold;

}

.request_failure{
  border-color: darkred !important;
  background-color: lightcoral !important;
  color: darkred !important;
}

.request_success{
  border-color: darkgreen !important;
  background-color: palegreen !important;
  color: darkgreen !important;
}

#loadingDiv{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  height:100%;
  width:100%;
  z-index: 13;
  background-color: rgba(255,255,255,0.3);
}

#loadingDiv img{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  margin:auto;
  border-radius:20px;

}

[id^=container-driver-profile]{
  cursor:pointer;
}

#container-driver-profile-picture{
  cursor:auto;
}

#car-picture-display{
  max-width: 700px;
}

[id^=driver-profile-label]{
  padding-bottom:20px;
}

[id^=driver-profile-label]::after{
  position:absolute;
  bottom:15px;
  width:100%;
  background-color:gray;
  color:black;
  font-weight: bold;
  font-size:1.2em;
  height:40px;
  content: attr(data-after);
  z-index:5;
  text-align:center;
  line-height: 40px;
}

/* Alterações de slider para tracks */

#track-style::-webkit-slider-thumb, #track-rain-chance::-webkit-slider-thumb, #track-avg-temp::-webkit-slider-thumb {
  height: 60px !important;
  background: rgba(255,255,255,0.3) !important;
    border: 2px white solid !important;
    z-index:5;

}

/* All the same stuff for Firefox */
#track-style::-moz-range-thumb, #track-rain-chance::-moz-range-thumb, #track-avg-temp::-moz-range-thumb {
  /* height: 60px !important; */
  background: rgba(255,255,255,0) !important;
  border: 2px white solid !important;
  z-index:50;
}

#track-style::-webkit-slider-runnable-track, #track-rain-chance::-webkit-slider-runnable-track, #track-avg-temp::-webkit-slider-runnable-track {
  height: 30px !important;
    background: rgba(64,64,64,0) !important;
    z-index:5;
}

#track-style::-moz-range-track, #track-rain-chance::-moz-range-track, #track-avg-temp::-moz-range-track {
  height: 30px !important;
    background: rgba(64,64,64,0) !important;
    /* display: none; */
    z-index:50;
}



#track-style::after, #track-rain-chance::after, #track-avg-temp::after{
  content: attr(data-css);
  /* content: "teste"; */
  position: absolute;
  width: 100%;
  top: 15px;
  left: 50%;
  z-index: -1;
  font-size:1.5em;
  font-weight: bold;
  text-align:center;
  transform:translateX(-50%);
}

@-moz-document url-prefix() {
  .special-form-group::after {
    content: attr(data-css);
    /* content: "teste"; */
    position: absolute;
    width: 100%;
    top: 12px;
    right: -75px;
    z-index: -1;
    font-size:1.5em;
    font-weight: bold;
    text-align:center;
    font-family: inherit;
    /* transform:translateX(-50%); */
  }

  .special-form-group{
    position:relative;
    z-index: 0;
  }

  .moz-special{
    background-color:transparent !important;
  }


}

#track-about{
  height:200px;
}

#competition-about{
  height: 100px;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-top-right-radius:10px;
  border-bottom-right-radius:10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#container-driver-info{
  scrollbar-color: #888 #f1f1f1 ;
  scrollbar-width: thin;
}


/*  Stamps */

.sem-contrato::before{
  position:absolute;
  width:130px;
  top:10;
  left:10;
  text-align:center;
  content: "Sem contrato";
  transform: rotate(-5deg);
	color: #0A9928;
	font-size: 1.5rem;
	font-weight: 700;
	border: 0.5rem solid #0A9928;
	display: block;
	padding: 0.25rem 1rem;
	text-transform: uppercase;
	border-radius: 0;
	font-family: 'Courier';
	-webkit-mask-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/8399/grunge.png');
  -webkit-mask-size: 944px 604px;
  /* mix-blend-mode: multiply; */
  -webkit-mask-position: 13rem 6rem;
}


.aposentado::before{
  position:absolute;
  width:140px;
  top:10;
  left:10;
  text-align:center;
  content: "Aposentado";
  transform: rotate(-5deg);
	color: blue;
	font-size: 1.5rem;
	font-weight: 700;
	border: 0.5rem solid blue;
	display: block;
	padding: 0.25rem 1rem;
	text-transform: uppercase;
	border-radius: 0;
	font-family: 'Courier';
	-webkit-mask-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/8399/grunge.png');
  -webkit-mask-size: 944px 604px;
  /* mix-blend-mode: multiply; */
  -webkit-mask-position: 13rem 6rem;
}

div[id^="container-competition"]{
  flex: 1 1 0;
  width: 0;
  min-width: 280px;
  height: auto;
  min-height: 520px;
  max-height: calc(100vh - 160px);
  display:flex;
  flex-direction: column;
  flex-wrap: nowrap;
  box-sizing: border-box;
  background-color: #111111;
  border: 2px solid #333333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  padding: 20px;
  margin: 10px 0 20px 0;
  overflow-y: auto;
}

#container-competition-seasons{
  padding:0;
}

#competition-logo-display{
  max-height:120px;
  position:relative;
}

#container-logo-competition{
  height:120px;
  margin-bottom:40px;
}

/* Accordion start */

[class*="accordion"] {
  background-color: #1c1c1c;
  color: #e5e5e5;
  cursor: pointer;
  padding: 14px 18px;
  width: 100%;
  border: 1px solid #2e2e2e;
  border-radius: 6px;
  text-align: left;
  outline: none;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: 0.2s ease;
  margin-bottom: 4px;
}

[class*="active"], [class*="accordion"]:hover {
  background-color: #262626;
  border-color: #fbbf24;
  color: #fbbf24;
}

.panel {
  background-color: #141414;
  border: 1px solid #2e2e2e;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
  display:none;
}

.panel button{
  width:100%;
  box-sizing: border-box;
  background: #1c1c1c;
  color: #e5e5e5;
  border: 1px solid #333333;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: left;
}

.panel button:hover{
  background: #2a2a2a;
  border-color: #fbbf24;
  color: #fbbf24;
}

.accordion-race{
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  gap: 8px;
}

.accordion-race .race-title-wrapper{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accordion-race.active-race{
  background-color: #2e2e2e;
  border-color: #fbbf24;
  color: #fbbf24;
}

.editable-race, .see-race{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.see-race{
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8 !important;
}

.see-race:hover{
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff !important;
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.editable-race{
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24 !important;
}

.editable-race:hover{
  background: #d97706;
  border-color: #fbbf24;
  color: #ffffff !important;
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.editable-race .material-symbols-outlined,
.see-race .material-symbols-outlined{
  font-size: 18px;
  line-height: 1;
}

.flag-thumb{
  max-height:14px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Accordion end */

tr[data-position]{
  filter: none !important;
}

tr[data-position="1"]{
  filter: none !important;
}

tr[data-position="2"]{
  filter: none !important;
}

tr[data-position="3"]{
  filter: none !important;
}


.wrong-input{
  border-color:darkred !important;
  background-color: lightcoral;
}

.correct-input{
  border-color:darkgreen !important;
  background-color: palegreen;
}


#container-drivers-logo-suit{
  width:100%;
  height: 60%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

}

#container-suit{
  height: 70%;
  width:100%;
  margin:5px;
}

#container-car-full{
    width:100%;
    height: 100%;
}



/* Media queries */

@media only screen and (max-width: 600px) {
  .container-driver-main{
    display:flex;
    flex-direction:column;
    flex-wrap:nowrap;
    width:100%;
    height: auto;
    min-height: 100%;
    align-items: center;
    justify-content: center;

  }

  #container-driver-pictures{
    width:100%;
    display:flex;
    flex-direction:column;
    flex-wrap:nowrap;
    align-items: center;
    justify-content: center;
    padding-bottom:0px !important;

  }

  #container-driver-car-helmet{
    width:100%;
    height:200px;
    display:flex;
    flex-direction:column;
    flex-wrap:nowrap;
    align-items: center;
    justify-content: center;

  }

  .image{
    max-height: none;
  }

  #container-driver-profile-picture{
    width:300px;
    height:300px;
    margin-bottom:40px;
  }

  body{
    height: auto;
    width: auto;
  }

  #container-driver-info{
    width:95%;
    align-items: center;
    justify-content: center;
    margin:30px 0 0 0 ;
  }

}

/* =========================================================
   OCTAMOTOR 2.0 VISUAL REVAMP: STANDINGS & STATS MODULES
   ========================================================= */

/* Standings Tabs Header */
.standings-tabs-header {
  display: flex;
  gap: 8px;
  background: #0f0f0f;
  padding: 6px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid #333333;
}

.standings-tab-btn {
  flex: 1;
  background: transparent;
  color: #a3a3a3;
  border: 1px solid transparent;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.standings-tab-btn:hover {
  color: #ffffff;
  background: #262626;
}

.standings-tab-btn.active {
  background: #262626;
  color: #fbbf24;
  border: 1px solid #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

/* Modern Standings Table */
.modern-standings-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
}

.modern-standings-table thead th {
  background: #0a0a0a;
  color: #a3a3a3;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  border: none;
}

.modern-standings-table tbody tr {
  background: #141414;
  border-radius: 6px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.modern-standings-table tbody tr:hover {
  background: #222222;
  transform: translateX(2px);
}

.modern-standings-table tbody td {
  padding: 8px 10px;
  border: none;
  vertical-align: middle;
}

/* Position Table Cell & Badges */
.pos-cell,
td.pos-cell,
.stats-data-table td.pos-cell,
.modern-standings-table td.pos-cell {
  width: 48px !important;
  text-align: center !important;
  vertical-align: middle !important;
  padding: 6px 8px !important;
}

html body .driver-position,
html body span.driver-position,
html body td.driver-position {
  text-align: center !important;
  font-weight: 800 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.9em !important;
  line-height: 1 !important;
  color: #f8fafc !important;
  background-color: #2a2a2a !important;
  background: #2a2a2a !important;
  border: 1px solid #4a4a4a !important;
  border-radius: 4px !important;
  padding: 0 4px !important;
  min-width: 28px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

html body .driver-position.pos-1,
html body .pos-1,
html body td.driver-position.pos-1 {
  background: linear-gradient(135deg, #ffd700, #b8860b) !important;
  background-color: #ffd700 !important;
  color: #111111 !important;
  font-weight: 900 !important;
  border: 1px solid #ffd700 !important;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

html body .driver-position.pos-2,
html body .pos-2,
html body td.driver-position.pos-2 {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8) !important;
  background-color: #e2e8f0 !important;
  color: #111111 !important;
  font-weight: 900 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(226, 232, 240, 0.4);
}

html body .driver-position.pos-3,
html body .pos-3,
html body td.driver-position.pos-3 {
  background: linear-gradient(135deg, #d97706, #92400e) !important;
  background-color: #d97706 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  border: 1px solid #f59e0b !important;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.4);
}

html body .driver-position.pos-dnf,
html body .pos-dnf,
html body td.driver-position.pos-dnf {
  background: rgba(239, 68, 68, 0.25) !important;
  background-color: rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  font-size: 0.85em !important;
  font-weight: 800 !important;
  border-radius: 4px;
}

.row-dnf {
  opacity: 0.65;
}

/* =========================================================
   OCTAMOTOR STATS PAGE STYLES (PURE BLACK/GRAY MOTORSPORT)
   ========================================================= */

.stats-page-container {
  padding: 24px 32px 48px 32px !important;
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Header Bar */
.stats-header-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: #121212;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.stats-title-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stats-icon {
  font-size: 36px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.stats-main-title {
  font-family: 'krunchbold', 'Outfit', sans-serif;
  font-size: 1.8em;
  color: #f8fafc;
  margin: 0;
  letter-spacing: 0.5px;
}

.stats-sub-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9em;
  color: #a3a3a3;
  margin: 4px 0 0 0;
  text-indent: 0;
}

.stats-controls-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stats-select-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9em;
  color: #e5e5e5;
}

.modern-stats-select {
  background: #0a0a0a;
  color: #f8fafc;
  border: 2px solid #404040;
  border-radius: 8px;
  padding: 10px 16px;
  font-family: 'krunchbold', 'Montserrat', sans-serif;
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  min-width: 280px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.modern-stats-select:hover, .modern-stats-select:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.modern-stats-select optgroup {
  background: #141414;
  color: #a3a3a3;
  font-weight: 700;
}

.modern-stats-select option {
  background: #1e1e1e;
  color: #f8fafc;
  padding: 8px;
}

/* Hall of Fame Hero Grid */
.stats-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stats-hero-card {
  background: #141414;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stats-hero-card:hover {
  transform: translateY(-3px);
  border-color: #525252;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}

.stats-hero-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stats-hero-icon-wrapper span {
  font-size: 26px;
}

.gold-glow {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.purple-glow {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.silver-glow {
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.emerald-glow {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.stats-hero-content {
  overflow: hidden;
}

.stats-hero-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #a3a3a3;
  font-weight: 700;
}

.stats-hero-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15em;
  font-weight: 800;
  color: #f8fafc;
  margin: 3px 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stats-hero-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8em;
  color: #d4d4d4;
  margin: 0;
  text-indent: 0;
}

/* Stats Navigation Tabs */
.stats-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.stats-nav-btn {
  background: #171717;
  border: 1px solid #333333;
  color: #d4d4d4;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9em;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  width: auto;
  flex: 0 0 auto;
}

.stats-nav-btn span.material-symbols-outlined {
  font-size: 18px;
}

.stats-nav-btn:hover {
  color: #ffffff;
  background: #262626;
  border-color: #525252;
}

.stats-nav-btn.active {
  background: #262626;
  color: #fbbf24;
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

/* Content Area & Tables */
.stats-content-area {
  background: #121212;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  min-height: 400px;
}

.stats-table-wrapper {
  overflow-x: auto;
  width: 100%;
}

.stats-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-family: 'Montserrat', sans-serif;
}

.stats-data-table thead th {
  background: #0a0a0a;
  color: #a3a3a3;
  font-size: 0.8em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 14px;
  border: none;
}

.stats-data-table tbody tr {
  background: #181818;
  transition: all 0.15s ease;
}

.stats-data-table tbody tr:hover {
  background: #262626;
  transform: translateX(4px);
}

.stats-data-table tbody td {
  padding: 10px 14px;
  border: none;
  color: #e5e5e5;
  font-size: 0.92em;
  vertical-align: middle;
}

.stats-flag-icon {
  height: 14px;
  width: auto;
  vertical-align: middle;
  border-radius: 2px;
  margin-right: 6px;
}

.stats-driver-link {
  color: #f3f4f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.stats-driver-link:hover {
  color: #fbbf24;
  text-decoration: underline;
}

.stats-comp-badge {
  background: #262626;
  color: #e5e5e5;
  border: 1px solid #404040;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 700;
}

.stats-empty-state {
  text-align: center;
  color: #a3a3a3;
  padding: 60px 20px;
  font-size: 1.1em;
  font-weight: 600;
}

/* Champions Split Grid */
.champions-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.champions-card {
  background: #0d0d0d;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  padding: 18px;
}

.champions-card-title {
  font-size: 1.1em;
  color: #f8fafc;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
}

@media only screen and (max-width: 900px) {
  .champions-split-container {
    grid-template-columns: 1fr;
  }
  .stats-page-container {
    padding: 16px !important;
  }
}

