body {
  font-family: 'Verdana', 'Arial', sans-serif;
  background-color: #3a3a3a;
  color: #e6e6e6;
  padding: 20px;
}

h1, h2, h3, h4, h5, h6, p, span, label, div {
  color: #ffffff;
}

h1, h2, h3, h4 {
  color: #e1e1e1;
  text-shadow: 1px 1px #000;
}

h4 {
	margin: 1px;
}

a {
  color: #fff;
  text-decoration: none;
}

a.button, button {
  display: inline-block;
  padding: 10px 18px;
  background: #60c864;
  color: white;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 3px 0 #3a5c36;
  transition: 0.2s;
  cursor: pointer;
}

a.button:hover, button:hover {
  background: #7ae37d;
  box-shadow: 0 2px 0 #3a5c36;
}

label {
  font-weight: bold;
  margin-right: 10px;
}

input[type="number"], input[type="date"] {
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #555;
  background: #222;
  color: #fff;
}

input[type="checkbox"], input[type="radio"] {
  transform: scale(1.2);
  margin-right: 5px;
}

.board {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #60c864;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.row {
  margin-bottom: 15px;
  border-bottom: 1px solid #555;
  padding-bottom: 8px;
}

.row:last-child {
  border-bottom: none;
}

.info-row {
  display: grid;
  grid-template-columns: 150px 50px 100px 80px 120px 100px 120px 1fr;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 5px;
}

.info-row span {
  padding: 2px 4px;
  background: rgba(96, 200, 100, 0.2);
  border-radius: 3px;
  text-align: center;
}

.bar-container {
  width: 100%;
  background: #444;
  border-radius: 5px;
  overflow: hidden;
  height: 25px;
  display: flex;
}

.igt {
  background: #4287f5;
  height: 100%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: width 1s ease;
  font-weight: bold;
}

.time {
  background: #f54291;
  height: 100%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: width 1s ease;
  font-weight: bold;
}

.row > div:first-child {
  width: 40px;
  font-weight: bold;
  margin-right: 10px;
  color: #ffdd55;
  text-shadow: 1px 1px #000;
}

.row .total-time {
  margin-left: 10px;
  font-weight: bold;
  color: #fff;
}

#tooltip {
  position: fixed;
  background: #2b2b2b;
  color: white;
  padding: 12px;
  border: 2px solid #4af;
  border-radius: 8px;
  display: none;
  z-index: 9999;
  pointer-events: auto;
  max-width: 260px;
  font-size: 14px;
}

@media (max-width: 1300px) {
  .info-row {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
}

@media (max-width: 600px) {
  body {
    padding: 10px;
    font-size: 0.9rem;
  }

  .board {
    padding: 10px;
  }

  a.button {
    font-size: 14px;
    padding: 8px 12px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .bar-container {
    height: 20px;
  }

  .row > div:first-child {
    width: 30px;
  }
}

.total-time {
    font-weight: bold;
    color: #ffe97a;
    text-shadow: 1px 1px #000;
    background: rgba(0, 0, 0, 0.75);
    padding: 4px 8px;
    border-radius: 4px;
	border: 1px solid #ffffff;
    margin-left: 12px;
    white-space: nowrap;
    font-size: 16px;
    min-width: 110px;
    text-align: right;
}

.igt, .rta,
.time {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	size: 12px;
}

@media (max-width: 600px) {
    .run {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px;
        width: 100%;
    }

    .total-time {
        align-self: flex-end;
        margin-top: 6px;
    }

    .bar-container {
        width: 100%;
    }
	
	.igt, .rta, .time {
        font-size: 7px;
    }
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.left, .right {
  flex: 1 1 300px;
}

.left {
  max-width: 600px;
}

.right {
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}
