/**
 * Profile Page Styles
 *
 * Styles for user profile pages including profile header, avatar,
 * cover images, user stats, bio section, and profile video grid.
 *
 * @package Videohub360_Theme
 * @since 1.0.0
 */

/* ==========================================================================
   Profile Page Container & Layout
   ========================================================================== */

/* Profile page container */
.vh360-profile-page {
    background: var(--bg-color);
    padding-bottom: 3rem;
}

/* Breadcrumbs */
.vh360-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.vh360-breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.vh360-breadcrumbs a:hover {
    text-decoration: underline;
}

.vh360-breadcrumbs .separator {
    color: var(--border-color);
}

.vh360-breadcrumbs .current {
    color: var(--text-color);
}

/* Profile content wrapper */
.vh360-profile-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

@media (max-width: 768px) {
    .vh360-profile-page {
        padding-bottom: 2rem;
    }
    
    .vh360-breadcrumbs {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Profile Navigation (Global Navigation Component)
   ========================================================================== */

.vh360-profile-navigation {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 2rem;
}

.vh360-profile-nav-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vh360-profile-nav-tab {
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.vh360-profile-nav-tab:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.vh360-profile-nav-tab.active {
    color: var(--primary-color);
}

.vh360-profile-nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .vh360-profile-nav-tabs {
        gap: 0.25rem;
    }
    
    .vh360-profile-nav-tab {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   Profile Header
   ========================================================================== */

.vh360-profile-header {
    position: relative;
    margin-bottom: 2rem;
}

.vh360-profile-cover {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.vh360-profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vh360-profile-info {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
    margin-top: -80px;
}

/* ==========================================================================
   Avatar Styles
   ========================================================================== */

.vh360-profile-avatar {
    position: relative;
    display: inline-block;
    margin-right: 2rem;
    vertical-align: middle;
}

.vh360-profile-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--bg-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.vh360-profile-avatar .status-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    background: #10b981;
}

.vh360-profile-avatar .status-badge.offline {
    background: #6b7280;
}

/* ==========================================================================
   Profile Details
   ========================================================================== */

.vh360-profile-details {
    display: inline-block;
    vertical-align: middle;
    color: var(--text-color);
}

.vh360-profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.vh360-profile-username {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 0 0 0.5rem;
}

.vh360-profile-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    background: var(--primary-color);
    color: #ffffff;
    margin-left: 0.5rem;
}

/* ==========================================================================
   User Stats Display
   ========================================================================== */

.vh360-profile-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.vh360-profile-stat {
    text-align: center;
}

.vh360-profile-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.vh360-profile-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Clickable Stats (for Followers/Following links) */
.vh360-profile-stat--link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vh360-profile-stat--link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.vh360-profile-stat--link .vh360-profile-stat-value,
.vh360-profile-stat--link .vh360-profile-stat-label {
    transition: all 0.3s ease;
}

.vh360-profile-stat--link:hover .vh360-profile-stat-value {
    color: var(--primary-color);
}

/* ==========================================================================
   Two-Column Desktop Layout (Facebook-style)
   ========================================================================== */

/* Desktop two-column grid layout */
@media (min-width: 1024px) {
    .vh360-profile-body--desktop {
        display: grid;
        grid-template-columns: minmax(300px, 1fr) 2fr;
        gap: 2rem;
        max-width: 1280px;
        margin: 0 auto;
        padding: 2rem 0;
    }
    
    /* Hide mobile layout on desktop */
    .vh360-profile-mobile {
        display: none;
    }
}

/* Responsive grid proportions */
@media (min-width: 1024px) and (max-width: 1199px) {
    .vh360-profile-body--desktop {
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .vh360-profile-body--desktop {
        gap: 2rem;
    }
}

@media (min-width: 1440px) {
    .vh360-profile-body--desktop {
        gap: 2.5rem;
    }
}

/* Mobile single-column layout */
@media (max-width: 1023px) {
    /* Hide desktop two-column layout on mobile */
    .vh360-profile-body--desktop {
        display: none;
    }
    
    /* Show mobile tab-based layout */
    .vh360-profile-mobile {
        display: block;
    }
}

/* ==========================================================================
   Profile Rail (Left Sidebar)
   ========================================================================== */

.vh360-profile-rail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vh360-profile-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.vh360-profile-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-color);
}

.vh360-profile-card-content {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.vh360-profile-card-content p:last-child {
    margin-bottom: 0;
}

.vh360-profile-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vh360-profile-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-light);
}

.vh360-profile-meta-item svg {
    flex-shrink: 0;
}

.vh360-profile-meta-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.vh360-profile-meta-item a:hover {
    text-decoration: underline;
}

/* Stats Card */
.vh360-profile-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vh360-profile-card-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: calc(var(--border-radius) / 2);
}

.vh360-profile-card-stat-item--link {
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vh360-profile-card-stat-item--link:hover {
    background: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vh360-profile-card-stat-item--link:hover .vh360-profile-card-stat-value {
    color: var(--primary-color);
}

.vh360-profile-card-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.vh360-profile-card-stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Photos Card */
.vh360-profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.vh360-profile-card-link {
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.vh360-profile-card-link:hover {
    text-decoration: underline;
}

.vh360-profile-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.vh360-profile-photo-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: calc(var(--border-radius) / 2);
    background: var(--bg-light);
}

.vh360-profile-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.vh360-profile-photo-thumb:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Profile Feed (Right Column)
   ========================================================================== */

.vh360-profile-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vh360-profile-feed-filters {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vh360-profile-filter {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.vh360-profile-filter:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.vh360-profile-filter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

/* ==========================================================================
   Profile Bio Section
   ========================================================================== */

.vh360-profile-bio {
    margin: 2rem 0;
}

.vh360-profile-bio-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 800px;
}

.vh360-profile-bio-content p:last-child {
    margin-bottom: 0;
}

.vh360-profile-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.vh360-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.vh360-profile-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}



/* ==========================================================================
   Edit Profile Button
   ========================================================================== */

.vh360-edit-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.vh360-edit-profile-btn:hover,
.vh360-edit-profile-btn:focus {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Message Button */
.vh360-profile-message-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 0.75rem;
}

.vh360-profile-message-btn:hover,
.vh360-profile-message-btn:focus {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ==========================================================================
   Follow/Unfollow Buttons
   ========================================================================== */

.vh360-follow-btn,
.vh360-unfollow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.vh360-follow-btn {
    background: var(--primary-color);
    color: #ffffff;
}

.vh360-follow-btn:hover,
.vh360-follow-btn:focus {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.vh360-unfollow-btn {
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.vh360-unfollow-btn:hover,
.vh360-unfollow-btn:focus {
    background: #fee2e2;
    color: #ef4444;
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.vh360-follow-btn:disabled,
.vh360-unfollow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Profile-specific follow button */
.vh360-profile-follow-btn {
    min-width: 120px;
    justify-content: center;
}

.vh360-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.vh360-subscribe-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.vh360-subscribe-btn.subscribed {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.vh360-subscribe-btn.subscribed:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* ==========================================================================
   Profile Video Grid
   ========================================================================== */

.vh360-profile-videos {
    margin: 2rem 0;
}

.vh360-profile-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--text-color);
}

.vh360-profile-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vh360-profile-video-grid .video-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.vh360-profile-video-grid .video-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* ==========================================================================
   Profile Tabs
   ========================================================================== */

.vh360-profile-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.vh360-profile-tab {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.vh360-profile-tab:hover {
    color: var(--primary-color);
}

.vh360-profile-tab.active {
    color: var(--primary-color);
}

.vh360-profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.vh360-profile-tab-content {
    display: none;
}

.vh360-profile-tab-content.active {
    display: block;
}

/* ==========================================================================
   Mobile Responsive Breakpoints
   ========================================================================== */

@media (max-width: 768px) {
    .vh360-profile-cover {
        height: 200px;
    }
    
    .vh360-profile-info {
        margin-top: -60px;
    }
    
    .vh360-profile-avatar {
        display: block;
        margin: 0 auto 1rem;
        text-align: center;
    }
    
    .vh360-profile-avatar img {
        width: 120px;
        height: 120px;
    }
    
    .vh360-profile-details {
        display: block;
        text-align: center;
    }
    
    .vh360-profile-name {
        font-size: 1.5rem;
    }
    
    .vh360-profile-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .vh360-profile-stat {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 120px;
    }
    
    .vh360-profile-video-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .vh360-profile-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .vh360-profile-tab {
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }
    
    /* Mobile filter styles */
    .vh360-profile-feed-filters {
        padding: 0.75rem;
        gap: 0.375rem;
    }
    
    .vh360-profile-filter {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .vh360-profile-cover {
        height: 150px;
        border-radius: 0;
    }
    
    .vh360-profile-info {
        padding: 0 1rem;
    }
    
    .vh360-profile-video-grid {
        grid-template-columns: 1fr;
    }
    
    .vh360-profile-stat {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   Profile Posts Section
   ========================================================================== */

.vh360-profile-posts {
    margin: 2rem 0;
}

.vh360-profile-posts-feed {
    margin-top: 1rem;
}

.vh360-profile-composer {
    margin-bottom: 1.5rem;
}

/* Profile posts empty state */
.vh360-profile-posts-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.vh360-profile-posts-empty .vh360-empty-state {
    max-width: 500px;
    margin: 0 auto;
}

.vh360-profile-posts-empty .vh360-empty-state svg {
    color: var(--border-color);
    margin-bottom: 1rem;
}

.vh360-profile-posts-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem;
}

.vh360-profile-posts-empty p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* Tab panels container */
.vh360-profile-tab-panels {
    margin-top: 1.5rem;
}

/* Community posts on profile inherit activity feed styles */
.vh360-profile-posts .vh360-community-post {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.vh360-profile-posts .vh360-community-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Profile composer specific styles */
.vh360-profile-composer .vh360-post-textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    resize: vertical;
    min-height: 80px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.vh360-profile-composer .vh360-post-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.vh360-profile-composer .vh360-composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.vh360-profile-composer .vh360-post-image-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 0.875rem;
    transition: var(--transition);
}

.vh360-profile-composer .vh360-post-image-label:hover {
    color: var(--secondary-color);
}

.vh360-profile-composer .vh360-post-image-label input {
    display: none;
}

.vh360-profile-composer .vh360-post-image-label span {
    margin-left: 0.25rem;
}

.vh360-profile-composer .vh360-post-submit {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.vh360-profile-composer .vh360-post-submit:hover {
    background: var(--secondary-color);
}

/* ==========================================================================
   Profile Posts Mobile Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .vh360-profile-posts-empty {
        padding: 3rem 1rem;
    }
    
    .vh360-profile-posts-empty h3 {
        font-size: 1.25rem;
    }
    
    .vh360-profile-posts-empty p {
        font-size: 0.875rem;
    }
    
    .vh360-profile-composer .vh360-composer-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .vh360-profile-composer .vh360-post-submit {
        width: 100%;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .vh360-profile-posts-empty {
        padding: 2rem 1rem;
    }
}

/* ==========================================================================
   Profile Pagination Styles
   ========================================================================== */

.vh360-profile-pagination {
    margin-top: 2rem;
    text-align: center;
}

/* Target the UL element specifically */
.vh360-profile-pagination > ul.page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Target LI elements */
.vh360-profile-pagination > ul.page-numbers > li {
    display: inline-block;
}

/* Target links and spans inside LI - be very specific */
.vh360-profile-pagination > ul.page-numbers > li > a,
.vh360-profile-pagination > ul.page-numbers > li > span {
    display: inline-block !important;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.vh360-profile-pagination > ul.page-numbers > li > a {
    cursor: pointer;
}

/* Hover state for links only */
.vh360-profile-pagination > ul.page-numbers > li > a:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

/* Current page state */
.vh360-profile-pagination > ul.page-numbers > li > span.current {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

/* ==========================================================================
   Profile Videos Header & Filters
   ========================================================================== */

.vh360-profile-videos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Video sort dropdown */
.vh360-video-sort-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.vh360-video-sort-select:hover,
.vh360-video-sort-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Empty state for videos */
.vh360-profile-videos-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.vh360-profile-videos-empty .vh360-empty-state {
    max-width: 500px;
    margin: 0 auto;
}

.vh360-profile-videos-empty .vh360-empty-state svg {
    color: var(--border-color);
    margin-bottom: 1rem;
}

.vh360-profile-videos-empty h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem;
}

.vh360-profile-videos-empty p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* Community posts in videos tab */
.vh360-profile-videos .vh360-profile-video-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vh360-profile-videos .vh360-community-post {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

/* Video preview in community posts */
.vh360-profile-videos .vh360-post-media video {
    width: 100%;
    max-height: 500px;
    border-radius: var(--border-radius);
}

/* ==========================================================================
   Profile Videos Mobile Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .vh360-profile-videos-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vh360-video-sort-select {
        width: 100%;
    }
    
    .vh360-profile-videos .vh360-profile-video-grid {
        gap: 1rem;
    }
    
    .vh360-profile-videos .vh360-community-post {
        padding: 1rem;
    }
    
    .vh360-profile-videos-empty {
        padding: 3rem 1rem;
    }
    
    .vh360-profile-videos-empty h3 {
        font-size: 1.25rem;
    }
    
    .vh360-profile-videos-empty p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .vh360-profile-videos-empty {
        padding: 2rem 1rem;
    }
}
