/* Watchlist Button */
.watchlist-button {
    margin-top: 25px;
    background: linear-gradient(145deg, #14353d, #343434); /* Gradient background */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px; /* Slightly larger font size */
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    transition: all 0.3s ease-in-out;
    display: inline-block;
    letter-spacing: 1px;
}

.watchlist-button:hover {
    background: linear-gradient(145deg, #131513, #1e717e); /* Hover effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* More prominent shadow */
    transform: translateY(-2px); /* Slight lift effect */
}

.watchlist-button:active {
    background: #1e7e34;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Active button shadow */
    transform: translateY(0); /* Slight compression effect */
}

.watchlist-button:focus {
    outline: none;
}



/* Popup Container */
.popup-container {
    display: none;
    position: fixed;
    top: 150;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Translucent background */
    backdrop-filter: blur(10px); /* Adds blur effect to the background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensures it appears above other content */
}

/* Popup Content */
.popup-content {
    background-color: rgba(255, 255, 255, 0.377);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    max-width: 90%;
    width: 400px;
    color: #333; /* Dark text for better readability */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto; /* Ensures content inside the popup can scroll */
    max-height: 80%; /* Limits the max height of the popup */
    margin: 0 auto;
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Watchlist Item */
.watchlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.watchlist-item span {
    flex-grow: 1;
    font-size: 14px;
}

/* Buttons (Continue, Delete, etc.) */
button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
    margin-left: 10px;
}

button:hover {
    background-color: #0056b3;
}

.delete-button {
    background-color: #dc3545;
}

.delete-button:hover {
    background-color: #c82333;
}

/* Clear All Button */
.clear-button {
    background-color: #dc3545;
    color: white;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 80px;
    margin-top: 10px;
}


.clear-button:hover {
    background-color: #c82333;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .popup-content {
        width: 100%;
        max-width: 350px; /* Make popup smaller on mobile */
    }

    .watchlist-button {
        font-size: 12px;
        padding: 10px 5px;
    }

    button {
        font-size: 12px;
        padding: 5px 8px;
    }
}

/* Tablet/PC responsiveness */
@media screen and (min-width: 769px) {
    .popup-content {
        width: 450px;
    }

    .watchlist-button {
        font-size: 16px;
        padding: 10px 15px;
    }
}


.watchlist-message {
    font-size: 14px;
    color: #ffffff;
    margin-top: 10px;
    font-style: italic;
    text-align: center;
}
