.current-image-container {
    display: inline-block;
    position: relative; /* Allows absolute positioning for child elements */
    width: fit-content; /* Adjust to fit the image size */
}

.current-image {
    display: block;
    width: 100%; /* Ensure the image takes full width of the container */
    height: auto; /* Maintain aspect ratio */
}

.action-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the circle */
    width: 32px; /* Adjust the size as needed */
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}




.action-circle-logo {
    position: relative; /* Ensure the logo is positioned correctly */
    z-index: 100; /* Place it above the blur effect */
}

.action-circle-loading {
    color: white;
    animation: spin 0.2s linear infinite;
}

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

/* SIDEBAR DOWNLOADING GAME CONTAINER, ONE AT A TIME ONLY. */

.currently-downloading-game {
    display: flex;
    align-items: center;
    gap: 1em;
    padding-left: 20px;
    margin: 2vh;
    padding-bottom: 2vh;
    padding-top: 2vh;
    box-shadow: 0px 0px 19px 3px rgb(0 0 0 / 36%);
    border-radius: 20px;
    cursor: pointer;
    position: relative; /* Needed for the pseudo-element */
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1) var(--bg-length, 0%), transparent var(--bg-length, 0%)); /* Gradient for background progress */
    background-size: var(--bg-length, 0%) 100%; /* Control the background size */
    background-repeat: no-repeat; /* Prevent repeating the background */
    height: 8vh;
    padding-right: 2vh;
  }
  
  
  .currently-downloading-game img {
    flex-shrink: 0;
    max-width: 10vh;
    max-height: 10vh;
    border-radius: 10px;
    margin-right: 20%;
    
  }
  
  .currently-downloading-game .text-container {
    flex: 1; 
    overflow: hidden;
  }
  
  .currently-downloading-game-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    margin: 0;
    padding: 0;
  }
  
  .current-text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    overflow: hidden;
  }
  
  .currently-downloading-game-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.7em;
    color: #d1c9c9;
    width: 100%;
    margin: 0;
    margin-top: 3vh;
    padding: 0;
  }
  
  #heading-currently-downloading-game {
    position: relative;
    padding: 10px;
  }
  