/* Stocks Sidebar Widget */
.stocks-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 15px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.stocks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.stocks-header h4 {
    color: var(--accent-color);
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    margin: 0;
    letter-spacing: 2px;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.stock-info {
    display: flex;
    flex-direction: column;
}

.stock-symbol {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.stock-price {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.stock-change {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.stock-change.up {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.stock-change.down {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

/* YouTube Dual Grid Layout */
.yt-grid-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.yt-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.yt-header-compact h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin: 0;
}

.yt-action-btn {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.7rem;
    cursor: pointer;
    font-weight: 700;
}

.yt-downloader-container {
    padding: 25px;
}

.yt-download-result-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.download-link-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.download-link-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1);
}

.dl-details {
    display: flex;
    flex-direction: column;
}

.dl-quality {
    font-weight: 700;
    color: var(--accent-color);
}

.dl-type {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.dl-btn {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .yt-grid-dual {
        grid-template-columns: 1fr;
    }

    .stocks-sidebar {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        margin-bottom: 20px;
    }
}