body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  transition: background-color 0.3s, color 0.3s;
}
body.light {
  background-color: #f4f4f9;
  color: #333;
}
body.dark {
  background-color: #333;
  color: #f4f4f9;
}
h1 {
  text-align: center;
  color: #4caf50;
}
.theme-toggle {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background-color: #111;
  width: 44px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {
  color: #f1c40f;
}

.fa-sun {
  color: #f39c12;
}

.checkbox-label .ball {
  background-color: #fff;
  width: 26px;
  height: 26px;
  position: absolute;
  left: 2px;
  top: 4px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}
.health-check-table,
.details-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}
body.dark .health-check-table,
body.dark .details-table {
  background-color: #444;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
.health-check-table th,
.health-check-table td,
.details-table th,
.details-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  transition: border-color 0.3s;
}
body.dark .health-check-table th,
body.dark .health-check-table td,
body.dark .details-table th,
body.dark .details-table td {
  border-color: #555;
}
.health-check-table th,
.details-table th {
  background-color: #f4f4f9;
  transition: background-color 0.3s;
}
body.dark .health-check-table th,
body.dark .details-table th {
  background-color: #555;
}
.status {
  display: flex;
  align-items: center;
}
.status img {
  margin-left: 10px;
  width: 20px;
  height: 20px;
}

.clickable {
  cursor: pointer;
}
.details-heading {
  margin-top: 20px;
  text-align: center;
  color: #4caf50;
}
.details-text {
  /* border: 1px solid #000; */
  padding: 10px;
  margin: 10px 0;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
