
/* Reset default styles and set up the page */
body, html {
  user-select: none; /* Prevent text selection */
  margin: 0;
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* Prevent scrolling */
  background: url('/xp.webp') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Tahoma', sans-serif;
}

/* Center the content inside the body */
body {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Thumbnail Container */
.thumbnail-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

/* Taskbar */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-color: #245dda;
  display: flex;
  align-items: center;
  padding: 0; /* Remove padding */
  box-shadow: 0 -2px 5px #245DDA;
  z-index: 1003;
}

/* Start Button */
.start-button {
  display: flex;
  align-items: center;
  border: none; /* Remove border */
  cursor: pointer;
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
  background: url('/Icons/xpbuttonnormal.png') no-repeat center center; /* Normal state image */
  width: 97px; /* Adjust width to match the image */
  height: 30px; /* Adjust height to match the image */
  z-index: 1005;
}


.start-button:hover {
  background: url('/Icons/xpbuttonhover.png') no-repeat center center; /* Hover state image */
}

.start-button:active {
  background: url('/Icons/xpbuttonpressed.png') no-repeat center center; /* Pressed state image */
}

.start-button img {
  display: none; /* Hide the image element */
}

.start-button span {
  display: none; /* Hide the span element */
}

/* Start Menu */
.start-menu {
  position: absolute;
  bottom: 40px; /* Position above the taskbar */
  left: 0;
  width: 368px; /* Slightly narrower for modern look */
  height: 455px;
  background: transparent url(/Icons/start_menu.png) no-repeat 0 0;
  border: 1px solid rgba(0, 0, 0, 0.1); /* Subtle border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Stronger shadow */
  display: none;
  z-index: 1001;
  padding: 8px; /* Padding for the inner content */
  border-radius: 8px; /* Rounded corners */
  backdrop-filter: blur(10px); /* Blur effect for modern look */
}


/* Start Menu Header */
.start-menu-header {
  display: flex;
  align-items: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.start-menu-header img {
  width: 54px;
  height: 54px;
  border-radius: 10%;
  margin-right: 8px;
}

/* Start Menu Items */
.start-menu-items {
  padding: 4px 0;
}

.start-menu-item {
  display: flex;
  align-items: center;
  padding: 8px 12px; /* More padding for modern look */
  cursor: pointer;
  font-size: 14px;
  color: #000;
  background-color: transparent; /* Transparent background */
  border-radius: 4px; /* Rounded corners */
  transition: background-color 0.2s ease; /* Smooth transition */
  z-index: 100;
}

.start-menu-item img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

/* Hover Effect for Start Menu Items */
.start-menu-item:hover {
  background-color: rgba(0, 0, 0, 0.1); /* Light hover effect */
}

/* Separator in Start Menu */
.start-menu-separator {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1); /* Subtle separator */
  margin: 8px 0; /* More spacing */
}

/* Start Menu Footer (Optional) */
.start-menu-footer {
  background: rgba(255, 255, 255, 0.9); /* Translucent white */
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* Subtle border */
  font-size: 12px;
  color: #000;
  text-align: center;
  border-radius: 0 0 8px 8px; /* Rounded bottom corners */
}
/* Start Button */
.start-button {
  display: flex;
  align-items: center;
  border: none; /* Remove border */
  cursor: pointer;
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
  background: url('/Icons/xpbuttonnormal.png') no-repeat center center; /* Normal state image */
  width: 97px; /* Adjust width to match the image */
  height: 30px; /* Adjust height to match the image */
}

#start-menu, .window {
  transition:
    transform 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
}

/* Dock */
.dock {
  display: flex;
  align-items: center;
  margin-left: 20px;
  z-index: 1006;
}

.dock .dock-icon {
  position: relative;
  margin: 0 10px;
  text-align: center;
}

.dock .dock-icon img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.dock .dock-icon:hover img {
  transform: scale(1.2);
}

.dock .dock-icon .tooltip {
  display: none;
  position: absolute;
  bottom: 60px;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
}

.dock .dock-icon:hover .tooltip {
  display: block;
}

.tooltip {
  visibility: hidden;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dock-icon:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.thumbnail {
  width: 40%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 5%; /* Add rounded corners */
}

/* Music Controls */
.musiccontrols {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.control-icon {
  width: 25px;
  height: 25px;
  cursor: pointer;
}

#progress-bar-container {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.1); /* Semi-transparent black background */
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.2); /* Light border */
  border-radius: 5px; /* Rounded corners */
  overflow: hidden;
  cursor: pointer; /* Add pointer cursor to indicate interactivity */
}

#musicthumbnail {
  width: 40%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 5%; /* Add rounded corners */
  transition: transform 0.2s ease-out; /* Smooth transition */
}

#progress-bar {
  height: 100%;
  background: #245dda; /* Translucent blue */
  width: 0%;
  transition: width 0.1s ease; /* Smooth transition for progress updates */
}


/* Timer */
#timer {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: #000;
}

/* Windows XP Checkbox Style */
.xp-checkbox {
  appearance: none; /* Remove default styles */
  width: 13px;
  height: 13px;
  border: 1px solid #808080;
  background-color: #ffffff;
  position: relative;
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

.xp-checkbox:checked {
  background-color: #000080; /* XP blue */
  border-color: #000080;
}

.xp-checkbox:checked::after {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  color: white;
}

.xp-checkbox:hover {
  border-color: #000080; /* XP blue on hover */
}

/* Album List Styling */
#album-list {
  list-style-type: none;
  padding-left: 0;
  max-height: 300px; /* Set maximum height */
  overflow-y: auto; /* Enable vertical scrolling */
  border: 1px solid #ccc; /* Optional: Add a border for visual clarity */
  margin-top: 8px; /* Add spacing */
}

#album-list .song-list {
  list-style-type: none;
  padding-left: 20px; /* Indent song list */
  margin-top: 4px;
}

#album-list .song-list li {
  cursor: pointer;
  padding: 4px 0;
}

#album-list .song-list li:hover {
  background-color: rgba(0, 0, 0, 0.1); /* Light hover effect */
}

#album-list .song-list label {
  cursor: pointer;
}



/* Album List Items */
#album-list li {
  margin-bottom: 16px; /* Add spacing between albums */
}

/* Song List */
.song-list {
  list-style-type: none;
  padding-left: 20px; /* Indent song list */
  margin-top: 4px;
}

/* Scrollbar Styling (Optional) */
#album-list::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

#album-list::-webkit-scrollbar-track {
  background: #f1f1f1; /* Color of the scrollbar track */
}

#album-list::-webkit-scrollbar-thumb {
  background: #888; /* Color of the scrollbar thumb */
  border-radius: 4px; /* Rounded corners */
}

#album-list::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color of the scrollbar thumb on hover */
}

/* Volume Slider Window */
.volume-slider-window {
  display: none;
  position: absolute;
  bottom: 96.8px;
  right: -3.8px;
  width: 150px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transform: rotate(-90deg);
}

.volume-slider {
  width: 100%;

}