/* Allgemeine Einstellungen */
body {
  background: #121212;
  font-family: "Inter", sans-serif;
  color: #e1e1e1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

/* Container für die Hauptkonfiguration */
#cryptoConfig {
  margin-top: 20px;
  width: 80%;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #e1e1e1;
}

/* Layout der Krypto-Liste */
#cryptoList {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

.crypto-item {
  display: flex;
  align-items: center;
  background: #222;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s;
  cursor: pointer;
  min-width: 150px;
}

.crypto-item:hover {
  background: #333;
}

.crypto-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.crypto-item label {
  font-size: 14px;
  color: #e1e1e1;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 42px;
  height: 22px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #555;
  border-radius: 34px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #00c896;
}

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

/* Einstellungen */
.settings {
  margin-top: 20px;
  text-align: center;
}

.settings label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #f8f8f8;
}

.settings input {
  padding: 8px;
  margin-bottom: 20px;
  border: 1px solid #444;
  background: #222;
  color: #e1e1e1;
  border-radius: 5px;
}

/* Buttons */
button {
  padding: 12px 20px;
  background-color: #00c896;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #009e74;
}