/* Hosting-specific sidebar styles */

/* Loading skeleton animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.loading-text {
    min-height: 20px;
    border-radius: 4px;
}

.loading-bar {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 80%;
}

/* Podcast artwork container - standardized size across all pages */
.podcast-artwork {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6D1A86 0%, #2CC5FF 100%);
    color: #fff;
    font-size: 48px;
    flex-shrink: 0;
    overflow: hidden;
    margin: 0 auto;
}

.nav-section-title {
    padding: 15px 20px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
}

.podcasts-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.podcasts-list::-webkit-scrollbar {
    width: 6px;
}

.podcasts-list::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.podcasts-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.podcasts-list::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.podcast-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    transition: all 0.3s;
}

.podcast-item:hover {
    background: #f8f9fa;
}

.podcast-item.active {
    background: linear-gradient(90deg, rgba(109, 26, 134, 0.1) 0%, transparent 100%);
    border-left: 3px solid #6D1A86;
}

.podcast-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: linear-gradient(135deg, #6D1A86 0%, #2CC5FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
}

.podcast-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-info {
    flex: 1;
    min-width: 0;
}

.podcast-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.podcast-meta {
    font-size: 11px;
    color: #999;
}

.nav-item-create {
    background: linear-gradient(135deg, #6D1A86 0%, #2CC5FF 100%);
    color: #fff !important;
    margin: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-item-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 26, 134, 0.3);
}

.nav-item-create .nav-icon {
    color: #fff;
}

.nav-pill {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.nav-pill-beta {
    background: #ede9fe;
    color: #6d28d9;
}

.nav-item.ai-cohost-item {
    position: relative;
}

.loading-podcasts,
.empty-podcasts,
.error-podcasts {
    text-align: center;
    padding: 30px 20px;
    color: #999;
}

.loading-podcasts i,
.empty-podcasts i,
.error-podcasts i {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.4;
    display: block;
}

.empty-podcasts p,
.error-podcasts p {
    font-size: 13px;
    margin: 0;
}

/* Sidebar Footer Styles */
.sidebar-footer {
    margin-top: auto;
    padding: 20px 15px;
    border-top: 1px solid #e5e5e5;
}

/* Achievements Widget */
.achievements-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.widget-header i {
    color: #fbbf24;
    font-size: 16px;
}

.achievement-score {
    margin-left: auto;
    background: linear-gradient(135deg, #6D1A86 0%, #2CC5FF 100%);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.achievement-badge {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.achievement-badge.locked {
    background: #f1f3f5;
    color: #adb5bd;
}

.achievement-badge.earned {
    background: linear-gradient(135deg, #6D1A86 0%, #2CC5FF 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(109, 26, 134, 0.2);
}

.achievement-badge.earned:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(109, 26, 134, 0.3);
}

.view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6D1A86;
    text-decoration: none;
    transition: all 0.3s;
}

.view-all-link:hover {
    color: #2CC5FF;
    gap: 8px;
}

/* Social Feed Upsell */
.social-feed-upsell {
    background: linear-gradient(135deg, #6D1A86 0%, #2CC5FF 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}

.upsell-icon {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.upsell-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.upsell-content p {
    font-size: 11px;
    margin: 0 0 12px 0;
    opacity: 0.9;
}

.btn-upsell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #6D1A86;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-upsell:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #6D1A86;
}

/* Quick Actions Enhanced */
.quick-actions-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.quick-action-btn-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s;
    gap: 6px;
}

.quick-action-btn-enhanced:hover {
    background: linear-gradient(135deg, #6D1A86 0%, #2CC5FF 100%);
    color: #fff;
    transform: translateY(-2px);
    border-color: transparent;
}

.quick-action-btn-enhanced i {
    font-size: 18px;
}

.quick-action-btn-enhanced span {
    font-size: 10px;
    font-weight: 600;
}
