/* Popup styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

.container {
  width: 300px;
  padding: 15px;
}

h1 {
  font-size: 18px;
  margin: 0 0 15px 0;
  text-align: center;
  color: #2c3e50;
}

h2 {
  font-size: 14px;
  margin: 10px 0;
  color: #2c3e50;
}

.status {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #2ecc71;
  margin-right: 10px;
}

.status-indicator.disabled {
  background-color: #e74c3c;
}

.toggle-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-container span {
  margin-left: 10px;
}

.sites-container {
  background-color: #fff;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#sites-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#sites-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

#sites-list li:last-child {
  border-bottom: none;
}

#sites-list li span {
  margin-left: 10px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#options-btn {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

#options-btn:hover {
  background-color: #2980b9;
}

.github-link a {
  color: #7f8c8d;
  text-decoration: none;
  font-size: 12px;
}

.github-link a:hover {
  color: #2c3e50;
  text-decoration: underline;
}

/* Switch styling */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2ecc71;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2ecc71;
}

input:checked + .slider:before {
  transform: translateX(10px);
}

.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}
