.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 6.0rem;
  padding: 0;
  margin-left: 1.0rem;
  margin-right: 1.0rem;
  color: inherit;
  font-family: inherit;
  vertical-align: middle;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus {
  outline: none;
  opacity: 0.7;
}

.theme-toggle-icon {
  pointer-events: none;
}

/* Dark mode overrides for info_pages content */
body.inverted .tile {
  border-color: #fafafa;
}

body.inverted .dropdown-text {
  color: #fafafa;
}

body.inverted .dropdown-text:hover {
  color: #fafafa;
  text-decoration-color: #f44336;
}

/* Dark mode overrides for Bootstrap tables and cards (Courses page) */
body.inverted .card,
body.inverted .card-body {
  background-color: #424242;
  border-color: #616161;
  color: #fafafa;
}

body.inverted .table {
  color: #fafafa;
}

body.inverted .table td,
body.inverted .table th {
  border-color: #616161;
}

body.inverted .table-hover tbody tr:hover {
  color: #fafafa;
  background-color: rgba(255, 255, 255, 0.075);
}

/* Dark mode overrides for 100 Days buttons */
body.inverted .btn-100days {
  color: #212121;
}

body.inverted .btn-100days:disabled {
  color: #666;
}

/* Mobile adjustments */
@media only screen and (max-width: 768px) {
  .theme-toggle-btn {
    line-height: 5.0rem;
    display: block;
    text-align: center;
    width: 100%;
  }
}
