.banner-container {
    flex-grow: 1;
    z-index: 5;
    position: absolute;
    bottom: -100%; /* Start hidden below screen */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    width: auto; /* Adjust width based on content */
    max-width: 90%; /* Prevent overflowing */
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0; /* Hidden initially */
}

.banner-container.show {
    bottom: 10px; /* Slide up */
    opacity: 1; /* Fully visible */
}

.banner-container.hide {
    bottom: -100%; /* Slide down */
    opacity: 0; /* Fade out */
}

.banner {
    display: flex;
    gap: 10px;
}

.banner button {
    background: none;
    border: none;
    cursor: pointer;
}
.banner button:hover {
transform: scale(1.1); /* Slightly enlarge the button on hover */
}

.banner button img {
    max-width: 60px;
    max-height: 60px;
    border-radius: 5px;
}

.close-banner {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff0000; /* Red for visibility */
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.close-banner:hover {
    background-color: #cc0000;
}