/* TVK Channel Profile Template Styles */

.tvk-channel-profile-wrapper {
    padding: 40px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.tvk-channel-profile-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tvk-channel-profile-wrapper .channel-header {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.tvk-channel-profile-wrapper .channel-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}

.tvk-channel-profile-wrapper .channel-description {
    margin: 0;
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
}

.tvk-channel-profile-wrapper .channel-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Fallback User Info Styles */
.user-info-fallback {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.user-info-fallback .user-avatar img {
    border-radius: 50%;
    border: 4px solid #f8f9fa;
}

.user-info-fallback .user-details {
    flex: 1;
}

.user-info-fallback h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
}

.user-info-fallback p {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #6c757d;
}

.user-info-fallback h3 {
    margin: 20px 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.user-info-fallback .recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-info-fallback .recent-posts li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.user-info-fallback .recent-posts li:last-child {
    border-bottom: none;
}

.user-info-fallback .recent-posts a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.user-info-fallback .recent-posts a:hover {
    color: #5a67d8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-info-fallback {
        flex-direction: column;
        text-align: center;
    }
    
    .tvk-channel-profile-wrapper .channel-header {
        padding: 20px;
    }
    
    .tvk-channel-profile-wrapper .channel-content {
        padding: 20px;
    }
}

/* PeepSo Integration Styles */
.tvk-channel-profile-wrapper .peepso-profile-content {
    /* Styles for PeepSo content when loaded */
}

.tvk-channel-profile-wrapper .peepso-profile-content .ps-profile {
    /* Override PeepSo profile styles if needed */
}

/* Loading States */
.tvk-channel-profile-wrapper .loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.tvk-channel-profile-wrapper .loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
