
    /* View Type Tabs Styling */
    .view-type-tabs {
        display: flex;
        gap: 0;
        border: none;
        background: transparent;
        margin: 30px 0;
        width: fit-content;
    }

    .view-tab {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        text-decoration: none;
        color: #6b7280;
        font-weight: 500;
        font-size: 16px;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
        border: none;
    }

    .view-tab:hover {
        color: rgba(229, 0, 80, 1);
    }

    .view-tab.active {
        color: rgba(229, 0, 80, 1);
        background: transparent;
    }

    .view-tab.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(229, 0, 80, 1);
    }

    .view-tab svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .view-tab span {
        white-space: nowrap;
    }

    @media (max-width: 640px) {
        .view-type-tabs {
            width: 100%;
            justify-content: flex-start;
        }
        
        .view-tab {
            padding: 10px 16px;
            font-size: 14px;
        }
        
        .view-tab svg {
            width: 18px;
            height: 18px;
        }
    }

    /* Category filter pills with icons */
    .service-filter-pills .filter-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .service-filter-pills .filter-pill .category-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        vertical-align: middle;
        object-fit: contain;
        flex-shrink: 0;
    }

    /* Videos Grid Styling */
    .videos-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    @media (max-width: 768px) {
        .videos-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
    }

    /* Video Card */
    .video-card {
        position: relative;
        width: 100%;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
        background: #000;
    }

    .video-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .video-thumbnail-container {
        position: relative;
        width: 100%;
        padding-top: 170%; /* Increased height for vertical videos */
        overflow: hidden;
        background: #f5f5f5;
    }

    .video-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Large circular play button overlay */
    .video-play-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        background: rgba(245, 245, 240, 0.85); /* Semi-transparent beige */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 3;
        transition: all 0.3s ease;
        backdrop-filter: blur(2px);
    }

    .video-card:hover .video-play-overlay {
        background: rgba(245, 245, 240, 0.95);
        transform: translate(-50%, -50%) scale(1.05);
    }

    .video-play-icon {
        width: 0;
        height: 0;
        border-left: 24px solid rgba(0, 0, 0, 0.8);
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
        margin-left: 6px;
    }

    /* User info container in bottom-left */
    .video-user-info {
        position: absolute;
        bottom: 12px;
        left: 12px;
        right: 12px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        z-index: 2;
        padding: 12px;
        border-radius: 0 0 12px 12px;
    }

    /* User image/logo in bottom-left */
    .video-user-image {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.9);
        object-fit: cover;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        flex-shrink: 0;
    }

    /* User text info container */
    .video-user-text {
        flex: 1;
        min-width: 0;
    }

    /* Username next to profile picture */
    .video-username-overlay {
        font-weight: 700;
        font-size: 16px;
        color: #fff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 4px;
    }

    /* Hashtags under username */
    .video-hashtags-overlay {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.95);
        word-break: break-word;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        line-height: 1.4;
    }

    /* Remove separate overlay content */
    .video-overlay-content {
        display: none;
    }

    /* Remove separate info section */
    .video-card-info {
        display: none;
    }

    /* Loading State */
    .videos-loading {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 20px;
        min-height: 400px;
    }

    .videos-spinner {
        width: 50px;
        height: 50px;
        border: 4px solid #d5bec6;
        border-top-color: rgba(229, 0, 80, 1);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-bottom: 20px;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    .videos-loading p {
        font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 16px;
        color: rgba(229, 0, 80, 1);
    }

    /* Error State */
    .videos-error {
        text-align: center;
        padding: 80px 20px;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .videos-error-icon {
        font-size: 64px;
        color: rgba(229, 0, 80, 1);
        margin-bottom: 24px;
        opacity: 0.6;
    }

    .videos-error h3 {
        font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 24px;
        font-weight: 600;
        color: #2c0d18;
        margin-bottom: 12px;
    }

    .videos-error p {
        font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 16px;
        color: #6b7280;
        margin-bottom: 24px;
    }

    .videos-retry-btn {
        background: rgba(229, 0, 80, 1);
        color: white;
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .videos-retry-btn:hover {
        background: #cc0046;
    }

    /* Empty State */
    .videos-empty {
        text-align: center;
        padding: 80px 20px;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .videos-empty-icon {
        font-size: 64px;
        color: #75213e;
        margin-bottom: 24px;
        opacity: 0.6;
    }

    .videos-empty h3 {
        font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 24px;
        font-weight: 600;
        color: #2c0d18;
        margin-bottom: 12px;
    }

    .videos-empty p {
        font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 16px;
        color: #6b7280;
    }

    /* Video Popup Modal */
    .video-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* background: rgba(0, 0, 0, 0.95); */
        z-index: 10000;
        overflow-y: auto;
        pointer-events: none; /* Allow clicks to pass through to background */
    }

    .video-modal.active {
        pointer-events: auto; /* Enable interactions on modal content */
    }

    .video-modal.active {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 20px;
    }

    .video-modal-content {
        position: fixed !important;
        max-width: 380px;
        width: 100%;
        background: transparent;
        cursor: grab;
        user-select: none;
        transition: transform 0.1s ease-out;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        pointer-events: auto; /* Ensure modal content is interactive */
        will-change: transform, left, top; /* Optimize for position changes */
    }

    .video-modal-content.dragging {
        cursor: grabbing;
        transition: none;
    }

    /* Video Player - Portrait Aspect Ratio */
    .video-modal-player {
        position: relative;
        width: 100%;
        padding-top: 170%; /* Same as card aspect ratio */
        background: #000;
        border-radius: 15px;
        overflow: hidden;
    }

    .video-modal-player video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Close Button - Top Left */
    .video-modal-close {
        position: absolute;
        top: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: all 0.2s ease;
        backdrop-filter: blur(4px);
    }

    .video-modal-close:hover {
        background: rgba(0, 0, 0, 0.8);
        transform: scale(1.05);
    }

    /* Navigation Arrows - Right Middle */
    .video-modal-navigation {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 10;
    }

    .video-nav-btn {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        backdrop-filter: blur(4px);
    }

    .video-nav-btn:hover {
        background: rgba(0, 0, 0, 0.8);
        transform: scale(1.05);
    }

    .video-nav-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    /* User Info Overlay - Bottom */
    .video-modal-user-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 12px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
        z-index: 5;
    }

    .video-modal-user-image {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.9);
        object-fit: cover;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        flex-shrink: 0;
    }

    .video-modal-user-text {
        flex: 1;
        min-width: 0;
    }

    .video-modal-username {
        font-weight: 700;
        font-size: 16px;
        color: #fff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 4px;
    }

    .video-modal-hashtags {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.95);
        word-break: break-word;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        line-height: 1.4;
    }

    /* Booking Button in Overlay */
    .video-modal-booking-btn {
        background: linear-gradient(270deg, #FF8C00 0%, #E50050 100%);
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 37px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        align-self: flex-end;
    }

    .video-modal-booking-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(229, 0, 80, 0.3);
    }

    @media (max-width: 480px) {
        .video-modal-user-overlay {
            flex-wrap: wrap;
        }
        
        .video-modal-booking-btn {
            width: 100%;
            margin-top: 8px;
            justify-content: center;
        }
    }

    .video-modal-booking-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(229, 0, 80, 0.3);
    }

    @media (max-width: 768px) {
        .video-thumbnail-container{
            padding-top: 195%;
        }
        .video-modal.active {
            padding: 0;
        }

        .video-modal-content {
            max-width: 90%;
        }

        .video-modal-player {
            border-radius: 0;
        }

    }