body {
  background-color: #1a1a1a;
  color: #f1f1f1;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  text-align: center;
  background: #333;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 400px;
  border: 1px solid #444;
}


.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.input-group label {
    font-size: 16px;
    margin-right: 10px;
}

input[type="number"] {
    width: 70px;
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #222;
    color: #f1f1f1;
    text-align: center;
}

.toggle-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-left: 10px;
}

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

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

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

input:checked + .slider {
    background-color: #007bff;
}

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

button {
    background-color: #28a745;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    margin-top: 10px;
}

button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.palette-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
}

.palette-color {
    width: 80px;
    height: 120px;
    display: inline-block;
    text-align: center;
    line-height: 110px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.palette-color:hover {
    transform: scale(1.1);
}

.note {
    display: none;
    background: #444;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}

.note span {
    display: inline-block;
    margin-right: 10px;
}

#close-note {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

footer {
    margin-top: 20px;
    color: #f1f1f1;
}

@media (max-width: 500px) {
    .palette-box {
        flex-direction: column;
    }
    .palette-color {
        margin-bottom: 10px;
    }
}
