body {
  font-family: Arial, sans-serif;
  background-color: #121212; /* Dark background color */
  color: #fff; /* Light text color */
  margin: 0;
  padding: 0;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  color: #1db954;
  margin-top: 20px;
}

footer {
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
  margin-top: auto; /* This pushes the footer to the bottom */
}

a {
  color: #1db954; /* Change link color as desired */
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline; /* Add underline on hover */
}

.info-icon {
  font-size: 24px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  margin-right: 8px; /* Add some spacing between the icon and the circle */
}

.info-icon::before {
  content: "ℹ";
  display: block;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  background-color: #1db954; /* Green color for the circle */
  color: #fff;
  border-radius: 50%; /* Make it a circle */
  position: absolute;
  top: -3px; /* Adjust the positioning to center it */
  left: -3px; /* Adjust the positioning to center it */
}

.info-content {
  display: none;
  padding: 10px;
  background-color: #1db954;
  color: #fff;
  border-radius: 5px;
  max-width: 400px;
  min-width: 300px;
  margin: 0 auto;
}

.error-message {
  font-weight: bold;
  color: rgb(153, 153, 153);
  padding: 10px;
  margin: 10px 0;
  /* Add additional styling as needed */
}

.selected-artists {
  margin-top: 10px;
}

#artist-form {
  width: 75%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #333; /* Darker background color */
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1); /* Lighter box shadow */
}

@media (max-width:400px) {
  #artist-form {
    min-width: 300px;
  }
}

label {
  display: block;
  font-weight: bold;
  margin-top: 10px;
}

input[type="search"] {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #444; /* Slightly darker input background */
  color: #fff;
  border-radius: 3px;
}

.search-bar {
  position: relative;
}

/* Styles for the loading icon */
.loader {
  position: absolute;
  top: 4px;
  right: 4px; /* Adjust the right position as needed */
  display: none;
  border: 4px solid #868686; /* Light gray border */
  border-top: 4px solid #1db954; /* Blue border for the top side */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite; /* Spin animation */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

button[type="submit"] {
  background-color: #1db954;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #6b6b6b;
}

button[type="submit"]:disabled {
  background-color: #636363; /* Set a color for the disabled state */
  cursor: not-allowed; /* Change cursor to indicate the button is disabled */
}

#playlist {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

/* Adjust input width to prevent overflow */
input[type="text"] {
  box-sizing: border-box;
}

.artist-card {
  display: flex;
  align-items: center;
  margin: 4px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.artist-image {
  flex: 0 0 auto;
  padding: 8px 0px 8px 8px;
  width: 80px; /* Adjust the width as needed */
  height: 80px; /* Adjust the height as needed */
  object-fit: cover;
}

.artist-details {
  flex: 1;
  padding: 4px;
  height: 88px;
}

.artist-name {
  margin-top: 4px;
  height: 55%;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  height: 36%;
}

.action-buttons button {
  flex: 0 0 48%; /* Adjust the width of buttons as needed */
  padding: 4px;
  margin: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  color: #121212;
}

.add-button {
  background-color: #5bc0de; /* Adjust the background color */
  color: #fff;
}

.remove-button {
  background-color: rgb(255, 134, 134);
}

.see-in-spotify-button {
  background-color: #1db954; /* Adjust the background color */
  color: #fff;
}

#powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
}

#powered-by img {
  height: 70px;
  margin: 35px 0px 35px 35px;
}
