body {
  font-family: "Arial", sans-serif;
  background-color: #f0f8ff;
  padding: 20px;
  color: #333;
}
header h1{
  text-align: center;    
}
header .introduction{
  text-align: left;
  max-width: 40%;
  margin: 0 auto;
  margin-bottom: 10px;
}
footer {
  text-align: center;
  margin-top: 10px;
  color: #d9534f;
  font-weight: bold;
  
}
h1 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #d9534f;
}

p {
  font-size: 1rem;
}

.nav-tabs .nav-link {
  font-size: 1.2rem;
}

.nav-tabs {
  display: flex;
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs .changelog-tab {
  font-size: 1rem;
  margin-left: auto;
}

.changelog-container {
  max-width: 800px;
  overflow-y: auto;
  max-height: 800px;
  margin: 0 auto;
}

.changelog-entry {
  border-left: 4px solid #2980b9;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 0 8px 8px 0;
}

.changelog-date {
  color: #2980b9;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.changelog-content {
  margin-left: 15px;
}

.changelog-content ul {
  margin: 0;
  padding-left: 20px;
}

.changelog-content li {
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .nav-tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .nav-tabs .changelog-tab {
    margin-left: 0;
    margin-top: 5px;
  }

  #availableEquipmentHeader {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container {
    max-width: none;
    margin: 10px 0;
  }

  .button-group {
    display: flex;
    justify-content: flex-end;
  }
}

.tab-content {
  display: none;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
  display: block;
}

.setup-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.equipment-parts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background-color: #333;
  padding: 10px;
  border-radius: 8px;
}

.equipment-parts > .equipment-part:first-child {
  grid-column: 1 / 3;
  justify-self: start;
  width: 49%;
}

.equipment-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  background-color: #555;
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.equipment-part.selected {
  background-color: #00aaff;
}

.equipment-part img {
  max-width: 100%;
  max-height: 100%;
}

.selected-part {
  /* color: #ff6600; */
  color: #FFD700;
  text-align: center;
}

.selected-part span.part-name {
  display: block;
  font-weight: bold;
}

.checkbox-list {
  list-style: none;
  padding: 0;
}

.checkbox-list-item {
  border: dashed;
  display: flex;
  align-items: center;
  margin: 5px;
  padding: 5px;
}

.suit-effect-content{
  width: 300px;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

.d-block {
  margin: 10px;
}

.equipment-selection,
.ice-options,
.suit-effects,
.final-values {
  padding: 15px;
  overflow-y: auto;
  max-height: 1200px;
}

label {
  font-size: 1.1rem;
}

.checkbox-list label {
  display: block;
}

.container {
  max-width: 90%;
  margin: 0 auto;
}

.equipment-selection h3,
.ice-options h3,
.suit-effects h3,
.final-values h3 {
  font-size: 24px;
  font-weight: bold;
  color: #337ab7;
  margin-bottom: 10px;
  display: inline-block;
}
.equipment-selection h3{
  margin: 0px;
}

.table th,
.table td {
  text-align: center;
}

.btn-primary {
  background-color: #2980b9;
  border-color: #2980b9;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #216dbb;
  border-color: #216dbb;
}

/* .btn-secondary {
  background-color: #f39c12;
  border-color: #f39c12;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #e67e22;
  border-color: #e67e22;
}

.btn-secondary-outline {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #ffffff;
}

.btn-secondary-outline:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    color: #ffffff;
} */

#availableEquipmentHeader {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
  gap: 10px;
}

#availableEquipmentHeader h3{
  font-weight: bold;
  color: #337ab7;
  margin: 0;
  white-space: nowrap;
}

#changelogTab h3 {
  text-align: center;
  font-weight: bold;
  color: #337ab7;
  margin-bottom: 10px;
}

#availableEquipmentHeader .button-group {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
#pagination .btn {
  background-color: transparent;
  border: 1px solid #ced4da;
  color: #333;
  margin: 0 5px;
}

#pagination .btn.active {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

#importTab .import-button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 0px;
}

.toggle-switch .form-check-input {
  transform: scale(1.5);
}

.toggle-switch .form-check-label {
  color: #2980b9;
}

.selected-suit-part-1 {
  background-color: #e6f0e6;
  color: #336633;
}

.selected-suit-part-2 {
  background-color: #fff5cc;
  color: #663300;
}

.selected-suit-part-3 {
  background-color: #e3f8fd;
  color: #1a237e;
}

#finalValueTable th {
  background-color: #b4cff8;
}

.title-with-reset {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.reset-button {
  padding: 5px 15px;
  font-size: 0.9rem;
  background-color: #a3a8ac;
  border-color: #a3a8ac;
  color: white;
  height: fit-content;
  margin: 0;
}

.reset-button:hover {
  background-color: #5a6268;
  border-color: #5a6268;
  color: white;
}

.search-container {
  display: flex;
  gap: 10px;
  max-width: 300px;
  margin-right: auto;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-input-wrapper input {
  width: 100%;
  padding-right: 30px;
}

.clear-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  padding: 0;
  cursor: pointer;
  display: none;
}

.clear-search-btn:hover {
  color: #343a40;
}

.clear-search-btn.visible {
  display: block;
}

.comparison-indicator {
  font-weight: bold;
  margin-left: 5px;
}

#saveForCompareBtn, #clearCompareBtn {
  margin-left: 5px;
}

#finalValueTable th, #finalValueTable td {
  text-align: center;
}

.title-with-compare {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 15px;
}