:root {
    --primary-color: #00a2ff;
    --primary-hover: #0081cc;
    --primary-light: #4db8ff;
    --primary-glow: rgba(0, 162, 255, 0.25);
    --bg-color: #0a0a1a;
    --bg-elevated: #0f0f1f;
    --card-bg: rgba(30, 40, 60, 0.95);
    --border-color: #2a3a4a;
    --text-main: #ffffff;
    --text-dim: #c0c0c0;
    --text-muted: #888888;
    --error-color: #ed4956;
    --success-color: #00f2ff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --nav-width: 250px;
    --content-max-width: 600px;
    --header-height: 60px;
    --transition-speed: 0.2s;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 15px rgba(0, 162, 255, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #0a0a1a 0%, #0f0f2a 50%, #0a0a1a 100%);
    color: var(--text-main);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #2a3a4a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #2a3a4a var(--bg-color);
}

.ox-mcp-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.ox-mcp-header {
    background: rgba(15, 20, 35, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    padding: 0 20px;
    border-bottom: 1px solid rgba(0, 162, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
}

.ox-logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity var(--transition-speed);
}

.ox-logo:hover {
    opacity: 0.85;
}

.ox-logo img {
    max-height: 40px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 767px) {
    .ox-logo img {
        max-height: 35px;
        max-width: 120px;
    }
}

.ox-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

.ox-header-search {
    flex: 1;
    max-width: 400px;
    position: relative;
    margin: 0 20px;
}

.ox-header-search input {
    width: 100%;
    background: rgba(15, 25, 35, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 10px 15px 10px 38px;
    color: var(--text-main);
    outline: none;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
}

.ox-header-search input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.ox-header-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1rem;
}

.ox-header-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
}

.ox-header-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    transition: all var(--transition-speed);
}

.ox-header-search-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ox-header-search-toggle:active {
    transform: scale(0.9);
    background: rgba(0, 162, 255, 0.2);
}

.ox-header-action-btn i {
    font-size: 1.1rem;
}

.ox-header-action-btn:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.ox-header-actions i {
    font-size: 1.4rem;
    color: var(--text-dim);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.ox-header-actions i:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.ox-mcp-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}

.ox-mcp-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-speed);
    position: relative;
    padding: 8px 12px;
    border-radius: var(--border-radius-md);
}

.ox-mcp-nav a i {
    font-size: 1.4rem;
    transition: transform var(--transition-speed);
}

.ox-mcp-nav a span {
    display: none;
    font-size: 0.7rem;
    margin-top: 4px;
    font-weight: 500;
}

.ox-mcp-nav a:hover {
    color: var(--primary-color);
    background: rgba(0, 162, 255, 0.1);
}

.ox-mcp-nav a:hover i {
    transform: translateY(-2px);
}

.ox-mcp-nav a.active {
    color: var(--primary-color);
}

.ox-mcp-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 0 8px var(--primary-color);
}

@media (min-width: 768px) {
    .ox-mcp-nav {
        width: var(--nav-width);
        height: 100vh;
        overflow: hidden;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        left: 0;
        top: 0;
        bottom: auto;
        right: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        border-right: 1px solid rgba(0, 162, 255, 0.15);
        border-top: none;
        background: rgba(15, 20, 35, 0.98);
        backdrop-filter: blur(0);
    }

    .ox-sidebar-top-section {
        flex-shrink: 0;
        padding: 24px 12px 0;
    }

    .ox-nav-links.desktop-only {
        flex: 1;
        overflow-y: auto;
        padding: 0 12px;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 162, 255, 0.3) transparent;
    }

    .ox-sidebar-bottom-actions {
        flex-shrink: 0;
        padding: 0 12px 24px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        margin-top: 10px;
    }

    .ox-sidebar-logout {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        border-radius: var(--border-radius-lg);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .ox-sidebar-collapse-btn {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--text-dim);
        padding: 12px 16px;
        border-radius: var(--border-radius-lg);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        font-size: 1rem;
        transition: all 0.3s ease;
        width: 100%;
    }

    .ox-sidebar-collapse-btn i {
        width: 28px;
        text-align: center;
    }

    .ox-sidebar-collapse-btn:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
    }

    .ox-mcp-nav a {
        flex-direction: row;
        justify-content: flex-start;
        gap: 14px;
        padding: 12px 16px;
        margin: 4px 0;
        font-size: 1rem;
        border-radius: var(--border-radius-lg);
        width: 100%;
    }

    .ox-mcp-nav a i {
        font-size: 1.3rem;
        width: 28px;
        text-align: center;
    }

    .ox-mcp-nav a span {
        display: inline;
        font-size: 0.95rem;
        font-weight: 500;
        margin-top: 0;
    }

    .ox-mcp-nav a:hover {
        background: rgba(0, 162, 255, 0.08);
    }

    .ox-mcp-nav a.active {
        background: rgba(0, 162, 255, 0.12);
    }

    .ox-mcp-nav a.active::after {
        display: none;
    }

    .ox-sidebar-brand {
        padding: 12px 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(0, 162, 255, 0.15);
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 80px;
    }

    .ox-sidebar-brand .ox-logo {
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .ox-sidebar-brand .ox-logo img {
        max-width: 100%;
        max-height: 50px;
        height: auto;
        object-fit: contain;
    }

    .ox-sidebar-brand .ox-logo {
        font-size: 1.8rem;
    }

    .ox-mcp-content {
        margin-left: var(--nav-width);
        max-width: calc(100% - var(--nav-width));
        transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 0;
        display: flex;
        justify-content: center;
        gap: 30px;
        padding-right: 20px;
    }

    .ox-feed-container {
        flex: 1;
        max-width: 680px;
        padding-top: 20px;
        margin-right: 0;
    }

    .ox-right-sidebar {
        width: 35%;
        position: sticky;
        top: 80px;
        height: calc(100vh - 100px);
        display: flex !important;
        flex-direction: column;
    }

    .in-chat .ox-right-sidebar {
        display: none !important;
    }

    .ox-right-widget-container {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-lg);
        height: 100%;
        overflow-y: auto;
        padding: 24px;
    }

    .ox-mcp-header {
        position: sticky;
        top: 0;
        margin-left: var(--nav-width);
        width: calc(100% - var(--nav-width));
        transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(15, 20, 35, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 998;
    }

    .ox-mcp-header .ox-logo {
        display: none;
    }

    .ox-header-notification-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: var(--text-dim);
        text-decoration: none;
    }
}

@media (max-width: 767px) {
    .ox-sidebar-brand {
        display: none;
    }

    .ox-header-search {
        display: none;
    }

    .ox-header-title {
        display: none;
    }

    /* Mobile Header Profile Dropdown */
    .ox-header-profile-dropdown {
        position: relative;
        display: flex;
        align-items: center;
    }

    .ox-header-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--primary-color);
        cursor: pointer;
    }

    .ox-dropdown-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background: #111b21;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        min-width: 150px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.5);
        display: none;
        flex-direction: column;
        overflow: hidden;
        z-index: 1100;
    }

    .ox-dropdown-menu.show {
        display: flex;
    }

    .ox-dropdown-menu a {
        padding: 10px 14px;
        color: #e9edef;
        text-decoration: none;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background 0.2s;
    }

    .ox-dropdown-menu a i {
        width: 14px;
        font-size: 0.8rem;
        color: var(--text-dim);
    }

    .ox-dropdown-menu a:hover {
        background: rgba(255,255,255,0.05);
    }

    .ox-dropdown-menu a.logout {
        color: var(--error-color);
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .ox-dropdown-menu a.logout i {
        color: var(--error-color);
    }
    
    .ox-mcp-content {
        padding-bottom: 80px;
    }
    
    .ox-mcp-nav a.active i {
        text-shadow: 0 0 8px var(--primary-color);
    }
}

@keyframes subtleGlow {
    0% { box-shadow: 0 0 0 rgba(0, 162, 255, 0); }
    50% { box-shadow: 0 0 12px rgba(0, 162, 255, 0.3); }
    100% { box-shadow: 0 0 0 rgba(0, 162, 255, 0); }
}

.ox-mcp-nav a:active {
    transform: scale(0.96);
}

@media (min-width: 768px) {
    .ox-mcp-nav a:active {
        transform: none;
    }

    /* Sidebar Toggle Button */
    .ox-sidebar-toggle {
        display: none !important;
    }

    /* Collapsed Sidebar Styles */
    .ox-mcp-nav.sidebar-collapsed {
        width: 80px;
    }

    .ox-mcp-nav.sidebar-collapsed .ox-sidebar-top-section {
        padding: 24px 10px 0;
    }

    .ox-mcp-nav.sidebar-collapsed .logo-full-text {
        display: none;
    }

    .ox-mcp-nav.sidebar-collapsed .logo-icon-only {
        display: block !important;
        text-align: center;
    }

    .ox-mcp-nav.sidebar-collapsed .ox-nav-links {
        padding: 0 10px;
    }

    .ox-mcp-nav.sidebar-collapsed a {
        justify-content: center;
        padding: 12px 0;
        gap: 0;
    }

    .ox-mcp-nav.sidebar-collapsed a span {
        display: none;
    }

    .ox-mcp-nav.sidebar-collapsed a i {
        font-size: 1.5rem;
        width: 100%;
    }

    .ox-mcp-nav.sidebar-collapsed .ox-sidebar-bottom-actions {
        padding: 0 10px 24px;
    }

    .ox-mcp-nav.sidebar-collapsed .ox-sidebar-collapse-btn span {
        display: none;
    }

    .ox-mcp-content.sidebar-collapsed {
        margin-left: 80px;
        max-width: calc(100% - 80px);
    }

    .ox-mcp-header.sidebar-collapsed {
        margin-left: 80px;
        width: calc(100% - 80px);
    }

    .ox-mcp-nav.sidebar-collapsed .ox-sidebar-brand {
        padding: 8px 0 32px 0;
        text-align: center;
    }
}

.ox-creator-card {
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.08) 0%, rgba(0, 162, 255, 0.02) 100%);
    border: 1px solid rgba(0, 162, 255, 0.25);
    border-radius: var(--border-radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.ox-creator-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ox-creator-header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.ox-creator-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    box-shadow: var(--shadow-glow);
}

.ox-creator-title h3 {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.ox-creator-title p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.ox-creator-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.ox-stat-item {
    text-align: center;
}

.ox-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.ox-stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ox-chat-loading-older {
    text-align: center;
    padding: 15px;
    color: var(--primary-color);
}

.ox-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.ox-progress-container {
    margin-bottom: 24px;
}

.ox-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ox-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 4px;
    position: relative;
    transition: width 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.ox-progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
}

.ox-progress-text {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
}

.ox-btn-creator {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border: none;
    border-radius: var(--border-radius-md);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.ox-btn-creator:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.ox-creator-locked {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ox-locked-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.ox-btn-creator-disabled {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-dim);
    font-weight: 600;
    font-size: 1rem;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.7;
}

.ox-compose-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 162, 255, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 20px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.ox-compose-card:focus-within {
    border-color: rgba(0, 162, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 162, 255, 0.15);
}

.ox-compose-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ox-compose-avatar {
    flex-shrink: 0;
}

.ox-avatar-inner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    transition: transform var(--transition-speed);
}

.ox-avatar-inner:hover {
    transform: scale(1.05);
}

.ox-avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ox-compose-input-wrapper {
    flex: 1;
}

.ox-compose-textarea {
    width: 100%;
    background: rgba(15, 25, 35, 0.9);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 14px 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    resize: none;
    outline: none;
    font-family: inherit;
    transition: all var(--transition-speed);
}

.ox-compose-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(20, 30, 45, 0.95);
}

.ox-compose-textarea::placeholder {
    color: var(--text-muted);
}

.ox-media-preview {
    display: none;
    margin-bottom: 16px;
}

.ox-media-preview.active {
    display: block;
}

.ox-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.ox-preview-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #000;
}

.ox-preview-grid .ox-preview-wrapper {
    aspect-ratio: 1/1;
}

.ox-preview-wrapper.audio-preview,
.ox-preview-wrapper.video-preview {
    aspect-ratio: auto;
    width: fit-content;
    background: transparent;
}

.ox-preview-wrapper img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.ox-preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.ox-preview-remove:hover {
    background: var(--error-color);
    transform: scale(1.05);
}

.ox-compose-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.ox-compose-tools {
    display: flex;
    gap: 12px;
}

.ox-tool-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 162, 255, 0.1);
    border: 1px solid rgba(0, 162, 255, 0.2);
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    position: relative;
}

.ox-tool-btn:hover {
    background: rgba(0, 162, 255, 0.25);
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.ox-tool-btn input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.ox-compose-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ox-price-input-wrapper {
    position: relative;
}

.ox-price-symbol {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: 600;
}

.ox-price-input {
    padding: 10px 12px 10px 35px;
    background: rgba(15, 25, 35, 0.9);
    border: 1.5px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    transition: all var(--transition-speed);
    width: 100px;
}

.ox-price-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.ox-btn-post {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed);
}

.ox-btn-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 162, 255, 0.4);
    background: linear-gradient(135deg, #1aadff, #0088dd);
}

.ox-btn-post:disabled,
.ox-composer-submit-top:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.ox-guest-welcome {
    background: linear-gradient(135deg, rgba(30, 40, 60, 0.95), rgba(20, 30, 50, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 162, 255, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 24px;
}

.ox-welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 162, 255, 0.3);
}

.ox-guest-welcome h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-color), #7ec8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ox-guest-welcome p {
    color: var(--text-dim);
    margin-bottom: 32px;
    line-height: 1.6;
}

.ox-welcome-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.ox-btn-primary {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 120px;
}

.ox-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 162, 255, 0.4);
}

.ox-btn-secondary {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ox-btn-secondary:hover {
    background: rgba(0, 162, 255, 0.1);
    transform: translateY(-2px);
}

.ox-post-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 162, 255, 0.2);
    border-radius: var(--border-radius-xl);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ox-post-card:hover {
    border-color: rgba(0, 162, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 162, 255, 0.1);
    transform: translateY(-2px);
}

.ox-post-card .ox-post-header {
    padding: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.ox-post-author {
    display: flex;
    gap: 12px;
    flex: 1;
}

.ox-author-avatar {
    flex-shrink: 0;
}

.ox-author-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: all var(--transition-speed);
}

.ox-author-avatar:hover img {
    transform: scale(1.05);
}

.ox-author-info {
    flex: 1;
}

.ox-author-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.ox-author-name a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.ox-author-name a:hover {
    color: var(--primary-color);
}

.ox-username {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ox-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.ox-post-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ox-post-price-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(0, 162, 255, 0.15);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.7rem;
}

.ox-post-menu-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.ox-post-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transform: scale(1.05);
}

.ox-post-body {
    padding: 0 16px 16px;
}

.ox-post-text {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1.05rem;
    font-weight: 400;
    color: #e9edef;
    word-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.ox-post-text.expanded {
    display: block;
    max-height: none;
    -webkit-line-clamp: unset;
}

.ox-post-media-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #000;
}

.ox-media-video video,
.ox-media-image img {
    width: 100%;
    display: block;
}

.ox-media-audio {
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.1), transparent);
    border-radius: var(--border-radius-md);
}

.ox-audio-player {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ox-audio-player i {
    font-size: 2rem;
    color: var(--primary-color);
}

.ox-audio-player audio {
    flex: 1;
    height: 40px;
    border-radius: 30px;
}

.ox-media-locked {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.ox-media-locked.locked-video {
    aspect-ratio: 9/16;
    height: 60vh;
}

.ox-locked-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.2);
    transform: scale(1.1);
    z-index: 1;
}

.ox-media-locked.locked-video .ox-locked-backdrop {
    display: block !important;
}

.locked-video-preview {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.locked-video-preview img,
.locked-video-preview video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ox-locked-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
}

.ox-locked-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(0, 162, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.ox-locked-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.ox-locked-content p {
    margin: 0 0 20px 0;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.ox-locked-price {
    margin-bottom: 20px;
}

.ox-price-tag {
    padding: 8px 20px;
    background: rgba(0, 162, 255, 0.15);
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.ox-btn-unlock {
    padding: 12px 24px;
    background: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    color: #000 !important;
    font-weight: 800 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.ox-btn-unlock:hover {
    background: #f0f0f0 !important;
    transform: scale(1.02);
}

.ox-post-footer {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border-color);
}

.ox-post-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.ox-stat-likes,
.ox-stat-comments {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
}

.ox-stat-likes i,
.ox-stat-comments i {
    font-size: 0.9rem;
}

.ox-post-actions {
    display: flex;
    gap: 8px;
}

.ox-action-btn {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: var(--border-radius-sm);
    color: var(--text-dim);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--transition-speed);
}

.ox-action-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.ox-action-btn.liked,
.ox-action-btn.saved {
    color: var(--primary-color);
}

.ox-action-btn.liked i {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.ox-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(30, 40, 60, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(0, 162, 255, 0.2);
}

.ox-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(0, 162, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
}

.ox-empty-state h3 {
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.ox-empty-state p {
    margin: 0 0 24px 0;
    color: var(--text-dim);
}

.ox-btn-create-post {
    padding: 12px 28px;
    background: var(--primary-color);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed);
}

.ox-btn-create-post:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.ox-loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    color: var(--text-dim);
}

.ox-spinner {
    font-size: 1.2rem;
    color: var(--primary-color);
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.ox-chat-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    width: 100%;
    height: 100%;
}

.ox-chat-loading i {
    font-size: 2.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-glow));
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

#ox-right-original-post-body .ox-spinner,
.ox-new-creators-list .ox-spinner,
.ox-panel-body .ox-spinner,
.ox-skeleton-quote .ox-spinner {
    display: block;
    margin: 40px auto;
    text-align: center;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ox-media-post {
    padding: 0;
    background: #000;
    position: relative;
    margin-bottom: 24px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.ox-post-media-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
    overflow: hidden;
}

.ox-tiktok-video, .ox-tiktok-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.ox-tiktok-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.ox-blurred-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat !important;
    transform: scale(1.1);
    z-index: 1;
}

.ox-fullscreen-icon-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1006;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.ox-fullscreen-icon-btn:hover {
    background: rgba(0, 162, 255, 0.4);
    border-color: var(--primary-color);
    transform: translateX(-50%) scale(1.1);
}

.ox-custom-player.is-fs .ox-fullscreen-icon-btn {
    display: none;
}

.ox-tiktok-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    padding: 20px;
    pointer-events: none;
    z-index: 1005; /* Above video info but below sidebar */
}

.ox-tiktok-sidebar {
    position: absolute;
    right: 12px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    pointer-events: auto;
}

.ox-tiktok-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
}

.ox-tiktok-action:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.ox-tiktok-action i {
    font-size: 20px;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
	padding-right: 25px;
}

.ox-tiktok-action span {
    font-size: 12px;
    font-weight: 600;
}

.ox-tiktok-action.active {
    color: var(--primary-color);
}

.ox-tiktok-info {
    padding-right: 70px;
    pointer-events: auto;
}

.ox-tiktok-author a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 8px;
    display: inline-block;
}

.ox-tiktok-author a:hover {
    color: var(--primary-color);
}

.ox-tiktok-caption {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ox-caption-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
}

.ox-caption-text.expanded {
    display: block;
    max-height: none;
    -webkit-line-clamp: unset;
}

.ox-see-more {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    font-size: 0.8rem;
    transition: color var(--transition-speed);
}

.ox-see-more:hover {
    color: #7ec8ff;
}

.ox-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.5);
    transform: scale(1.1);
    z-index: 1;
}

.video-player video {
    position: relative;
    z-index: 2;
}

.ox-album-cover {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.ox-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audio-player .ox-tiktok-audio {
    position: relative;
    z-index: 2;
    background: transparent !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ox-music-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0a0a1a, #1a1a2e);
    overflow: hidden;
    z-index: 1;
}

.ox-floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ox-floating-icons i {
    position: absolute;
    color: rgba(0, 162, 255, 0.15);
    font-size: 2rem;
    animation: float 12s infinite linear;
}

.ox-floating-icons i:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.ox-floating-icons i:nth-child(2) { top: 30%; left: 80%; animation-delay: 2s; }
.ox-floating-icons i:nth-child(3) { top: 70%; left: 20%; animation-delay: 4s; }
.ox-floating-icons i:nth-child(4) { top: 80%; left: 70%; animation-delay: 6s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
}

.ox-sound-bars {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    padding-bottom: 20px;
}

.ox-sound-bars span {
    width: 5px;
    background: var(--primary-color);
    animation: sound 1s infinite ease-in-out;
}

@keyframes sound {
    0%, 100% { height: 10px; }
    50% { height: 50px; }
}

.ox-custom-player:not(.playing) .ox-sound-bars span,
.ox-custom-player:not(.playing) .ox-floating-icons i {
    animation-play-state: paused;
    opacity: 0.2;
}

.ox-player-controls-expanded {
    width: 90%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ox-player-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ox-player-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-speed);
}

.ox-player-btn:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.ox-player-btn.active {
    color: var(--primary-color);
}

.ox-player-speed {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: var(--border-radius-sm);
    padding: 4px 8px;
    font-size: 0.8rem;
    cursor: pointer;
}

.ox-player-middle {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ox-player-seekbar {
    width: 100%;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.ox-player-time {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: right;
}

.ox-player-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ox-player-volume {
    flex: 1;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.ox-text-post-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.ox-text-centered {
    max-width: 100%;
}

.ox-text-centered .ox-post-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ox-see-more.text {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 8px 20px;
    border-radius: 30px;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.ox-see-more.text:hover {
    background: #fff;
    color: var(--primary-color);
}

.ox-modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    overflow: auto;
}

.ox-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.ox-modal-content img {
    width: 100%;
    border-radius: var(--border-radius-sm);
}

.ox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.ox-landscape-lock {
    transform: rotate(90deg);
    transform-origin: center;
    width: 100vh;
    height: 100vw;
    overflow: hidden;
}

.ox-custom-player {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.ox-custom-player.is-fs {
    background: #000 !important;
}

.ox-custom-player:fullscreen,
.ox-post-media-container:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    background: #000 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ox-custom-player:-webkit-full-screen,
.ox-post-media-container:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ox-post-media-container:fullscreen .ox-custom-player,
.ox-post-media-container:-webkit-full-screen .ox-custom-player {
    width: 100% !important;
    height: 100% !important;
}

.ox-post-media-container:fullscreen .ox-video-header-overlay,
.ox-post-media-container:-webkit-full-screen .ox-video-header-overlay {
    display: none !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent) !important;
    pointer-events: auto !important;
}

.ox-post-media-container:fullscreen .ox-fs-back-btn,
.ox-post-media-container:-webkit-full-screen .ox-fs-back-btn {
    display: flex !important;
}

.ox-post-media-container:fullscreen .ox-tiktok-overlay,
.ox-post-media-container:-webkit-full-screen .ox-tiktok-overlay {
    bottom: 80px !important;
}

.ox-custom-player.is-fs video {
    max-height: 100vh !important;
    width: 100% !important;
    object-fit: contain !important;
}

.ox-player-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.ox-custom-player button.play-pause {
    background: black;
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-glow);
}

.ox-custom-player button.play-pause:hover {
    transform: scale(1.15);
}

.ox-custom-player.playing button.play-pause {
    opacity: 0;
    pointer-events: none;
}

.ox-custom-player.playing:hover button.play-pause,
.ox-custom-player.is-fs.playing button.play-pause {
    opacity: 1;
    pointer-events: auto;
}

.ox-video-v2 {
    height: 70vh !important;
}

.ox-video-overlay-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: transparent;
    pointer-events: none;
}

.ox-custom-player.is-fs .ox-video-overlay-v2 {
    opacity: 1;
    pointer-events: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    height: auto;
}

/* Custom Fullscreen Controls - Always Visible */
.ox-video-fs-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    z-index: 9999;
    pointer-events: auto;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ox-custom-player.is-fs .ox-video-fs-controls {
    display: block !important;
}

.ox-video-fs-seekbar-wrapper {
    width: 100%;
    margin-bottom: 8px;
}

.ox-player-seekbar.fs-seekbar {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    outline: none;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.ox-player-seekbar.fs-seekbar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    border: 2px solid var(--primary-color);
}

.ox-player-seekbar.fs-seekbar::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    border: 2px solid var(--primary-color);
}

.ox-video-fs-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.ox-fs-volume-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ox-fs-volume-btn:hover {
    transform: scale(1.15);
    color: var(--primary-color);
}

.fs-time {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ox-video-loading-spinner i {
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.audio-player .ox-tiktok-audio {
    width: 100%;
    padding: 0px;
    background: var(--bg-elevated);
    border-radius: 24px;
    text-align: center;
}

.audio-player .ox-tiktok-audio i {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 0px;
    display: block;
}

.ox-post-actions-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

.ox-post-actions-icons button {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-speed);
    padding: 6px 12px;
    border-radius: 30px;
}

.ox-post-actions-icons button:hover {
    color: var(--primary-color);
    background: rgba(0, 162, 255, 0.1);
}

.ox-post-actions-icons button span {
    font-size: 0.9rem;
    font-weight: 600;
}

.ox-post-actions-icons button.liked,
.ox-post-actions-icons button.saved,
.ox-post-actions-icons button.disliked {
    color: var(--primary-color);
}

.text-post-footer {
    padding: 0;
    border-top: 1px solid var(--border-color);
}

.text-post-footer .ox-post-actions-icons {
    border-top: none;
}

.text-only-container {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 200px !important;
}

.ox-post-delete-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    transition: all var(--transition-speed);
}

.ox-post-delete-btn:hover {
    color: var(--error-color);
    transform: scale(1.05);
}

.ox-post-options-menu {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    width: 180px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: none;
    overflow: hidden;
}

.ox-post-options-menu button {
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background var(--transition-speed);
}

.ox-post-options-menu button:hover {
    background: rgba(255,255,255,0.05);
}

.ox-post-options-menu button.delete {
    color: var(--error-color);
}

.ox-post-options-menu button.delete:hover {
    background: rgba(237, 73, 86, 0.1);
}

.ox-comments-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0,0,0,0.6);
}

.ox-comments-panel.active {
    right: 0;
}

#ox-caption-panel.active {
    left: 0 !important;
}

.ox-panel-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ox-panel-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.ox-panel-header button {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color var(--transition-speed);
}

.ox-panel-header button:hover {
    color: var(--primary-color);
}

.ox-panel-back-btn {
    margin-right: 15px;
}

.ox-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.ox-panel-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

#ox-comment-form {
    display: flex;
    gap: 10px;
}

#ox-comment-form input {
    flex: 1;
    background: rgba(15, 25, 35, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 12px 15px;
    color: var(--text-main);
    outline: none;
    transition: all var(--transition-speed);
}

#ox-comment-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

#ox-comment-form button {
    background: var(--primary-color);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed);
}

#ox-comment-form button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
    .ox-comments-panel {
        width: 100%;
        right: 0;
        top: 100%;
        transition: top 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }
    .ox-comments-panel.active {
        top: 20%;
        height: 80%;
    }
}

.ox-comment-item {
    margin-bottom: 24px;
}

.ox-comment-header {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.ox-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.ox-comment-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.ox-comment-text {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-left: 46px;
    line-height: 1.4;
    margin-top: -5px;
}

.ox-comment-actions {
    margin-left: 46px;
    margin-top: 8px;
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.ox-comment-actions span {
    cursor: pointer;
    transition: color var(--transition-speed);
}

.ox-comment-actions span:hover {
    color: var(--primary-color);
}

.ox-comment-actions i {
    margin-right: 4px;
}

.ox-replies {
    margin-left: 46px;
    margin-top: 15px;
    border-left: 2px solid var(--border-color);
    padding-left: 15px;
}

.ox-instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 2px;
}

.ox-grid-item {
    position: relative;
    aspect-ratio: 1/1;
    background: #111;
    overflow: hidden;
    cursor: pointer;
}

.ox-grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.ox-grid-item img, .ox-grid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ox-grid-item:hover img,
.ox-grid-item:hover video {
    transform: scale(1.02);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    color: #fff;
    font-weight: 700;
}

.ox-grid-item:hover .grid-overlay {
    opacity: 1;
}

.grid-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
    font-size: 0.9rem;
}

.grid-locked {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.grid-locked .blur-bg {
    filter: blur(15px) brightness(0.4);
}

.grid-locked i {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 1.5rem;
}

.ox-media-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ox-slider-track {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.ox-slider-item {
    min-width: 100%;
    height: 100%;
}

.ox-slider-prev, .ox-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-speed);
}

.ox-slider-prev:hover, .ox-slider-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}

.ox-slider-prev { left: 10px; }
.ox-slider-next { right: 10px; }

.ox-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ox-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.ox-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.ox-quoted-post-overlay {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--border-radius-sm);
    padding: 10px;
    margin-top: 10px;
    backdrop-filter: blur(5px);
}

.ox-quoted-author {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.ox-quoted-content {
    font-size: 0.85rem;
}

.ox-quoted-post-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-top: 15px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    transition: all var(--transition-speed);
    cursor: pointer;
}

.ox-quoted-post-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateX(2px);
}

.ox-quoted-post-card .ox-post-text {
    font-size: 0.95rem;
    font-weight: 400;
    text-shadow: none;
    color: var(--text-main);
}

.ox-quoted-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 5px;
}

.ox-quoted-media img {
    width: 100%;
    border-radius: var(--border-radius-sm);
    margin-top: 10px;
}

.ox-quoted-media-placeholder {
    background: var(--bg-elevated);
    padding: 20px;
    text-align: center;
    border-radius: var(--border-radius-sm);
    margin-top: 10px;
    color: var(--text-dim);
}

.ox-mention-suggestions {
    position: fixed;
    background: #111b21;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    width: 250px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    display: none;
}

.ox-mention-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.ox-mention-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.ox-mention-item:hover {
    background: rgba(255,255,255,0.05);
}

.ox-mention-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.ox-mention-info {
    display: flex;
    flex-direction: column;
}

.ox-mention-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.ox-mention-username {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.ox-profile-container {
    max-width: 100%;
    margin: 0 auto;
    background: var(--bg-color);
}

.ox-profile-tabs {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
}

.ox-profile-tab {
    flex: 1;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: var(--text-dim);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-top: 2px solid transparent;
}

.ox-profile-tab i {
    font-size: 1.2rem;
}

.ox-profile-tab.active {
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    background: rgba(0, 162, 255, 0.05);
}

.ox-profile-cover {
    height: 300px;
    width: 100%;
    position: relative;
    border-radius: 0 0 24px 24px;
    box-shadow: inset 0 -100px 100px rgba(0,0,0,0.5);
    overflow: hidden;
}

.ox-cover-actions {
    padding: 15px;
}

.ox-btn-back {
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.ox-btn-back:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.ox-profile-info-card {
    padding: 0 20px 20px;
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.ox-profile-header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.ox-profile-avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    overflow: hidden;
    background: #333;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
}

.ox-profile-avatar-wrapper:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.ox-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ox-profile-actions-top {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
}

.ox-btn-outline {
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.ox-btn-outline:hover {
    background: rgba(0, 162, 255, 0.1);
    transform: translateY(-2px);
}

.ox-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.ox-btn-icon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.ox-profile-details {
    margin-top: 10px;
}

.ox-profile-name {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.ox-profile-username {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.ox-profile-stats-row {
    display: flex;
    gap: 24px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.ox-stat-item strong {
    color: #fff;
}

.ox-profile-wallet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: var(--border-radius-lg);
    margin-top: 20px;
}

.ox-wallet-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ox-coin-display {
    font-weight: 700;
    color: var(--primary-color);
}

.ox-btn-buy {
    background: var(--primary-color);
    border: none;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.ox-btn-buy:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
    .ox-creator-card {
        padding: 20px 16px;
        margin: 16px;
    }

    .ox-compose-card {
        padding: 16px;
        margin: 16px;
    }

    .ox-compose-footer {
        flex-direction: column;
    }

    .ox-compose-tools {
        width: 100%;
        justify-content: space-around;
    }

    .ox-compose-actions {
        width: 100%;
    }

    .ox-price-input-wrapper {
        flex: 1;
    }

    .ox-price-input {
        width: 100%;
		padding-left: 40px !important;
    }

    .ox-btn-post {
        padding: 10px 20px;
        width: auto !important;
        min-width: 120px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        display: inline-flex !important;
    }

    .ox-guest-welcome {
        padding: 32px 20px;
        margin: 16px;
    }

    .ox-welcome-actions {
        flex-direction: column;
    }
}

.ox-twitter-style {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: 20px;
}

.ox-twitter-style .ox-post-header {
    padding: 12px 16px;
}

.ox-twitter-style .ox-post-body {
    padding: 0 16px 12px;
}

.ox-twitter-style .ox-post-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.ox-facebook-post {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.ox-facebook-post .ox-post-media-container {
    aspect-ratio: auto;
    min-height: 300px;
}

.ox-facebook-post .ox-text-post-bg {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.ox-btn-change-cover {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.ox-btn-change-cover:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.ox-custom-modal {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    width: 90%;
    max-width: 550px;
    box-shadow: var(--shadow-lg);
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 767px) {
    .ox-mcp-app .ox-modal-content.ox-custom-modal {
        width: 90% !important;
        max-width: 400px !important;
        height: auto !important;
        max-height: 85vh !important;
        border-radius: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        position: relative;
        left: auto;
        margin: auto;
        padding: 20px;
        overflow-y: auto;
    }

    .ox-mcp-app .ox-modal[style*="display: block"] .ox-modal-content.ox-custom-modal {
        top: 50% !important;
    }

    #ox-generic-modal {
        background-color: transparent !important;
        pointer-events: none;
    }

    #ox-generic-modal .ox-modal-content {
        pointer-events: auto;
    }

    .compact-tip-modal {
        width: 90% !important;
        max-width: 350px !important;
        height: auto !important;
        border-radius: 24px !important;
        position: relative !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: auto !important;
        padding: 0 !important;
        animation: slideUp 0.3s ease-out;
    }

    .compact-tip-modal .ox-close {
        display: none !important;
    }

    @keyframes slideUp {
        from { transform: translateY(20%); opacity: 0; }
        to { transform: translateY(-50%); opacity: 1; }
    }
}

.ox-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

.ox-modal-body {
    margin-bottom: 25px;
}

.ox-modal-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.ox-modal-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(15, 25, 35, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    outline: none;
    transition: all var(--transition-speed);
}

.ox-modal-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.ox-modal-footer {
    display: flex;
    gap: 12px;
}

.ox-btn-modal-confirm {
    flex: 1;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.ox-btn-modal-cancel {
    flex: 1;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.ox-btn-modal-confirm:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.ox-btn-modal-cancel:hover {
    background: rgba(255,255,255,0.05);
    transform: scale(1.02);
}

@media (max-width: 767px) {
    .desktop-only { display: none !important; }

    .ox-mcp-nav {
        padding: 0 10px;
    }

    .ox-mobile-plus-btn {
        width: 50px;
        height: 50px;
        background: var(--primary-color);
        border: none;
        border-radius: 50%;
        color: #fff;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-glow);
        transform: translateY(-8px);
        cursor: pointer;
        transition: all var(--transition-speed);
    }

    .ox-mobile-plus-btn:active {
        transform: translateY(-5px) scale(0.95);
    }
}

@media (min-width: 768px) {
    .mobile-only { display: none !important; }
}

@media (min-width: 768px) {
    .ox-media-post .ox-post-media-container {
        max-height: 700px;
        aspect-ratio: auto;
    }

    .ox-media-post .ox-tiktok-video,
    .ox-media-post .ox-tiktok-image {
        max-height: 700px;
        width: auto;
        margin: 0 auto;
        display: block;
    }

    .ox-facebook-post .ox-post-media-container {
        min-height: 250px;
        max-height: 450px;
    }

    .ox-facebook-post .ox-text-centered .ox-post-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .ox-mcp-content {
        padding-bottom: 80px;
    }

    .ox-timeline-feed {
        padding: 10px;
    }

    .ox-media-post, .ox-facebook-post {
        height: auto !important;
        max-height: 80vh;
        margin-bottom: 25px;
        border-radius: var(--border-radius-lg);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .ox-post-media-container {
        flex: none;
        height: 60vh;
        aspect-ratio: 9/16;
        width: calc(100% + 20px);
        margin-left: -10px; /* Offset the 10px padding of ox-timeline-feed */
    }

    .ox-twitter-style {
        height: auto !important;
        margin-bottom: 20px;
    }

    .ox-facebook-post .ox-text-post-bg {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px;
    }

    .ox-facebook-post .ox-text-centered .ox-post-text {
        font-size: 1.1rem;
        line-height: 1.4;
        max-width: 100%;
        word-break: break-word;
    }

    .ox-tiktok-sidebar {
        bottom: 80px; /* Lifted up for mobile bottom bars if any */
        right: 12px;
        gap: 18px;
        z-index: 1100 !important;
    }

    .ox-tiktok-info {
        padding-right: 70px;
        padding-bottom: 15px;
        padding-left: 15px;
    }

    .ox-post-actions-icons {
        padding: 12px 10px;
        gap: 10px;
        justify-content: space-between;
    }

    .ox-post-actions-icons button {
        padding: 6px 8px;
        font-size: 0.9rem;
        gap: 4px;
    }
}

@media (min-width: 768px) {
    .ox-tiktok-sidebar {
        right: 15px;
        bottom: 20px;
        gap: 15px;
        z-index: 100;
    }

    .ox-tiktok-action i {
        font-size: 22px;
    }

    .ox-post-actions-icons {
        justify-content: space-around;
        padding: 10px 0;
    }

    .ox-tiktok-action.active i,
    .ox-post-actions-icons button.liked i {
        color: var(--error-color) !important;
        font-weight: 900;
    }
}

.ox-quote-preview-container {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 15px;
    margin-top: 15px;
}

.ox-quote-preview-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.ox-remove-quote {
    background: transparent;
    border: none;
    color: var(--error-color);
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 10px;
    transition: all var(--transition-speed);
}

.ox-remove-quote:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.ox-quoted-post-preview .ox-quoted-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.ox-quoted-post-preview .ox-quoted-content {
    font-size: 0.9rem;
}

.ox-btn-logout {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--error-color);
    background: transparent;
    color: var(--error-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.ox-btn-logout:hover {
    background: var(--error-color);
    color: #fff;
    transform: scale(1.05);
}

.ox-error-msg {
    background: rgba(237, 73, 86, 0.15);
    border-left: 3px solid #ed4956;
    padding: 12px 16px;
    border-radius: 12px;
    color: #ff6b7a;
    font-size: 0.85rem;
}

.ox-success-msg {
    background: rgba(0, 242, 255, 0.1);
    border-left: 3px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--primary-light);
    font-size: 0.85rem;
}

.ox-status-msg.success {
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary-light);
    border: 1px solid var(--primary-color);
}

.ox-status-msg.error {
    background: rgba(237, 73, 86, 0.1);
    color: #ff6b7a;
    border: 1px solid var(--error-color);
}

.ox-toast-v2 {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 9999;
    min-width: 320px;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.ox-toast-v2.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.ox-toast-v2 .ox-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.ox-toast-v2.error { border-left: 4px solid var(--error-color); }
.ox-toast-v2.error i { color: var(--error-color); }
.ox-toast-v2.success { border-left: 4px solid var(--primary-color); }
.ox-toast-v2.success i { color: var(--primary-color); }

.download-settings {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 5px 10px;
    border-radius: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    font-size: 0.85rem;
}

.badge-blue {
    color: var(--primary-color);
}

.badge-gold {
    color: #ffcc00;
}

.badge-gray {
    color: #aebac1;
}

.badge-lightblue {
    color: #7ec8ff;
}

.ox-icon-badge-wrapper {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.ox-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--error-color);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 5;
    padding: 0 2px;
}

/* Audio Player V2 Redesign */
.ox-audio-player-v2 {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0a0a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.ox-audio-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

.ox-audio-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.ox-audio-visualizer span {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: soundWave 1.2s infinite ease-in-out;
    animation-play-state: paused;
}

.ox-audio-player-v2.playing .ox-audio-visualizer span {
    animation-play-state: running;
}

.ox-audio-player-v2:not(.playing) .ox-audio-visualizer span {
    animation-play-state: paused;
}

@keyframes soundWave {
    0%, 100% { height: 10px; }
    50% { height: 60px; }
}

.ox-audio-visualizer span:nth-child(1) { animation-delay: 0.1s; }
.ox-audio-visualizer span:nth-child(2) { animation-delay: 0.3s; }
.ox-audio-visualizer span:nth-child(3) { animation-delay: 0.5s; }
.ox-audio-visualizer span:nth-child(4) { animation-delay: 0.2s; }
.ox-audio-visualizer span:nth-child(5) { animation-delay: 0.4s; }

.ox-audio-content {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.ox-audio-info {
    margin-bottom: 25px;
}

.ox-audio-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.ox-audio-subtitle {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.ox-audio-main-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.ox-audio-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s;
}

.ox-audio-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.ox-audio-btn.ox-play-pause {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 162, 255, 0.4);
}

.ox-audio-btn.ox-play-pause:hover {
    background: white;
    transform: scale(1.05);
}

.ox-audio-progress-container {
    margin-bottom: 20px;
}

.ox-audio-seekbar {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    outline: none;
    accent-color: var(--primary-color);
}

.ox-audio-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 8px;
}

.ox-audio-meta-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.ox-meta-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.1rem;
    cursor: pointer;
}

.ox-meta-btn.active {
    color: var(--primary-color);
}

.ox-audio-volume-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 120px;
}

.ox-audio-volume {
    width: 100%;
    height: 4px;
    accent-color: var(--primary-color);
}

.ox-audio-speed {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    outline: none;
}

.ox-audio-caption-v2 {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 12px;
    text-align: left;
    font-size: 0.9rem;
    color: #eee;
    line-height: 1.5;
	margin-bottom: 20px;
}

/* Locked Music Player - Fixed Layout */
.ox-custom-player.audio-player.locked-preview {
    background: linear-gradient(180deg, #0a0a1a 0%, #0d0d24 100%) !important;
    height: auto !important;
    min-height: 420px !important;
    border-radius: 20px;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 162, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.ox-custom-player.audio-player.locked-preview .ox-music-background,
.ox-custom-player.audio-player.locked-preview .ox-audio-bg-glow {
    display: none !important;
}

/* Main Vinyl Player Wrapper */
.ox-vinyl-player {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px 20px !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at center, rgba(0, 162, 255, 0.05) 0%, transparent 70%) !important;
    position: relative !important;
    overflow: visible !important;
    gap: 0 !important;
}

.ox-vinyl-container {
    position: relative !important;
    width: 180px !important;
    height: 180px !important;
    margin-bottom: 20px !important;
    margin-top: 30px !important;
    margin-right: 20px !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
}

/* Vinyl Record */
.ox-vinyl-record {
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 0 3px rgba(0, 162, 255, 0.2),
        0 0 20px rgba(0, 162, 255, 0.15) !important;
    position: relative !important;
    transition: transform 0.5s ease !important;
}

.ox-vinyl-record::before {
    content: '' !important;
    position: absolute !important;
    width: 80% !important;
    height: 80% !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.ox-vinyl-player.playing .ox-vinyl-record {
    animation: rotateVinyl 3s linear infinite !important;
}

@keyframes rotateVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Center Label */
.ox-vinyl-label {
    width: 65px !important;
    height: 65px !important;
    background: linear-gradient(135deg, #00a2ff, #0066cc) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    border: 3px solid #111 !important;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 0 15px rgba(0, 162, 255, 0.3) !important;
    z-index: 2 !important;
}

/* Needle / Tonearm - More Visible */
.ox-vinyl-needle {
    position: absolute !important;
    top: 150px !important;
    right: 15px !important;
    width: 100px !important;
    height: 8px !important;
    background: linear-gradient(90deg, #999 0%, #ddd 40%, #fff 50%, #bbb 100%) !important;
    border-radius: 4px !important;
    transform-origin: 90% 50% !important;
    transform: rotate(30deg) !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10 !important;
    box-shadow: 
        0 3px 10px rgba(0,0,0,0.4),
        0 1px 3px rgba(0,0,0,0.3) !important;
}

/* Needle tip (small circle at the end) */
.ox-vinyl-needle::after {
    content: '' !important;
    position: absolute !important;
    left: -8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 12px !important;
    height: 12px !important;
    background: #fff !important;
    border-radius: 50% !important;
    border: 2px solid #888 !important;
    box-shadow: 0 0 8px rgba(0, 162, 255, 0.5) !important;
}

/* Needle base (pivot point) */
.ox-vinyl-needle::before {
    content: '' !important;
    position: absolute !important;
    right: -6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 14px !important;
    height: 14px !important;
    background: #555 !important;
    border-radius: 50% !important;
    border: 2px solid #333 !important;
    box-shadow: 0 0 6px rgba(0,0,0,0.5) !important;
}

.ox-vinyl-player.playing .ox-vinyl-needle {
    transform: rotate(55deg) !important;
}

/* Track Info Section */
.ox-vinyl-info {
    text-align: center !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.ox-vinyl-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 4px 0 !important;
    text-shadow: 0 0 15px rgba(0, 162, 255, 0.3) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.ox-vinyl-artist {
    font-size: 0.8rem !important;
    color: rgba(0, 162, 255, 0.8) !important;
    font-weight: 600 !important;
    margin: 0 0 0 0 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Action Buttons */
.ox-vinyl-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 10 !important;
    align-items: center !important;
}

.ox-btn-vinyl-play {
    background: #fff !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(255,255,255,0.15) !important;
    width: 100% !important;
}

.ox-btn-vinyl-play:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255,255,255,0.25) !important;
}

.ox-btn-vinyl-unlock {
    background: rgba(0, 162, 255, 0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(0, 162, 255, 0.3) !important;
    padding: 6px 12px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    width: auto !important;
}

.ox-btn-vinyl-unlock:hover {
    background: rgba(0, 162, 255, 0.2) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 162, 255, 0.25) !important;
}

/* Preview Badge */
.ox-audio-preview-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
 	background: white !important;
    color: black !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 3px 10px rgba(255, 45, 85, 0.3) !important;
    z-index: 20 !important;
    text-transform: uppercase !important;
}

/* Ensure audio element doesn't break layout */
.ox-vinyl-player audio {
    display: none !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .ox-vinyl-container {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 15px !important;
    }
    
    .ox-vinyl-label {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.3rem !important;
    }
    
    .ox-vinyl-title {
        font-size: 1rem !important;
    }
    
    .ox-vinyl-actions {
        max-width: 230px !important;
    }
    
    .ox-btn-vinyl-play,
    .ox-btn-vinyl-unlock {
        padding: 10px 16px !important;
        font-size: 0.8rem !important;
    }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(12deg); }
    20% { transform: rotate(-12deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-8deg); }
    50% { transform: rotate(0deg); }
}

@keyframes messageJump {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-6px) scale(1.12); }
    50% { transform: translateY(0) scale(1); }
    75% { transform: translateY(-3px) scale(1.05); }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(237, 73, 86, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 12px rgba(237, 73, 86, 0.8);
    }
}

/* Notification icon shake - direct child or descendant i element */
a.icon-animating[href*="/notifications"] i {
    animation: shake 1s infinite ease-in-out !important;
    color: var(--primary-color) !important;
    display: inline-block !important;
}

/* Chat icon jump - direct child or descendant i element */
a.icon-animating[href*="/chat"] i {
    animation: messageJump 1s infinite ease-in-out !important;
    color: var(--primary-color) !important;
    display: inline-block !important;
}

/* Badge pulse animation */
.ox-notif-badge.animating,
.ox-chat-badge.animating {
    animation: badgePulse 1s infinite ease-in-out !important;
}

/* Dashboard / Power Page Mobile Fixes */
@media (max-width: 767px) {
    .tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 5px !important;
        padding-bottom: 5px !important;
        border-bottom: 1px solid var(--border) !important;
    }
    .tab {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 8px 15px !important;
        font-size: 0.8rem !important;
    }

    .stat-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 15px !important;
        padding-bottom: 10px !important;
        margin: 0 -15px 20px -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .stat-card {
        min-width: 200px !important;
        flex: 0 0 auto !important;
    }
}

/* Skeleton Loaders */
.ox-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ox-skeleton-post {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.ox-skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; }
.ox-skeleton-name { width: 120px; height: 14px; margin-bottom: 8px; }
.ox-skeleton-text { width: 100%; height: 12px; margin-bottom: 6px; }
.ox-skeleton-media { width: 100%; height: 300px; border-radius: 12px; margin-top: 15px; }

/* Mobile Header Logo Fix */
@media (max-width: 768px) {
    .ox-logo img {
        max-height: 30px !important;
    }
}


/* Chat Layout */
body.in-chat .ox-feed-container {
    max-width: 1000px; /* Adjust this value as needed */
}

.ox-chat-container {
    display: flex;
    height: calc(100vh - 70px);
    background: #0a0a1a;
    overflow: hidden;
}

.ox-chat-sidebar {
    width: 260px;
    border-right: 1px solid var(--border-color);
    background: #111b21;
    display: flex;
    flex-direction: column;
}

.ox-chat-sidebar-header {
    padding: 15px;
    background: #202c33;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ox-chat-list {
    flex: 1;
    overflow-y: auto;
}

.ox-convo-item {
    display: flex;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.ox-convo-item:hover, .ox-convo-item.active {
    background: #2a3942;
}

.ox-convo-item .ox-msg-bubble::before,
.ox-convo-item .ox-msg-bubble::after,
.ox-convo-item .ox-reply-quote,
.ox-convo-item .ox-chat-image-msg,
.ox-convo-item .ox-chat-voicenote,
.ox-convo-item .ox-chat-gift-msg,
.ox-convo-item .ox-msg-actions-trigger,
.ox-convo-item .ox-msg-meta {
    display: none !important;
}

.ox-convo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}

.ox-convo-info {
    flex: 1;
    overflow: hidden;
}

.ox-convo-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.ox-convo-name {
    font-weight: 600;
    color: #e9edef;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.ox-convo-time {
    font-size: 0.75rem;
    color: #8696a0;
}

.ox-convo-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ox-convo-preview {
    font-size: 0.85rem;
    color: #8696a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.ox-convo-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
}

.ox-chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0b141a;
    position: relative;
}

.ox-chat-welcome {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8696a0;
    text-align: center;
}

.ox-chat-welcome i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.2;
}

.ox-chat-active-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ox-chat-header {
    padding: 10px 15px;
    background: #202c33;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ox-chat-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #e9edef;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    padding: 0;
}

.ox-chat-back-btn:hover {
    background: rgba(0, 162, 255, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.ox-chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    cursor: pointer;
}

.ox-chat-user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.ox-chat-user-details h4 {
    margin: 0;
    color: #e9edef;
    font-size: 1rem;
}

.ox-chat-user-details span {
    font-size: 0.75rem;
    color: #8696a0;
}

.ox-chat-actions {
    display: flex;
    gap: 20px;
    color: #aebac1;
    position: relative;
}

.ox-chat-actions button {
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.ox-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #0b141a; /* Fallback */
}

.ox-msg-row {
    display: flex;
    width: 100%;
}

.ox-msg-row.sent { justify-content: flex-end; }
.ox-msg-row.received { justify-content: flex-start; }

.ox-msg-bubble {
    max-width: 65%;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
    user-select: text !important;
    -webkit-user-select: text !important;
}

.ox-msg-row.sent .ox-msg-bubble {
    background: var(--primary-color);
    color: #fff;
    border-top-right-radius: 0;
}

.ox-msg-row.received .ox-msg-bubble {
    background: #202c33;
    color: #e9edef;
    border-top-left-radius: 0;
}

.ox-msg-meta {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}

.ox-chat-input-area {
    padding: 12px 16px;
    background: #202c33;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ox-chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2a3942;
    border-radius: 24px;
    padding: 6px 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

#ox-chat-textarea {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 4px;
    color: #e9edef;
    resize: none;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    max-height: 120px;
    line-height: 1.4;
}

.ox-chat-tool-btn, .ox-chat-send-btn, .ox-chat-icon-btn {
    background: none;
    border: none;
    color: #8696a0;
    font-size: 1.1rem;
    cursor: pointer;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.ox-chat-icon-btn:hover {
    color: #fff;
}

.ox-chat-share-container {
    position: relative;
}

.ox-chat-share-menu {
    position: absolute;
    bottom: 50px;
    left: 0;
    background: #233138;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    padding: 10px;
    z-index: 100;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ox-chat-share-menu button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: none;
    border: none;
    color: #e9edef;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 8px;
    width: 100%;
    transition: background 0.2s;
}

.ox-chat-share-menu button:hover {
    background: rgba(255,255,255,0.05);
}

.emoji-picker-popup {
    position: absolute;
    bottom: 70px;
    left: 16px;
    width: 300px;
    background: #233138;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    z-index: 1000;
    overflow: hidden;
}

.emoji-picker-header {
    padding: 10px 15px;
    background: #202c33;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.emoji-picker-header span {
    font-size: 0.85rem;
    color: #8696a0;
}

.emoji-picker-header button {
    background: none;
    border: none;
    color: #8696a0;
    font-size: 1.2rem;
    cursor: pointer;
}

.emoji-list {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
    max-height: 200px;
    overflow-y: auto;
}

.emoji-list span {
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.emoji-list span:hover {
    background: rgba(255,255,255,0.1);
}

.gift-minimal-popup {
    max-width: 350px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.minimal-close {
    background: none;
    border: none;
    color: #8696a0;
    font-size: 1.5rem;
    cursor: pointer;
}

.ox-chat-tool-btn:hover {
    color: #e9edef;
    transform: scale(1.1);
}


.ox-chat-send-btn:hover {
    color: #4db8ff;
    transform: scale(1.15);
}


/* Premium Bubbles & Animations */
/* ═══════════════════════════════════════════
   LOVE BUBBLE - Heartbeat Morphing Border
   ═══════════════════════════════════════════ */
.ox-chat-messages .ox-msg-bubble.style-love {
    background: linear-gradient(135deg, #0d0015 0%, #1a0028 40%, #2d0040 100%) !important;
    border: 2px solid transparent !important;
    border-radius: 24px 8px 24px 8px !important;
    background-clip: padding-box !important;
    position: relative !important;
    overflow: visible !important;
    color: #fff !important;
    font-weight: 600 !important;
    animation: loveMorphShape 4s ease-in-out infinite !important;
    box-shadow: 
        0 0 30px rgba(255, 20, 80, 0.4),
        0 0 60px rgba(255, 20, 80, 0.2),
        inset 0 0 30px rgba(255, 20, 80, 0.1) !important;
}

/* Animated gradient border */
.ox-chat-messages .ox-msg-bubble.style-love::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, 
        #ff1493, #ff4757, #ff6b81, #ff1493, 
        #ff4757, #ff1493, #ff6b81, #ff4757
    ) !important;
    background-size: 400% 400% !important;
    border-radius: 28px 12px 28px 12px !important;
    z-index: -1;
    animation: loveBorderRainbow 3s linear infinite !important;
    filter: blur(2px);
}

/* Floating hearts container */
.ox-chat-messages .ox-msg-bubble.style-love::after {
    content: '💕💗💖💘💝';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 4px;
    animation: loveHeartsRain 2s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

.ox-msg-bubble.style-love .ox-msg-text {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(255, 20, 80, 0.6) !important;
    animation: loveTextGlow 1.5s ease-in-out infinite !important;
}

@keyframes loveMorphShape {
    0%, 100% { 
        border-radius: 24px 8px 24px 8px;
        box-shadow: 0 0 30px rgba(255, 20, 80, 0.4), 0 0 60px rgba(255, 20, 80, 0.2);
    }
    25% { 
        border-radius: 16px 24px 16px 24px;
        box-shadow: 0 0 45px rgba(255, 20, 80, 0.6), 0 0 80px rgba(255, 20, 80, 0.3);
    }
    50% { 
        border-radius: 8px 24px 8px 24px;
        box-shadow: 0 0 35px rgba(255, 20, 80, 0.5), 0 0 70px rgba(255, 20, 80, 0.25);
    }
    75% { 
        border-radius: 20px 12px 20px 12px;
        box-shadow: 0 0 40px rgba(255, 20, 80, 0.55), 0 0 75px rgba(255, 20, 80, 0.28);
    }
}

@keyframes loveBorderRainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes loveHeartsRain {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
    50% { transform: translateX(-50%) translateY(-12px); opacity: 1; }
}

@keyframes loveTextGlow {
    0%, 100% { text-shadow: 0 0 15px rgba(255, 20, 80, 0.6); }
    50% { text-shadow: 0 0 30px rgba(255, 20, 80, 1), 0 0 60px rgba(255, 105, 180, 0.6); }
}

.ox-chat-messages .ox-msg-bubble.style-business {
    background: #1c2e4a !important;
    border-radius: 0 !important;
    border-left: 4px solid #00a2ff;
    animation: subtle-slide 5s infinite;
}

.ox-chat-messages .ox-msg-bubble.style-vip {
    background: linear-gradient(45deg, #d4af37, #f9e29c) !important;
    color: #000 !important;
    border: 1px solid #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    animation: shimmer 3s infinite;
}

/* ═══════════════════════════════════════════
   CYBERPUNK BUBBLE - Neon Cyan/Magenta with Visible Bolt
   ═══════════════════════════════════════════ */
.ox-chat-messages .ox-msg-bubble.style-cyberpunk {
    background: linear-gradient(160deg, #000a14 0%, #001020 50%, #000a14 100%) !important;
    border: 2px solid #00e5ff !important;
    border-radius: 2px 22px 2px 22px !important;
    position: relative !important;
    overflow: visible !important;
    color: #ffffff !important;
    font-family: 'Courier New', 'Consolas', monospace !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    padding-top: 10px !important;
    margin-top: 10px !important;
    box-shadow: 
        0 0 20px rgba(0, 229, 255, 0.5),
        0 0 40px rgba(0, 229, 255, 0.25),
        0 0 60px rgba(229, 0, 255, 0.15) !important;
    animation: cyberHexShape 4s ease-in-out infinite !important;
}

/* Running cyan/magenta border */
.ox-chat-messages .ox-msg-bubble.style-cyberpunk::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 4px 24px 4px 24px;
    padding: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 20%,
        #00e5ff 35%,
        #e500ff 50%,
        #00e5ff 65%,
        transparent 80%,
        transparent 100%
    ) !important;
    background-size: 200% 100% !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    animation: cyberBorderRun 1.5s linear infinite !important;
    pointer-events: none;
}

/* Lightning bolt icon - positioned OUTSIDE bubble so it's visible */
.ox-chat-messages .ox-msg-bubble.style-cyberpunk::after {
    content: '⚡';
    position: absolute;
    top: -28px;
    right: -8px;
    font-size: 1.8rem;
    z-index: 100;
    pointer-events: none;
    animation: cyberBoltZap 0.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #00e5ff) drop-shadow(0 0 25px #e500ff) drop-shadow(0 0 40px #00e5ff);
}

.ox-msg-bubble.style-cyberpunk .ox-msg-text {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6) !important;
}

@keyframes cyberHexShape {
    0%, 100% { 
        border-radius: 2px 22px 2px 22px;
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.5), 0 0 40px rgba(0, 229, 255, 0.25);
    }
    50% { 
        border-radius: 10px 14px 10px 14px;
        box-shadow: 0 0 35px rgba(229, 0, 255, 0.5), 0 0 60px rgba(0, 229, 255, 0.35);
    }
}

@keyframes cyberBorderRun {
    0% { background-position: 200% 0%; }
    100% { background-position: -200% 0%; }
}

@keyframes cyberBoltZap {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
    30% { transform: translateY(-16px) scale(1.4); opacity: 1; }
    60% { transform: translateY(-6px) scale(0.9); opacity: 0.85; }
}

/* ═══════════════════════════════════════════
   NATURE BUBBLE - Refined Organic Shape with Leaf Icon
   ═══════════════════════════════════════════ */
.ox-chat-messages .ox-msg-bubble.style-nature {
    background: linear-gradient(160deg, #0a1f0a 0%, #0e2d0e 40%, #183a18 100%) !important;
    border: 2px solid #3d8b3d !important;
    border-radius: 18px 6px 22px 8px !important;
    position: relative !important;
    overflow: visible !important;
    color: #d4f5d4 !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
    margin-top: 12px !important;
    box-shadow: 
        0 0 25px rgba(76, 175, 80, 0.35),
        0 0 50px rgba(76, 175, 80, 0.15),
        inset 0 0 30px rgba(76, 175, 80, 0.06) !important;
    animation: natureGentleSway 6s ease-in-out infinite !important;
}

/* Vine border running effect */
.ox-chat-messages .ox-msg-bubble.style-nature::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px 8px 24px 10px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        transparent 15%,
        #4caf50 30%,
        #81c784 45%,
        #4caf50 60%,
        transparent 75%
    ) !important;
    background-size: 200% 100% !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    animation: natureVineRun 3s ease-in-out infinite !important;
    pointer-events: none;
}

/* Leaf icon */
.ox-chat-messages .ox-msg-bubble.style-nature::after {
    content: '🌿';
    position: absolute;
    top: -22px;
    right: -8px;
    font-size: 1.5rem;
    z-index: 100;
    pointer-events: none;
    animation: natureLeafSpin 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)) drop-shadow(0 0 15px rgba(76, 175, 80, 0.9));
}

.ox-msg-bubble.style-nature .ox-msg-text {
    position: relative;
    z-index: 2;
    color: #c8f0c8 !important;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.3) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Images inside nature bubble */
.ox-msg-bubble.style-nature .ox-chat-image-msg {
    border-radius: 14px 4px 18px 6px !important;
    overflow: hidden !important;
}

.ox-msg-bubble.style-nature .ox-chat-image-msg img {
    border-radius: 14px 4px 18px 6px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

/* Voicenote inside nature bubble */
.ox-msg-bubble.style-nature .ox-chat-voicenote {
    border-radius: 12px 4px 16px 6px !important;
}

/* Gift message inside nature bubble */
.ox-msg-bubble.style-nature .ox-chat-gift-msg {
    border-radius: 12px 4px 16px 6px !important;
}

/* Reply quote inside nature bubble */
.ox-msg-bubble.style-nature .ox-reply-quote {
    border-radius: 10px 4px 14px 6px !important;
}

@keyframes natureGentleSway {
    0%, 100% { 
        border-radius: 18px 6px 22px 8px;
    }
    50% { 
        border-radius: 14px 10px 18px 12px;
    }
}

@keyframes natureVineRun {
    0% { background-position: 200% 0%; }
    100% { background-position: -200% 0%; }
}

@keyframes natureLeafSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(15deg) scale(1.2); }
    50% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(20deg) scale(1.25); }
}

/* ═══════════════════════════════════════════
   NIGHT BUBBLE - Visible Moon + Starry Sky
   ═══════════════════════════════════════════ */
.ox-chat-messages .ox-msg-bubble.style-night {
    background: radial-gradient(ellipse at 30% 20%, #1a2a4a 0%, #0d1525 40%, #060b14 100%) !important;
    border: 2px solid #5b8def !important;
    border-radius: 20px 8px 20px 8px !important;
    position: relative !important;
    overflow: hidden !important;
    color: #dce6f5 !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
    margin-top: 18px !important;
    box-shadow: 
        0 0 30px rgba(91, 141, 239, 0.4),
        0 0 60px rgba(91, 141, 239, 0.15),
        inset 0 0 40px rgba(91, 141, 239, 0.06) !important;
}

/* Twinkling stars inside bubble */
.ox-chat-messages .ox-msg-bubble.style-night::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 15% 25%, #ffffff, transparent),
        radial-gradient(1px 1px at 30% 45%, #aaccff, transparent),
        radial-gradient(3px 3px at 50% 15%, #ffffff, transparent),
        radial-gradient(1px 1px at 70% 60%, #ccddff, transparent),
        radial-gradient(2px 2px at 85% 35%, #ffffff, transparent),
        radial-gradient(1px 1px at 20% 75%, #aaccff, transparent),
        radial-gradient(2px 2px at 60% 80%, #ffffff, transparent),
        radial-gradient(1px 1px at 40% 55%, #bbccff, transparent),
        radial-gradient(3px 3px at 90% 70%, #ffffff, transparent),
        radial-gradient(1px 1px at 10% 90%, #aaccff, transparent),
        radial-gradient(2px 2px at 75% 10%, #ffffff, transparent),
        radial-gradient(1px 1px at 55% 40%, #ccddff, transparent),
        radial-gradient(2px 2px at 35% 85%, #ffffff, transparent);
    background-size: 200% 200%;
    z-index: 1;
    pointer-events: none;
    animation: nightStarsFade 3s ease-in-out infinite alternate;
}

/* Crescent moon - placed OUTSIDE the bubble using a wrapper trick */
/* Since overflow:hidden clips ::after, we use a massive top offset so the moon
   sits entirely above the visible bubble area in its own space */
.ox-chat-messages .ox-msg-bubble.style-night::after {
    content: '🌙';
    position: absolute;
    top: -30px;
    right: -6px;
    font-size: 1.8rem;
    z-index: 100;
    pointer-events: none;
    animation: nightMoonFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 12px #ffffff) drop-shadow(0 0 28px #aaccff) drop-shadow(0 0 50px #5b8def) drop-shadow(0 8px 10px rgba(0,0,0,0.8));
    /* Force the moon to render even with overflow:hidden on parent */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ox-msg-bubble.style-night .ox-msg-text {
    position: relative;
    z-index: 3;
    color: #e8f0ff !important;
    text-shadow: 0 0 10px rgba(150, 180, 255, 0.3) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Images inside night bubble */
.ox-msg-bubble.style-night .ox-chat-image-msg,
.ox-msg-bubble.style-night .ox-chat-image-msg img {
    border-radius: 14px 4px 14px 4px !important;
}

@keyframes nightStarsFade {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes nightMoonFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
    50% { transform: translateY(-14px) rotate(12deg); opacity: 1; }
}

/* Voice Note Player (Mobile/WhatsApp Style) */
/* Voicenote Player - WhatsApp Style Redesign */
.ox-chat-voicenote {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    width: 100%;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ox-chat-voicenote.playing {
    background: rgba(0, 162, 255, 0.06);
}

.ox-chat-voicenote .play-pause {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 162, 255, 0.15);
    border: 1.5px solid rgba(0, 162, 255, 0.3);
    color: var(--primary-color);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ox-chat-voicenote .play-pause:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 162, 255, 0.3);
}

.ox-chat-voicenote.playing .play-pause {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    animation: vnPulseGlow 2s infinite ease-in-out;
}

@keyframes vnPulseGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(0, 162, 255, 0); }
    50% { box-shadow: 0 0 18px rgba(0, 162, 255, 0.4); }
}

.ox-vn-progress {
    flex: 1;
    min-width: 0;
}

.ox-vn-seekbar-container {
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    position: relative;
    margin-bottom: 6px;
    cursor: pointer;
    overflow: visible;
}

.ox-vn-seekbar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #4db8ff);
    border-radius: 3px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.ox-vn-seekbar-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.ox-vn-seekbar-container:hover .ox-vn-seekbar-fill::after {
    opacity: 1;
}

.ox-chat-voicenote .ox-player-seekbar {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 17px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.ox-vn-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ox-player-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.ox-vn-duration {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    font-variant-numeric: tabular-nums;
}

/* Voicenote wave animation */
.ox-chat-voicenote.playing .ox-vn-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 4px;
}

.ox-vn-wave span {
    width: 2px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 1px;
    animation: vnWave 0.8s infinite ease-in-out;
}

.ox-vn-wave span:nth-child(1) { animation-delay: 0s; }
.ox-vn-wave span:nth-child(2) { animation-delay: 0.15s; }
.ox-vn-wave span:nth-child(3) { animation-delay: 0.3s; }
.ox-vn-wave span:nth-child(4) { animation-delay: 0.15s; }
.ox-vn-wave span:nth-child(5) { animation-delay: 0s; }

@keyframes vnWave {
    0%, 100% { height: 5px; }
    50% { height: 16px; }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(12deg); }
    20% { transform: rotate(-12deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-8deg); }
    50% { transform: rotate(0deg); }
}

@keyframes messageJump {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-6px) scale(1.12); }
    50% { transform: translateY(0) scale(1); }
    75% { transform: translateY(-3px) scale(1.05); }
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(237, 73, 86, 0.4);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 0 0 12px rgba(237, 73, 86, 0.8);
    }
}

/* Notification icon shake - direct child or descendant i element */
a.icon-animating[href*="/notifications"] i {
    animation: shake 1s infinite ease-in-out !important;
    color: var(--primary-color) !important;
    display: inline-block !important;
}

/* Chat icon jump - direct child or descendant i element */
a.icon-animating[href*="/chat"] i {
    animation: messageJump 1s infinite ease-in-out !important;
    color: var(--primary-color) !important;
    display: inline-block !important;
}

/* Badge pulse animation */
.ox-notif-badge.animating,
.ox-chat-badge.animating {
    animation: badgePulse 1s infinite ease-in-out !important;
}

/* Stop animations when on the actual page */
body.in-notifications-page a[href*="/notifications"] i,
body.in-chat-page a[href*="/chat"] i,
.ox-mobile-nav-item.active i {
    animation: none !important;
    color: var(--primary-color) !important;
}

body.in-notifications-page .ox-notif-badge,
body.in-chat-page .ox-chat-badge,
.ox-mobile-nav-item.active .ox-badge {
    animation: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .ox-chat-sidebar {
        width: 100%;
        position: absolute;
        z-index: 10;
        height: 100%;
        left: 0;
        transition: transform 0.3s;
    }
    .ox-chat-sidebar.active { transform: translateX(0); }
    .ox-chat-sidebar:not(.active) { transform: translateX(-100%); }

    .ox-chat-panel {
        width: 100%;
    }
}

.ox-msg-bubble.style-default {
    /* Standard WhatsApp colors already defined in .ox-msg-row.sent/received */
}

/* More Chat Styles */
.ox-chat-system-msg {
    text-align: center;
    margin: 15px 0;
}
.ox-chat-system-msg span {
    background: #182229;
    color: #8696a0;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.ox-chat-date-separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.ox-chat-date-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.ox-chat-date-separator span {
    background: #111b21;
    color: #8696a0;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ox-chat-image-msg {
    margin-bottom: 8px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    max-width: 300px;
}

.ox-chat-image-msg img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    cursor: pointer;
    display: block;
}

.ox-msg-save-btn {
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-top: 5px;
    cursor: pointer;
}

.ox-chat-gift-msg {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 215, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.ox-chat-gift-msg .gift-icon {
    font-size: 1.5rem;
    color: #ffd700;
}

.ox-chat-gift-msg .gift-amount {
    display: block;
    font-weight: 800;
    color: #ffd700;
}

.ox-chat-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #233138;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 100;
    display: none;
    min-width: 150px;
}

.ox-chat-menu button {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    font-size: 0.9rem;
    background: none;
    border: none;
    color: #e9edef;
    cursor: pointer;
}

.ox-chat-menu button.delete-btn {
    font-size: 0.9rem;
    color: var(--error-color);
}

.ox-chat-menu button:hover { background: rgba(255,255,255,0.05); }

.theme-tab-content { padding: 20px 0; }
/* Bubble Presets Grid - Redesigned */
.bubble-presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 20px 20px;
}

.bubble-preset-item {
    text-align: center;
    cursor: pointer;
    padding: 12px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.bubble-preset-item:hover {
    background: rgba(0, 162, 255, 0.08);
    border-color: rgba(0, 162, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.bubble-preset-item:active {
    transform: scale(0.97);
}

.bubble-preview {
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.bubble-preset-item:hover .bubble-preview {
    transform: scale(1.05);
}

.bubble-preset-item span {
    font-size: 0.78rem;
    color: #8696a0;
    font-weight: 500;
    display: block;
    line-height: 1.3;
}

.bubble-preset-item:hover span {
    color: #e9edef;
}

/* Bubble Preview Style-specific coloring */
.bubble-preview.style-love { background: linear-gradient(135deg, #ff4b2b, #ff416c); color: #fff; position: relative; overflow: hidden; }
.bubble-preview.style-business { background: #1c2e4a; color: #4db8ff; border-left: 3px solid #00a2ff; position: relative; overflow: hidden; }
.bubble-preview.style-vip { background: linear-gradient(135deg, #d4af37, #f9e29c); color: #1a1a1a; position: relative; overflow: hidden; }
.bubble-preview.style-cyberpunk { background: #000; color: #0ff; border: 1px solid #0ff; box-shadow: 0 0 8px rgba(0, 255, 255, 0.4); position: relative; overflow: hidden; }
.bubble-preview.style-nature { background: linear-gradient(135deg, #2d5a27, #4e9244); color: #fff; position: relative; overflow: hidden; }
.bubble-preview.style-night { background: #0a0e14; color: #34b7f1; border: 1px solid #34b7f1; position: relative; overflow: hidden; }

.bubble-preview::after { content: none !important; }
.bubble-preview.style-default { background: #202c33; color: #aebac1; }

/* Additional Chat Polishing */
.ox-convo-info { display: flex; flex-direction: column; justify-content: center; }
.ox-convo-top { margin-bottom: 2px; }

.ox-chat-active-content {
    background-color: #0b141a;
    position: relative;
}

.ox-chat-messages {
    background-image: none; /* Can be overridden by inline wallpaper style */
    background-attachment: local;
}

/* Custom Voice Note Seekbar Styling */
.ox-vn-seekbar-container:hover .ox-vn-seekbar-thumb {
    transform: translate(-50%, -50%) scale(1.2);
}

.ox-msg-bubble img {
    border-radius: 8px;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

/* Fix for prefill-user from query string */
.ox-chat-empty {
    padding: 40px;
    text-align: center;
    color: var(--text-dim);
}

.ox-msg-actions-trigger {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.ox-msg-bubble:hover .ox-msg-actions-trigger {
    opacity: 1;
}

.ox-msg-menu {
    position: absolute;
    top: 25px;
    right: 0;
    background: #233138;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 100;
    display: none;
    min-width: 110px;
    overflow: hidden;
}

.ox-msg-menu button {
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    font-size: 0.9rem;
    background: none;
    border: none;
    color: #e9edef;
    cursor: pointer;
}

.ox-msg-menu button:hover {
    background: rgba(255,255,255,0.05);
}

.wallpaper-preview-box {
    width: 100%;
    height: 150px;
    background: #111;
    border-radius: 10px;
    margin: 15px 0;
    border: 2px dashed var(--border-color);
}

.theme-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.theme-tab-btn {
    flex: 1;
    padding: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-dim);
    border-radius: 8px;
    cursor: pointer;
}

.theme-tab-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gift-input-wrapper {
    position: relative;
    margin: 20px 0;
}

.gift-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
}

.gift-input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
}

.gift-fee-info {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* WhatsApp-Style Chat UI */
.ox-chat-container {
    display: flex;
    height: calc(100vh - 70px);
    background: #0a0a1a;
    overflow: hidden;
}

.ox-chat-sidebar {
    width: 350px;
    border-right: 1px solid var(--border-color);
    background: #111b21;
    display: flex;
    flex-direction: column;
}

.ox-chat-sidebar-header {
    padding: 15px;
    background: #202c33;
    border-bottom: 1px solid var(--border-color);
}

.ox-chat-list {
    flex: 1;
    overflow-y: auto;
}

.ox-convo-item {
    display: flex;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ox-convo-item:hover, .ox-convo-item.active {
    background: #2a3942;
}

.ox-convo-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 15px;
}

.ox-convo-info {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ox-convo-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.ox-convo-name {
    font-weight: 600;
    color: #e9edef;
}

.ox-convo-time {
    font-size: 0.75rem;
    color: #8696a0;
}

.ox-convo-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ox-convo-preview {
    font-size: 0.85rem;
    color: #8696a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ox-convo-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
}

.ox-chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0b141a;
    position: relative;
}

.ox-chat-welcome {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8696a0;
}

.ox-chat-welcome i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.2;
}

.ox-chat-header {
    padding: 10px 15px;
    background: #202c33;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ox-chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    cursor: pointer;
}

.ox-chat-user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.ox-chat-user-details h4 {
    margin-bottom: -5px;
    color: #e9edef;
    font-size: 1rem;
}

.ox-chat-user-details span {
    font-size: 0.75rem;
    color: #8696a0;
}

.ox-chat-actions {
    display: flex;
    gap: 20px;
    color: #aebac1;
    position: relative;
}

.ox-chat-actions button {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}

.ox-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 5%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-attachment: local;
    background-size: cover;
    background-position: center;
}

.ox-msg-row {
    display: flex;
    width: 100%;
}

.ox-msg-row.sent { justify-content: flex-end; }
.ox-msg-row.received { justify-content: flex-start; }

.ox-msg-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}

.ox-msg-row.sent .ox-msg-bubble {
    background: #005c4b;
    color: #e9edef;
    border-top-right-radius: 0;
}

.ox-msg-row.received .ox-msg-bubble {
    background: #202c33;
    color: #e9edef;
    border-top-left-radius: 0;
}

.ox-msg-meta {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}

.ox-chat-input-area {
    padding: 10px 15px;
    background: #202c33;
}

.ox-chat-preview-area {
    margin-bottom: 10px;
}

.whatsapp-preview {
    position: relative;
    display: flex;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    padding: 15px;
    border-radius: 12px;
}

.whatsapp-preview img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.whatsapp-preview .cancel-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ox-chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.ox-chat-textarea {
    flex: 1;
    background: #2a3942;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    color: #fff;
    resize: none;
    outline: none;
}

.ox-chat-tool-btn, .ox-chat-send-btn {
    background: none;
    border: none;
    color: #8696a0;
    font-size: 1.4rem;
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ox-chat-send-btn { color: #00a2ff; }

/* Chat Personalization Modal - Redesigned */
.ox-premium-modal {
    background: linear-gradient(180deg, #111b21 0%, #0d151c 100%) !important;
    border: 1px solid rgba(0, 162, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 0 !important;
    max-width: 480px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 162, 255, 0.08) !important;
    overflow: hidden;
}

@media (max-width: 767px) {
    .ox-premium-modal {
        width: 90% !important;
        margin: auto !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
}

.ox-premium-modal .ox-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 162, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 162, 255, 0.03);
}

.ox-premium-modal .ox-modal-header h3 {
    margin: 0;
    color: #e9edef;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ox-premium-modal .ox-modal-header h3::before {
    content: '\f53f';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.ox-premium-modal .ox-close {
    color: #8696a0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ox-premium-modal .ox-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Theme Tabs Redesign */
.theme-tabs {
    display: flex;
    gap: 0;
    padding: 6px;
    margin: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.theme-tab-btn {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: #8696a0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
}

.theme-tab-btn:hover {
    color: #c0c0c0;
}

.theme-tab-btn.active {
    background: rgba(0, 162, 255, 0.15);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-setting-row {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.theme-setting-row p {
    margin: 0;
    font-size: 0.88rem;
    color: #8696a0;
    line-height: 1.5;
    flex: 1;
}

.price-tag {
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.15), rgba(0, 162, 255, 0.06));
    color: #4db8ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    border: 1px solid rgba(0, 162, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-tag i {
    color: #ffd700;
    font-size: 0.75rem;
}

/* File Upload Redesign */
.ox-file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 36px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin: 0 20px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ox-file-upload-label:hover {
    background: rgba(0, 162, 255, 0.05);
    border-color: rgba(0, 162, 255, 0.35);
    box-shadow: 0 0 20px rgba(0, 162, 255, 0.08);
}

.ox-file-upload-label i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.ox-file-upload-label:hover i {
    transform: translateY(-4px);
}

.ox-file-upload-label span {
    font-size: 0.9rem;
    color: #aebac1;
    font-weight: 500;
}

/* Wallpaper Preview Box */
.wallpaper-preview-box {
    width: calc(100% - 40px);
    margin: 0 20px 16px;
    height: 160px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
}

.wallpaper-preview-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.02) 2px,
        rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
}

.preview-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8696a0;
    font-size: 0.85rem;
    gap: 8px;
}

.preview-placeholder::before {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 1.5rem;
    opacity: 0.4;
}

.full-width {
    width: calc(100% - 40px) !important;
    margin: 0 20px 20px !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--primary-color), #0077cc) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 162, 255, 0.3);
}

.full-width::after {
    content: '\f218';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
}

.gift-modal-body {
    padding: 20px;
}

/* Gift Modal - Redesigned */
.gift-modal-body {
    padding: 24px;
}

.gift-target {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gift-target .label {
    font-size: 0.8rem;
    color: #8696a0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gift-target .value {
    font-size: 1.1rem;
    color: #e9edef;
    font-weight: 700;
}

.gift-input-container {
    margin-bottom: 20px;
}

.gift-input-wrapper {
    position: relative;
}

.gift-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
}

.gift-input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    outline: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.gift-input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.gift-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 400;
}

/* Gift Summary Card */
.gift-summary {
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.06), rgba(0, 162, 255, 0.02));
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 162, 255, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #8696a0;
    margin-bottom: 12px;
    padding: 0 4px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row span i {
    color: #ffd700;
    font-size: 0.75rem;
    margin-right: 4px;
}

.summary-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    margin-bottom: 0;
    color: #e9edef;
    font-weight: 700;
    font-size: 1rem;
}

.summary-row.total span:last-child {
    color: #4db8ff;
    font-size: 1.1rem;
}

/* Gift fee info text */
.gift-fee-info {
    font-size: 0.82rem;
    color: #8696a0;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.gift-fee-info::before {
    content: '\f05a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4db8ff;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Reply System */
.ox-chat-reply-preview {
    background: #202c33;
    border-left: 4px solid #00a2ff;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ox-chat-reply-preview .reply-content {
    flex: 1;
    min-width: 0;
}

.reply-sender {
    color: #00a2ff;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.reply-text {
    color: #8696a0;
    font-size: 0.85rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reply-close {
    background: none;
    border: none;
    color: #8696a0;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
}

.ox-reply-quote {
    background: rgba(0,0,0,0.2);
    border-left: 4px solid #00a2ff;
    border-radius: 4px;
    padding: 5px 10px;
    margin-bottom: 8px;
    cursor: pointer;
}

.ox-msg-highlight {
    animation: highlight-fade 2s ease-out;
}

@keyframes highlight-fade {
    0% { background-color: rgba(0, 162, 255, 0.3); }
    100% { background-color: transparent; }
}

/* Premium Themes */
.ox-chat-messages .ox-msg-bubble.style-love {
    background: linear-gradient(135deg, #ff4b2b, #ff416c) !important;
    border: 2px solid #fff;
}
.ox-chat-messages .ox-msg-bubble.style-love:after {
    content: '❤️';
    position: absolute;
    top: -10px;
    right: -10px;
    animation: pulse 1.5s infinite;
}

/* ═══════════════════════════════════════════
   BUSINESS BUBBLE - Visible Briefcase + Running Border
   ═══════════════════════════════════════════ */
.ox-chat-messages .ox-msg-bubble.style-business {
    background: linear-gradient(160deg, #0a1628 0%, #122240 40%, #0d1b33 100%) !important;
    border: 2px solid #1a3f6e !important;
    border-radius: 12px 24px 12px 24px !important;
    position: relative !important;
    overflow: visible !important;
    color: #d0e0f5 !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    padding-top: 8px !important;
    box-shadow: 
        0 8px 30px rgba(0, 40, 80, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

/* Running border animation */
.ox-chat-messages .ox-msg-bubble.style-business::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px 26px 14px 26px;
    padding: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 30%,
        #00a2ff 50%,
        #4db8ff 55%,
        #00a2ff 60%,
        transparent 70%,
        transparent 100%
    ) !important;
    background-size: 200% 100% !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    animation: businessBorderRun 2.5s linear infinite !important;
    pointer-events: none;
}

/* Briefcase icon - LARGE and VISIBLE */
.ox-chat-messages .ox-msg-bubble.style-business::after {
    content: '💼';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 1.2rem;
    z-index: 100;
    pointer-events: none;
    animation: businessBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(0, 162, 255, 0.7));
}

.ox-msg-bubble.style-business .ox-msg-text {
    position: relative;
    z-index: 2;
    color: #e0ecfa !important;
}

@keyframes businessBorderRun {
    0% { background-position: 200% 0%; }
    100% { background-position: -200% 0%; }
}

@keyframes businessBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(-10px) rotate(-5deg); }
    40% { transform: translateY(0) rotate(3deg); }
    60% { transform: translateY(-7px) rotate(-3deg); }
    80% { transform: translateY(0) rotate(2deg); }
}

/* ═══════════════════════════════════════════
   VIP BUBBLE - Visible Crown + Readable Text + Running Gold Border
   ═══════════════════════════════════════════ */
.ox-chat-messages .ox-msg-bubble.style-vip {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1300 50%, #0d0d0d 100%) !important;
    border: 2px solid #b8860b !important;
    border-radius: 8px 24px 8px 24px !important;
    position: relative !important;
    overflow: visible !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding-top: 4px !important;
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 0.2) !important;
}

/* Running gold border */
.ox-chat-messages .ox-msg-bubble.style-vip::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px 26px 10px 26px;
    padding: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 25%,
        #ffd700 40%,
        #ffec8b 50%,
        #ffd700 60%,
        transparent 75%,
        transparent 100%
    ) !important;
    background-size: 200% 100% !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    animation: vipBorderRun 2s linear infinite !important;
    pointer-events: none;
}

/* Crown icon - LARGE and VISIBLE */
.ox-chat-messages .ox-msg-bubble.style-vip::after {
    content: '👑';
    position: absolute;
    top: -24px;
    right: -12px;
    font-size: 1.4rem;
    z-index: 100;
    pointer-events: none;
    animation: vipCrownFloat 2.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
}

.ox-msg-bubble.style-vip .ox-msg-text {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px !important;
}

@keyframes vipBorderRun {
    0% { background-position: 200% 0%; }
    100% { background-position: -200% 0%; }
}

@keyframes vipCrownFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-14px) rotate(-8deg) scale(1.1); }
    50% { transform: translateY(-5px) rotate(5deg) scale(1.05); }
    75% { transform: translateY(-16px) rotate(-3deg) scale(1.15); }
}

.ox-chat-messages .ox-msg-bubble.style-cyberpunk {
    background: #000 !important;
    color: #0ff !important;
    border: 1px solid #0ff;
    animation: neon-pulse 2s infinite alternate;
}

/* ═══════════════════════════════════════════
   NATURE BUBBLE - Wavy Leaf Shape with Visible Leaf Icon
   ═══════════════════════════════════════════ */
.ox-chat-messages .ox-msg-bubble.style-nature {
    background: linear-gradient(160deg, #0a1f0a 0%, #0e2d0e 40%, #183a18 100%) !important;
    border: 2px solid #3d8b3d !important;
    border-radius: 8px 28px 8px 28px !important;
    position: relative !important;
    overflow: visible !important;
    color: #d4f5d4 !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
    margin-top: 12px !important;
    box-shadow: 
        0 0 25px rgba(76, 175, 80, 0.35),
        0 0 50px rgba(76, 175, 80, 0.15),
        inset 0 0 30px rgba(76, 175, 80, 0.06) !important;
}

/* Vine border effect */
.ox-chat-messages .ox-msg-bubble.style-nature::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px 30px 10px 30px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        transparent 15%,
        #4caf50 30%,
        #81c784 45%,
        #4caf50 60%,
        transparent 75%
    ) !important;
    background-size: 200% 100% !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    animation: natureVineRun 3s ease-in-out infinite !important;
    pointer-events: none;
}

/* Leaf icon - SAME PATTERN as Love/Business/VIP that work */
.ox-chat-messages .ox-msg-bubble.style-nature::after {
    content: '🌿';
    position: absolute;
    top: -16px;
    right: -6px;
    font-size: 1.1rem;
    z-index: 100;
    pointer-events: none;
    animation: natureLeafSpin 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)) drop-shadow(0 0 15px rgba(76, 175, 80, 0.9));
}

.ox-msg-bubble.style-nature .ox-msg-text {
    position: relative;
    z-index: 2;
    color: #c8f0c8 !important;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.3) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Images inside nature bubble */
.ox-msg-bubble.style-nature .ox-chat-image-msg {
    border-radius: 6px 22px 6px 22px !important;
    overflow: hidden !important;
}

.ox-msg-bubble.style-nature .ox-chat-image-msg img {
    border-radius: 6px 22px 6px 22px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

/* Voicenote inside nature bubble */
.ox-msg-bubble.style-nature .ox-chat-voicenote {
    border-radius: 6px 20px 6px 20px !important;
}

/* Gift message inside nature bubble */
.ox-msg-bubble.style-nature .ox-chat-gift-msg {
    border-radius: 6px 20px 6px 20px !important;
}

/* Reply quote inside nature bubble */
.ox-msg-bubble.style-nature .ox-reply-quote {
    border-radius: 6px 18px 6px 18px !important;
}

@keyframes natureVineRun {
    0% { background-position: 200% 0%; }
    100% { background-position: -200% 0%; }
}

@keyframes natureLeafSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(15deg) scale(1.2); }
    50% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(20deg) scale(1.25); }
}

/* ═══════════════════════════════════════════
   NIGHT BUBBLE - Visible Moon Icon + Starry Background
   ═══════════════════════════════════════════ */
.ox-chat-messages .ox-msg-bubble.style-night {
    background: radial-gradient(ellipse at 30% 20%, #1a2a4a 0%, #0d1525 40%, #060b14 100%) !important;
    border: 2px solid #5b8def !important;
    border-radius: 20px 8px 20px 8px !important;
    position: relative !important;
    overflow: visible !important;
    color: #dce6f5 !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
    margin-top: 12px !important;
    box-shadow: 
        0 0 30px rgba(91, 141, 239, 0.4),
        0 0 60px rgba(91, 141, 239, 0.15) !important;
}

/* Twinkling stars - use a separate inner container instead of ::before */
/* We put stars on ::before since ::after is for the moon icon */
.ox-chat-messages .ox-msg-bubble.style-night::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px 8px 20px 8px;
    background-image: 
        radial-gradient(2px 2px at 15% 25%, #ffffff, transparent),
        radial-gradient(1px 1px at 30% 45%, #aaccff, transparent),
        radial-gradient(3px 3px at 50% 15%, #ffffff, transparent),
        radial-gradient(1px 1px at 70% 60%, #ccddff, transparent),
        radial-gradient(2px 2px at 85% 35%, #ffffff, transparent),
        radial-gradient(1px 1px at 20% 75%, #aaccff, transparent),
        radial-gradient(2px 2px at 60% 80%, #ffffff, transparent),
        radial-gradient(1px 1px at 40% 55%, #bbccff, transparent),
        radial-gradient(3px 3px at 90% 70%, #ffffff, transparent),
        radial-gradient(1px 1px at 10% 90%, #aaccff, transparent),
        radial-gradient(2px 2px at 75% 10%, #ffffff, transparent),
        radial-gradient(1px 1px at 55% 40%, #ccddff, transparent),
        radial-gradient(2px 2px at 35% 85%, #ffffff, transparent);
    background-size: 200% 200%;
    z-index: 1;
    pointer-events: none;
    animation: nightStarsFade 3s ease-in-out infinite alternate;
    opacity: 0.7;
}

/* Moon icon - SAME PATTERN as Love/Business/VIP that work perfectly */
.ox-chat-messages .ox-msg-bubble.style-night::after {
    content: '🌙';
    position: absolute;
    top: -18px;
    right: -6px;
    font-size: 1.1rem;
    z-index: 100;
    pointer-events: none;
    animation: nightMoonFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)) drop-shadow(0 0 18px rgba(180, 200, 255, 0.9)) drop-shadow(0 0 35px rgba(91, 141, 239, 0.6));
}

.ox-msg-bubble.style-night .ox-msg-text {
    position: relative;
    z-index: 3;
    color: #e8f0ff !important;
    text-shadow: 0 0 10px rgba(150, 180, 255, 0.3) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Images inside night bubble */
.ox-msg-bubble.style-night .ox-chat-image-msg {
    border-radius: 14px 4px 14px 4px !important;
    overflow: hidden !important;
}

.ox-msg-bubble.style-night .ox-chat-image-msg img {
    border-radius: 14px 4px 14px 4px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

@keyframes nightStarsFade {
    0% { opacity: 0.4; }
    100% { opacity: 0.9; }
}

@keyframes nightMoonFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
    50% { transform: translateY(-10px) rotate(12deg); opacity: 1; }
}
.ox-vn-progress { flex: 1; }
.ox-vn-seekbar-container {
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    position: relative;
}
.ox-vn-seekbar-fill { height: 100%; background: var(--primary-color); width: 0%; }
.ox-vn-seekbar-thumb { width: 12px; height: 12px; background: #fff; border-radius: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); }
.ox-chat-voicenote .ox-player-seekbar { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* Message Actions */
.ox-msg-actions-trigger {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    opacity: 0;
}
.ox-msg-bubble:hover .ox-msg-actions-trigger { opacity: 1; }
.ox-msg-menu {
    position: absolute;
    top: 25px;
    right: 0;
    background: #233138;
    border-radius: 8px;
    z-index: 100;
    display: none;
    min-width: 150px;
}
.ox-msg-menu button { width: 100%; text-align: left; padding: 10px; background: none; border: none; color: #fff; cursor: pointer; }

@media (max-width: 767px) {
    .ox-chat-sidebar { width: 100%; position: absolute; z-index: 10000; height: 100%; transition: transform 0.3s; background: #111b21; }
    .ox-chat-sidebar:not(.active) { transform: translateX(-100%); visibility: hidden; }
    .ox-chat-sidebar.active { transform: translateX(0); visibility: visible; }

    .ox-chat-sidebar.active ~ .ox-chat-panel {
        display: none !important;
    }

    /* Immersive Chat on Mobile */
    body.in-chat.mobile-chat-screen #ox-main-header,
    body.in-chat.mobile-chat-screen #ox-main-nav,
    body.in-chat.mobile-chat-screen .ox-mcp-header,
    body.in-chat.mobile-chat-screen .ox-mcp-nav {
        display: none !important;
    }

    body.in-chat:not(.mobile-chat-screen) #ox-main-header,
    body.in-chat:not(.mobile-chat-screen) .ox-mcp-header {
        display: flex !important;
    }

    body.in-chat:not(.mobile-chat-screen) #ox-main-nav,
    body.in-chat:not(.mobile-chat-screen) .ox-mcp-nav {
        display: flex !important;
    }

    body.in-chat.mobile-chat-screen .ox-chat-container {
        height: 100vh;
        height: -webkit-fill-available;
        margin: 0;
        border: none;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2000;
    }

    body.in-chat.mobile-chat-screen .ox-mcp-content {
        padding: 0;
        height: 100vh;
        height: -webkit-fill-available;
    }

    body.in-chat.mobile-chat-screen #ox-page-content {
        height: 100vh;
        height: -webkit-fill-available;
        padding: 0;
    }

    body.in-chat .ox-chat-panel {
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body.in-chat .ox-chat-header {
        position: sticky;
        top: 0;
        z-index: 10;
        flex-shrink: 0;
    }

    body.in-chat .ox-chat-active-content {
        flex: 1;
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    body.in-chat .ox-chat-messages {
        flex: 1;
        overflow-y: auto;
    }

    body.in-chat .ox-chat-input-area {
        position: sticky;
        bottom: 0;
        z-index: 10;
        flex-shrink: 0;
        padding-bottom: env(safe-area-inset-bottom, 12px);
    }
}




/* Facebook Style Comment Input */
.ox-fb-comment-form {
    width: 100%;
}

.ox-fb-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.ox-fb-input-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--primary-color);
    flex-shrink: 0;
}

.ox-textarea-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0 8px 0 16px;
    transition: all 0.2s ease;
    min-height: 40px;
}

.ox-textarea-container:focus-within {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.ox-textarea-container textarea {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    color: var(--text-main);
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: 0.95rem;
    max-height: 120px;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.ox-fb-send-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 4px;
}

.ox-fb-send-btn:hover {
    transform: scale(1.1);
}

.ox-fb-send-btn:active {
    transform: scale(0.9);
}

.ox-fb-style-footer {
    padding-top: 15px !important;
    border-top: 1px solid var(--border-color) !important;
    margin-top: 15px !important;
}

@media (max-width: 767px) {
    .ox-comments-panel .ox-panel-footer {
        position: sticky;
        bottom: 0;
        background: var(--card-bg);
        z-index: 10;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0)) 12px;
    }

    .ox-fb-input-wrapper {
        gap: 8px;
    }

    .ox-fb-input-avatar {
        width: 36px;
        height: 36px;
    }

    .ox-textarea-container {
        min-height: 36px;
        padding: 0 4px 0 12px;
    }
}

mark.chat-search-match {
    background: #ffd700;
    color: #000;
    border-radius: 2px;
    padding: 0 2px;
}

/* PWA Floating Install Button */
.ox-pwa-floating-install {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 162, 255, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.ox-pwa-floating-install:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 162, 255, 0.5);
}

.ox-pwa-floating-install:active {
    transform: scale(0.95);
}

@media (min-width: 768px) {
    .ox-pwa-floating-install {
        bottom: 30px;
        right: 30px;
    }
}


/* ============================================
   FACEBOOK-STYLE FULLSCREEN MOBILE POST COMPOSER
   ============================================ */

/* Fullscreen Modal Overlay */
.ox-modal.ox-fullscreen-composer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: var(--bg-color) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: hidden !important;
}

.ox-modal.ox-fullscreen-composer .ox-modal-content.ox-custom-modal {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: var(--bg-color) !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.ox-modal.ox-fullscreen-composer .ox-close {
    display: none !important;
}

.ox-post-composer-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: var(--bg-color);
    position: relative;
}

/* ========== REDESIGNED HEADER WITH ANIMATIONS ========== */
.ox-post-composer-container .ox-modal-header.fb-style-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(15, 20, 35, 0.98), rgba(10, 15, 25, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 162, 255, 0.15);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    animation: headerGlow 3s ease-in-out infinite;
}

/* Animated gradient border bottom */
.ox-post-composer-container .ox-modal-header.fb-style-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        var(--primary-light), 
        var(--primary-color), 
        transparent
    );
    transform: scaleX(0);
    transform-origin: left;
    animation: borderSlide 2s ease-in-out infinite;
}

/* Cancel Button */
.ox-post-composer-container .ox-composer-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}

.ox-post-composer-container .ox-composer-cancel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ox-post-composer-container .ox-composer-cancel:hover::before {
    width: 300px;
    height: 300px;
}

.ox-post-composer-container .ox-composer-cancel:hover {
    color: var(--text-main);
    border-color: rgba(0, 162, 255, 0.4);
    transform: translateX(-2px);
    background: rgba(0, 162, 255, 0.05);
}

.ox-post-composer-container .ox-composer-cancel:active {
    transform: translateX(-2px) scale(0.97);
}

/* Title with Animation */
.ox-post-composer-container .ox-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--text-main), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    animation: titlePulse 2s ease-in-out infinite;
}

.ox-post-composer-container .ox-modal-title::before {
    content: '✨';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: 0;
    animation: starFloat 2s ease-in-out infinite;
}

.ox-post-composer-container .ox-modal-title::after {
    content: '✨';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: 0;
    animation: starFloat 2s ease-in-out infinite 0.5s;
}

/* Post Button */
.ox-post-composer-container .ox-composer-submit-top {
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    border: none;
    border-radius: 30px;
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 162, 255, 0.2);
}

.ox-post-composer-container .ox-composer-submit-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ox-post-composer-container .ox-composer-submit-top:hover::before {
    width: 300px;
    height: 300px;
}

.ox-post-composer-container .ox-composer-submit-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 162, 255, 0.4);
    background: linear-gradient(135deg, #1aadff, #0088dd);
}

.ox-post-composer-container .ox-composer-submit-top:active {
    transform: translateY(0px) scale(0.97);
}

.ox-post-composer-container .ox-composer-submit-top:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Keyframe Animations */
@keyframes headerGlow {
    0%, 100% {
        background: linear-gradient(135deg, rgba(15, 20, 35, 0.98), rgba(10, 15, 25, 0.98));
    }
    50% {
        background: linear-gradient(135deg, rgba(20, 25, 45, 0.98), rgba(15, 20, 35, 0.98));
    }
}

@keyframes borderSlide {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
        transform-origin: right;
    }
}

@keyframes titlePulse {
    0%, 100% {
        background: linear-gradient(135deg, var(--text-main), var(--primary-light));
        -webkit-background-clip: text;
        background-clip: text;
    }
    50% {
        background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
        -webkit-background-clip: text;
        background-clip: text;
    }
}

@keyframes starFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
}

/* Scrollable Body */
.ox-post-composer-container .ox-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 80px;
}

/* User Info Row */
.ox-post-composer-container .ox-composer-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ox-post-composer-container .ox-composer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.ox-post-composer-container .ox-composer-user-details {
    flex: 1;
}

.ox-post-composer-container .ox-composer-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.ox-post-composer-container .ox-composer-privacy {
    font-size: 0.7rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Textarea */
.ox-post-composer-container .ox-composer-textarea {
    width: 100%;
    min-height: 120px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: inherit;
    resize: none;
    outline: none;
    margin-bottom: 20px;
    line-height: 1.5;
}

.ox-post-composer-container .ox-composer-textarea::placeholder {
    color: var(--text-muted);
}

/* Media Preview Grid */
.ox-post-composer-container .ox-media-preview.ox-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ox-post-composer-container .ox-preview-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1f);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 162, 255, 0.2);
}

.ox-post-composer-container .ox-preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ox-post-composer-container .ox-preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.ox-post-composer-container .ox-preview-remove:hover {
    background: var(--error-color);
    transform: scale(1.1);
}

/* ========== REDESIGNED TOOLBAR WITH PRICE INPUT ========== */
.ox-post-composer-container .ox-composer-actions-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 35, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 162, 255, 0.2);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
    flex-shrink: 0;
    z-index: 20;
}

/* First row - Price Input (moved here) */
.ox-post-composer-container .price-input-row {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ox-post-composer-container .ox-price-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.1), rgba(0, 162, 255, 0.03));
    border: 1px solid rgba(0, 162, 255, 0.25);
    border-radius: 40px;
    padding: 4px 16px 4px 8px;
    transition: all 0.3s ease;
}

.ox-post-composer-container .ox-price-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.15), rgba(0, 162, 255, 0.05));
}

.ox-post-composer-container .ox-price-symbol {
    color: var(--primary-color);
    font-size: 1rem;
    background: rgba(0, 162, 255, 0.15);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ox-post-composer-container .ox-price-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    font-weight: 600;
}

.ox-post-composer-container .ox-price-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

/* Price hint text */
.ox-post-composer-container .price-hint {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-left: 42px;
    margin-top: 4px;
}

/* Second row - Media Icons Row */
.ox-post-composer-container .media-icons-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ox-post-composer-container .ox-composer-action-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.ox-post-composer-container .ox-composer-tool-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Individual Tool Icons - Creative Design */
.ox-post-composer-container .ox-tool-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    font-size: 1.1rem;
}

.ox-post-composer-container .ox-tool-icon:hover {
    transform: translateY(-3px) scale(1.05);
}

.ox-post-composer-container .ox-tool-icon:active {
    transform: scale(0.95);
}

/* Image Icon */
.ox-post-composer-container .ox-tool-icon.image {
    background: linear-gradient(135deg, rgba(69, 189, 98, 0.15), rgba(69, 189, 98, 0.05));
    border-color: rgba(69, 189, 98, 0.4);
    color: #45bd62;
}

.ox-post-composer-container .ox-tool-icon.image:hover {
    background: linear-gradient(135deg, rgba(69, 189, 98, 0.25), rgba(69, 189, 98, 0.1));
    border-color: #45bd62;
    box-shadow: 0 4px 15px rgba(69, 189, 98, 0.3);
}

/* Video Icon */
.ox-post-composer-container .ox-tool-icon.video {
    background: linear-gradient(135deg, rgba(243, 66, 95, 0.15), rgba(243, 66, 95, 0.05));
    border-color: rgba(243, 66, 95, 0.4);
    color: #f3425f;
}

.ox-post-composer-container .ox-tool-icon.video:hover {
    background: linear-gradient(135deg, rgba(243, 66, 95, 0.25), rgba(243, 66, 95, 0.1));
    border-color: #f3425f;
    box-shadow: 0 4px 15px rgba(243, 66, 95, 0.3);
}

/* Audio Icon */
.ox-post-composer-container .ox-tool-icon.audio {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15), rgba(24, 119, 242, 0.05));
    border-color: rgba(24, 119, 242, 0.4);
    color: #1877f2;
}

.ox-post-composer-container .ox-tool-icon.audio:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.25), rgba(24, 119, 242, 0.1));
    border-color: #1877f2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

/* Mention Icon */
.ox-post-composer-container .ox-tool-icon.mention {
    background: linear-gradient(135deg, rgba(247, 185, 40, 0.15), rgba(247, 185, 40, 0.05));
    border-color: rgba(247, 185, 40, 0.4);
    color: #f7b928;
}

.ox-post-composer-container .ox-tool-icon.mention:hover {
    background: linear-gradient(135deg, rgba(247, 185, 40, 0.25), rgba(247, 185, 40, 0.1));
    border-color: #f7b928;
    box-shadow: 0 4px 15px rgba(247, 185, 40, 0.3);
}

.ox-post-composer-container .ox-tool-icon input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Upload Progress Bar */
.ox-post-composer-container #mobile-upload-progress-wrapper {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
}

.ox-post-composer-container #mobile-upload-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Desktop Tools */
.ox-post-composer-container .desktop-only {
    display: none;
}

.ox-post-composer-container .ox-compose-tools {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.ox-post-composer-container .ox-tool-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.ox-post-composer-container .ox-tool-btn:hover {
    background: rgba(0, 162, 255, 0.1);
    transform: scale(1.05);
}

.ox-post-composer-container .ox-tool-btn input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.ox-post-composer-container .ox-btn-post {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.ox-post-composer-container .ox-btn-post:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ox-post-composer-container .ox-btn-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 162, 255, 0.4);
}

/* Animation */
@keyframes fbSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes oxPopIn {
    from { transform: scale(0.9) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.ox-modal.ox-fullscreen-composer {
    animation: fbSlideUp 0.3s ease-out !important;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .ox-modal.ox-fullscreen-composer {
        background: rgba(0, 0, 0, 0.8) !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .ox-modal.ox-fullscreen-composer .ox-modal-content.ox-custom-modal {
        position: relative !important;
        max-width: 600px !important;
        max-height: 90vh !important;
        width: 90% !important;
        height: auto !important;
        border-radius: 16px !important;
        margin: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        animation: none !important;
    }
    
    .ox-post-composer-container .ox-composer-actions-bar {
        position: relative;
        border-top: 1px solid var(--border-color);
        padding: 12px 20px;
    }
    
    .ox-post-composer-container .desktop-only {
        display: block;
    }
    
    .ox-post-composer-container .mobile-only {
        display: none !important;
    }
    
    .ox-post-composer-container .ox-modal-body {
        padding-bottom: 20px;
    }
}






/* ============================================
   SINGLE POST PAGE - COMMENTS SECTION REDESIGN
   ============================================ */
.ox-post-page-comments {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    padding-bottom: 100px;
}


/* Comments list area */
#ox-post-page-comments-list {
    min-height: 60px;
}

/* Loading spinner */
#ox-post-page-comments-list .ox-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: var(--primary-color);
}

#ox-post-page-comments-list .ox-spinner i {
    font-size: 1.3rem;
    animation: spin 0.8s linear infinite;
}

/* Empty state */
#ox-post-page-comments-list:empty::after,
#ox-post-page-comments-list > div[style*="No comments"] {
    text-align: center;
    padding: 40px 20px;
    color: #556677;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Comments inside the post page */
#ox-post-page-comments-list .ox-comment-item {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: postCommentSlideIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes postCommentSlideIn {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger the comment animations */
#ox-post-page-comments-list .ox-comment-item:nth-child(1) { animation-delay: 0.06s; }
#ox-post-page-comments-list .ox-comment-item:nth-child(2) { animation-delay: 0.12s; }
#ox-post-page-comments-list .ox-comment-item:nth-child(3) { animation-delay: 0.18s; }
#ox-post-page-comments-list .ox-comment-item:nth-child(4) { animation-delay: 0.24s; }
#ox-post-page-comments-list .ox-comment-item:nth-child(5) { animation-delay: 0.3s; }

#ox-post-page-comments-list .ox-comment-item:hover {
    background: rgba(0, 162, 255, 0.04);
    border-color: rgba(0, 162, 255, 0.18);
    transform: translateX(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Subtle left accent on hover */
#ox-post-page-comments-list .ox-comment-item::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 25%;
    height: 50%;
    width: 3px;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#ox-post-page-comments-list .ox-comment-item:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

/* Comment avatar in post page */
#ox-post-page-comments-list .ox-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 162, 255, 0.2);
    transition: all 0.3s ease;
}

#ox-post-page-comments-list .ox-comment-item:hover .ox-comment-avatar {
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(0, 162, 255, 0.2);
    transform: scale(1.05);
}

/* Comment text */
#ox-post-page-comments-list .ox-comment-text {
    font-size: 0.9rem;
    color: #bcc8dc;
    margin-left: 48px;
    line-height: 1.55;
    transition: color 0.3s ease;
}

#ox-post-page-comments-list .ox-comment-item:hover .ox-comment-text {
    color: #d4deee;
}

/* Comment actions */
#ox-post-page-comments-list .ox-comment-actions {
    margin-left: 48px;
    margin-top: 8px;
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: #667788;
}

#ox-post-page-comments-list .ox-comment-actions span {
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

#ox-post-page-comments-list .ox-comment-actions span:hover {
    color: var(--primary-color);
}

#ox-post-page-comments-list .ox-comment-actions span i {
    transition: transform 0.25s ease;
}

#ox-post-page-comments-list .ox-comment-actions span:hover i {
    transform: scale(1.2);
}

/* Replies in post page */
#ox-post-page-comments-list .ox-replies {
    margin-left: 36px;
    margin-top: 10px;
    border-left: 2px solid rgba(0, 162, 255, 0.12);
    padding-left: 14px;
}

#ox-post-page-comments-list .ox-replies .ox-comment-item {
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

#ox-post-page-comments-list .ox-replies .ox-comment-avatar {
    width: 28px;
    height: 28px;
}

#ox-post-page-comments-list .ox-replies .ox-comment-text {
    margin-left: 40px;
    font-size: 0.85rem;
}

/* Comments Title - Card Style */
.ox-post-page-comments h3 {
    margin-bottom: 28px !important;
    padding: 16px 20px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 162, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    position: relative;
    letter-spacing: 0.2px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-left: 0;
    margin-right: 0;
}

.ox-post-page-comments h3::before {
    content: '\f086';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: #ffffff;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 162, 255, 0.3);
    animation: commentIconGlow 2.5s ease-in-out infinite;
}

@keyframes commentIconGlow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(0, 162, 255, 0.3);
    }
    50% { 
        box-shadow: 0 4px 25px rgba(0, 162, 255, 0.5), 0 0 35px rgba(0, 162, 255, 0.15);
    }
}

.ox-post-page-comments h3::after {
    display: none;
}

.ox-post-page-comments h3:hover {
    border-color: rgba(0, 162, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 162, 255, 0.06));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .ox-post-page-comments h3 {
        padding: 14px 16px;
        font-size: 1.05rem;
        border-radius: 14px;
    }
    
    .ox-post-page-comments h3::before {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 0.9rem;
    }
}

/* ============================================
   COMMENT FORM ON POST PAGE
   ============================================ */
.ox-post-page-comment-form {
    margin-top: 24px !important;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ox-post-page-comment-form .ox-fb-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ox-post-page-comment-form .ox-fb-input-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 162, 255, 0.25);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.ox-post-page-comment-form .ox-textarea-container {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0 6px 0 14px;
    transition: all 0.35s ease;
    min-height: 42px;
}

.ox-post-page-comment-form .ox-textarea-container:focus-within {
    border-color: var(--primary-color);
    background: rgba(0, 162, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.08);
    animation: inputGlowPulse 2s ease-in-out infinite;
}

@keyframes inputGlowPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.08); }
    50% { box-shadow: 0 0 0 8px rgba(0, 162, 255, 0.04), 0 0 20px rgba(0, 162, 255, 0.06); }
}

.ox-post-page-comment-form .ox-textarea-container textarea {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    color: #e0e8f5;
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: 0.92rem;
    max-height: 100px;
    line-height: 1.45;
}

.ox-post-page-comment-form .ox-textarea-container textarea::placeholder {
    color: #556677;
}

.ox-post-page-comment-form .ox-fb-send-btn {
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 162, 255, 0.2);
}

.ox-post-page-comment-form .ox-fb-send-btn:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 18px rgba(0, 162, 255, 0.35);
    background: linear-gradient(135deg, #1aadff, #0088dd);
}

.ox-post-page-comment-form .ox-fb-send-btn:active {
    transform: scale(0.92);
}

.ox-post-page-comment-form .ox-fb-send-btn i {
    font-size: 0.9rem;
    margin-left: 1px;
}

/* ============================================
   SCROLL TO COMMENTS BUTTON
   ============================================ */
.ox-scroll-to-comments {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary-color), #0077cc);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 162, 255, 0.35);
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: scrollBtnFloat 3s ease-in-out infinite;
}

@keyframes scrollBtnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.ox-scroll-to-comments:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(0, 162, 255, 0.5);
    animation: none;
}

.ox-scroll-to-comments:active {
    transform: scale(0.93);
}

/* Responsive */
@media (max-width: 768px) {
    
    #ox-post-page-comments-list .ox-comment-item {
        padding: 12px 14px;
        border-radius: 14px;
    }
    
    #ox-post-page-comments-list .ox-comment-avatar {
        width: 30px;
        height: 30px;
    }
    
    #ox-post-page-comments-list .ox-comment-text {
        margin-left: 40px;
        font-size: 0.85rem;
    }
    
    #ox-post-page-comments-list .ox-comment-actions {
        margin-left: 40px;
        font-size: 0.73rem;
        gap: 12px;
    }
    
    .ox-post-page-comment-form .ox-textarea-container {
        min-height: 38px;
        border-radius: 20px;
    }
    
    .ox-post-page-comment-form .ox-fb-input-avatar {
        width: 32px;
        height: 32px;
    }
    
    .ox-post-page-comment-form .ox-fb-send-btn {
        width: 32px;
        height: 32px;
    }
    
    .ox-scroll-to-comments {
        bottom: 90px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

