/* Watchlist Panel Container */
#watchlist-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 420px;
    max-height: 80vh;
    background-color: var(--an-bg-primary);
    color: var(--an-text-primary);
    z-index: 999;
    box-shadow: 0 -4px 24px var(--an-shadow-lg);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow-y: auto;
    backdrop-filter: blur(6px);
    border: 1px solid var(--an-border-light);
}

#watchlist-panel.open {
    transform: translateY(0%);
}

/* Watchlist Stock Cards */
#watchlist-panel .stock-mini-card {
    background-color: var(--an-card-bg);
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--an-border-light);
    transition: background-color 0.2s ease;
}

#watchlist-panel .stock-mini-card:hover {
    background-color: var(--an-bg-hover);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    #watchlist-panel {
        width: 100%;
        border-radius: 0;
    }

    #watchlist-panel .watchlist-items {
        grid-template-columns: 1fr;
    }
}
