.svg-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1; /* Ensure it is behind other content */
  overflow: hidden;
  background-color: #540e69; /* Change this to your desired color */
}






/* Styling for Connect to Spotify Button */
.spotify-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: black; /* Spotify Green */
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
}

.spotify-button:hover {
  background-color: #1ed760; /* Lighter green for hover effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.spotify-logo {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* Styling for Profile Info Section */
.profile-info {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align items to the right */
  gap: 15px; /* Spacing between elements */
  width: 100%; /* Full width for alignment */
}

/* Styling for Profile Picture */
.profile-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
  border: 2px solid #fff; /* White border for separation */
  transition: transform 0.3s ease;
  object-fit: cover;
}

.profile-pic:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Styling for Logout Button */
.logout-button {
  background-color: red; /* Red shade for logout */
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: none;
}

.logout-button:hover {
  background-color: #ff4569; /* Slightly lighter red for hover */
  transform: translateY(-2px); /* Lift effect */
}

/* Container for the back button */
.back-button-container {
  position: absolute; /* Ensure it doesn't interfere with other elements */
  top: 20px; /* Adjust position as needed */
  left: 20px; /* Adjust position as needed */
  z-index: 10; /* Make sure it stays on top */
}

/* Styling for Back to Main Page Button */
.back-button {
  display: inline-block;
  background-color: #1db954; /* Spotify Green */
  color: #fff; /* White text for contrast */
  font-weight: bold;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 30px; /* Rounded corners */
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Subtle shadow */
  border: none;
}

.search-container {
  display: flex;
  gap: auto;
  justify-content: center;
  margin-top: 20px;
  margin-left: -55px;
}
.search-box1 {
  width: 300px;
  padding: 10px;
  /* border: 1px solid #ccc;
  border-radius: 5px; */
  font-size: 1.2em;
  margin-left: 120px;/*to move the search box to the right*/
}
.search-box2{
  width: 300px;
  padding: 10px;
  font-size: 1.2em;
  margin-left: 110px;/*to move the search box to the right(change the box1 value too */
}
.suggestions-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Main Heading Container */
.main-heading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  text-align: center;
}

/* Main Heading Style */
.main-heading {
  font-size: 3em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
  animation: fadeInGlow 3s ease-out infinite alternate;
  position: relative;
  letter-spacing: 2px;
}

/* Minimalistic Glow Animation */
@keyframes fadeInGlow {
  0% {
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.7);
  }
}
/* Container Styling */
.modern-heading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20vh;
  position: relative;
  z-index: 1;
}

/* Heading Styling */
.modern-heading {
  
  position: relative;
  display: inline-block;
  font-size: 6em;
  font-weight: bold;
  color: #333;
}

.word {
  position: relative;
  display: inline-block;
  transition: color 0.5s ease, background-clip 0.5s ease;
}

/* Initial Colors for Each Word */
.playlist {
  color: #00bbf9;
}

.blend {
  color: #f15bb5;
}

/* Hover Effect: Both Words Change to Gradient Color */
.modern-heading:hover .word {
  color: transparent;
  background: linear-gradient(to right, #00bbf9, #f15bb5);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Underline for Each Word */
.word::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.modern-heading:hover .word::before {
  transform: scaleX(1);
}

/* Wave Animation */
@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.modern-heading:hover .word {
  animation: wave 0.5s ease-in-out;
}

/* Underline Gradient on Hover */
.modern-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #00bbf9, #f15bb5);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.modern-heading:hover::after {
  transform: scaleX(1);
}

/* Responsive Font Size */
@media (max-width: 768px) {
  .modern-heading {
    font-size: 2.5rem;
  }
}


/* Style for the submit button */
button[type="submit"] {
  font-size: 1.5em;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background: #ff4081;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hover effect for the submit button */
button[type="submit"]:hover {
  background: #d00053;
}
input[type="text"]::placeholder {
  font-size: 20px; /* Adjust the font size of the placeholder text */
  color: #dad8d8; /* Optional: Change the color of the placeholder text */
}

label {
  font-size: 1.2em; /* Increased size for standout */
  font-weight: 600; /* Make it bolder */
  margin: 0;

  transform: translateY(20px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        color: #E0E0E0; /* Label color */
        /*-webkit-background-clip: text;
        -webkit-text-fill-color: transparent;*/
        /* -webkit-text-stroke: 0.5px #000000; Pink text stroke */
      }

/* Center Container */
.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 10vh;
}

/* Heading */
.h2 {
  font-size: 2.5em;
  font-weight: 600;
  margin: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  background: linear-gradient(to right, #e0ffff, #32cd32, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.1px #000000;
  text-align: center;
}

/* Connect Span (Button Style) */
.connect {
  display: inline-block;
  color: #32cd32;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 8px;
  border: 2px solid #000000c4;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.connect:hover {
  background-color: #32cd32ae;
  color: #fff;
  box-shadow: 0 0 10px #32cd32, 0 0 20px #32cd32, 0 0 30px #32cd32;
}



/* Arrow Animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0) rotate(180deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

/* Responsive Font Size */
@media (max-width: 768px) {
  .h2 {
    font-size: 1.8em;
  }
}

/* Style for the input field */
#playlist_search1 {
  font-size: 1.5em;
  width: 68%;
  max-width: 500px;
  padding: 5px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}


/* Hover effect for the input field */
#playlist_search1:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.3);
}


/* Style for the input field */
#playlist_search2 {
  font-size: 1.5em;
  width: 68%;
  max-width: 500px;
  padding: 5px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}


/* Hover effect for the input field */
#playlist_search2:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.3);
}
/* Container to center the button */
.Blendbutton {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* Full viewport height */
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: rgba(0, 187, 249, 0.8);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
  border-radius: 20px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-button {
  background-color: #4caf50; /* Match your page's color scheme */
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.modal-button:hover {
  background-color: #45a049; /* Darker shade for hover effect */
}
/* Modal for playlist creation */
.modal1 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content1 {
  background-color: rgba(0, 187, 249, 0.8);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 30px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  border-radius: 20px;
  text-align: center; /* Center the text and loader */
}

/* Loader styling */
.loader {
  width: 50px; /* Adjust width for better visibility */
  height: 50px; /* Adjust height for better visibility */
  margin: 20px auto; /* Center loader horizontally */
  position: relative;
  animation: flippx 2s infinite linear; /* Animation */
}

.loader:before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(241, 91, 181);
  transform-origin: -24px 50%;
  animation: spin 1s infinite linear; /* Spinner effect */
}

.loader:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgb(0, 245, 212); /* Loader color */
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* Keyframe animations */
@keyframes flippx {
  0%, 49% {
    transform: scaleX(1);
  }
  50%, 100% {
    transform: scaleX(-1);
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg); /* Spinner rotation */
  }
}



/*models for empty search box*/
/* pop for to select after playlist is created*/
.modal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content2 {
  background-color: rgba(0, 187, 249, 0.8);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
  border-radius: 20px;
}

.close2 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal2-button {
  background-color: #4caf50; /* Match your page's color scheme */
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.modal2-button:hover {
  background-color: #45a049; /* Darker shade for hover effect */
}

/*models for same playlist selection*/

.modal3 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content3 {
  background-color: rgba(0, 187, 249, 0.8);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
  border-radius: 20px;
}

.close3 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close3:hover,
.close3:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal3-button {
  background-color: #4caf50; /* Match your page's color scheme */
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.modal3-button:hover {
  background-color: #45a049; /* Darker shade for hover effect */
}

/* this modal is for if one playlist is not selected*/
.modal4 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content4 {
  background-color: rgba(0, 187, 249, 0.8);
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
  border-radius: 20px;
}

.close4 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close4:hover,
.close4:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal4-button {
  background-color: #4caf50; /* Match your page's color scheme */
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.modal4-button:hover {
  background-color: #45a049; /* Darker shade for hover effect */
}



/* Style for the suggestions list */
#suggestions1, #suggestions2 {
  list-style-type: none;
  padding: 30px; /* Reduced padding for a smaller appearance */
  width: 80%;
  max-width: 700px;
  max-height: 300px; /* Limits height to make the list smaller */
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  overflow-y: auto; /* Enables vertical scrolling */
  display: grid;
  grid-template-columns: 1fr; /* Single column */
  gap: 8px; /* Space between items */
}
/* Scrollbar styling for webkit browsers (Chrome, Safari) */
#suggestions1::-webkit-scrollbar, 
#suggestions2::-webkit-scrollbar {
  width: 10px; /* Width of the scrollbar */
}

#suggestions1::-webkit-scrollbar-thumb, 
#suggestions2::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.6); /* Color of the scrollbar thumb */
  border-radius: 10px; /* Rounded edges */
}

#suggestions1::-webkit-scrollbar-track, 
#suggestions2::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.3); /* Color of the scrollbar track */
}
#suggestions1 li, #suggestions2 li {
  padding: 11px;
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  margin-bottom: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
  display: flex; /* Use flexbox for item layout */
  align-items: center; /* Vertically center the content */
}

#suggestions1 li:hover, #suggestions2 li:hover {
  background: rgba(255, 255, 255, 0.4);
}

#suggestions1 img, #suggestions2 img {
  width: 40px;
  height: 40px;
  margin-right: 10px; /* Space between image and text */
  border-radius: 4px;
}

#suggestions1 div, #suggestions2 div {
  flex: 1; /* Allow text to take the remaining space */
}

/* Firefox scrollbar styling */
#suggestions1, #suggestions2 {
  scrollbar-width: thin; /* Make the scrollbar thinner */
  scrollbar-color: rgba(255, 255, 255, 0.6) rgba(255, 255, 255, 0.3); /* Thumb color and track color */
}






      