/* css/style.css */
body {
  background-color: #000;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /*justify-content: center;*/
  position: relative;
}

h1, h2 {
   color: #333;
}
img.logo {
  width: 100%;
  max-width: 350px;
  margin-bottom: 30px;
}
.circuit {
  border: 1px solid #71c904;
  margin: 20px;
  padding: 20px;
  background: #1a1a1a;
  display: inline-block;
  width: 300px;
  vertical-align: top;
}
.red {
    color: red;
    font-weight: bold;
}
.circuit h2 {
  color: #71c904;
  margin-top: 0;
}
.preview {
  border: 2px dashed #ffffff;
  padding: 20px;
  cursor: pointer;
  margin-bottom: 10px;
  background: #000000;
  text-align: center;
}
.preview p {
  font-size: 11px;
  font-family: monospace;
  margin-bottom: -15px;
}
.controls button {
   margin: 5px;
   padding: 10px 15px;
   font-size: 16px;
   cursor: pointer;
}
.timerDisplay {
  font-size: 40px;
  margin: 30px 0;
  font-weight: bold;
}

#timerDisplay {
   margin-top: 50px;
   font-size: 48px;
   font-weight: bold;
   text-align: center;
}

/* Stil pentru butonul fullscreen */
#fullscreenBtn {
   position: absolute;
   top: 20px;
   right: 20px;
   padding: 10px 20px;
   font-size: 16px;
   cursor: pointer;
}
.controls button {
  width: 100%;
  margin: 0;
  margin-top: 15px;
  background-color: #234918;
  box-shadow: none;
  border: 1px solid #71c904;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.controls button:hover {
opacity: 0.7;
}
div#timerDisplay h2#timeRemaining {
  color: #fff;
  font-size: 20rem;
  margin: 0;
}

.ticket-select {
  display: flex;
  flex-direction: column;
}
.ticket-select select {
  padding: 7px 2px;
  background-color: #333;
  color: #fff;
  border: none;
}
.ticket_select {
  display: flex;
  margin-top: 10px;
}
.ticket_select select {
  width: 100%;
  margin-right: 15px;
}
.ticket_select button {
  background-color: #000000;
  box-shadow: none;
  color: #FFF;
  border: 1px solid #424242;
}
ul.selected-list {
  padding-left: 15px;
  list-style: number;
}
ul.selected-list li button {
  background-color: #000;
  border: none;
  color: #afafaf;
  padding: 5px;
  cursor: pointer;
}
ul.selected-list li button:hover {
  background-color: #333;
}
button {
  cursor: pointer;
}
ul.selected-list li {
  margin-bottom: 7px;
}
.create-ticket a button {
  background-color: #71c904;
  padding: 8px 20px;
  font-family: 'Orbitron';
  font-size: 18px;
  border: 1px solid #333;
}
.bons_list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}
.bons_list section.circuit {
  width: 100%;
}
.tables {
  display: flex;
  justify-content: space-between;
}
.tables > div {
  width: 50%;
}
.tables > div table {
  width: 100%;
}
.table_waiting {
  padding-right: 30px;
}
.tables thead tr th {
  padding: 10px;
  text-align: justify;
  background-color: #363636;
}
.tables tbody tr:nth-child(even) td {
  background-color: #2a2a2a;
}
.tables tbody tr td {
  padding: 5px 10px;
}
button.btn-select {
  background-color: #000;
  border: none;
  padding: 5px 10px;
  width: 100%;
  color: #71c904;
}
button.btn-select:hover {
  background-color: #71c904;
  color: #000;
}
button.btn-deselect {
  background-color: #000;
  border: none;
  padding: 5px 10px;
  width: 100%;
  color: #ff0000;
}
button.btn-deselect:hover {
  background-color: #ff0000;
  color: #000;
}
ul#nextList {
   display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
ul#nextList li {
  background-color: #ff9b00;
  color: #000000; 
  padding: 2px 20px;
  font-weight: 800;
  line-height: 1;
}
.table_next-header
 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
button.btn-inrace-all {
  background-color: #71c904;
  border: none;
  height: fit-content;
  padding: 10px 20px;
  font-size: 16px;
}
button.btn-inrace-all:hover {
  background-color: #ffffff;
  border: none;
  height: fit-content;
  padding: 10px 20px;
  font-size: 16px;
  color: #000000;
}
.in-race-list {
  font-family: Montserrat;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  gap: 15px;
}
.in-race-list li {
  background-color: #ddd;
  padding: 2px 10px;
  color: #000;
  font-weight: 700;
}
.header {
  width: 100%;
}
.container {
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: 10px 15px;
}
.header_container {
  display: flex;
  justify-content: space-between;
}

.header_btns ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 15px;
}
.header_btns ul li a {
  display: block;
  border: 1px solid #71c904;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
}
.header_btns ul li a:hover {
  background-color: #1a1a1a;
}
ul#nextList {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  font-size: 5rem;
}