/* Podcast Table Plugin Styles */

.overlay-background-podcast {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
}

.podcast-overlay-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 80vh;
    width: 600px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.podcast-overlay-popup .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: color 0.3s;
}

.podcast-overlay-popup .close-btn:hover {
    color: #27a7b0;
}

.podcast-overlay-popup h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #27a7b0;
    font-size: 24px;
    padding-right: 30px;
}

.podcast-overlay-popup .overlay-content {
    overflow-y: auto;
    max-height: calc(80vh - 100px);
    padding-right: 10px;
}

.podcast-overlay-popup .overlay-content::-webkit-scrollbar {
    width: 8px;
}

.podcast-overlay-popup .overlay-content::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.podcast-overlay-popup .overlay-content::-webkit-scrollbar-thumb {
    background: #27a7b0;
    border-radius: 4px;
}

.podcast-overlay-popup .overlay-content::-webkit-scrollbar-thumb:hover {
    background: #1f8a91;
}

/* Scrolled state - add top border when scrolled */
.podcast-overlay-popup .overlay-content.scrolled {
    border-top: 1px solid rgba(39, 167, 176, 0.3);
    padding-top: 15px;
}

/* Player Links Grid */
.player-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.player-links-grid a {
    display: block;
    text-align: center;
    transition: transform 0.3s, opacity 0.3s;
}

.player-links-grid a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.player-links-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* AI Disclaimer Content */
.ai-disclaimer-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.ai-disclaimer-content strong {
    color: #27a7b0;
}

/* Content Warnings List */
.content-warnings-list ul {
    list-style: none;
    padding: 0;
}

.content-warnings-list li {
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(160, 12, 34, 0.2);
    border-left: 3px solid #A00C22;
    border-radius: 4px;
}

/* Social Share Grid */
.social-share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 0;
}

.social-share-grid .social-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(39, 167, 176, 0.1);
    border: 1px solid rgba(39, 167, 176, 0.3);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-share-grid .social-link:hover {
    background: rgba(39, 167, 176, 0.2);
    border-color: #27a7b0;
    transform: translateX(5px);
}

.social-share-grid .social-link i {
    font-size: 24px;
    margin-right: 12px;
    color: #27a7b0;
}

.social-share-grid .social-link span {
    font-size: 16px;
    font-weight: 500;
}

.social-share-grid .copy-url-link {
    cursor: pointer;
}

.social-share-grid .copy-url-link.copied {
    background: rgba(39, 167, 176, 0.3);
    border-color: #27a7b0;
}

.social-share-grid .copy-url-link.copied span::after {
    content: ' ✓';
    color: #27a7b0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .podcast-overlay-popup {
        width: 95%;
        padding: 20px;
    }
    
    .player-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .social-share-grid {
        grid-template-columns: 1fr;
    }
    
    .podcast-overlay-popup h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .player-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}