/*
Theme Name: Vibe Network
Theme URI: https://example.com/vibe-theme
Author: Vibe Creators
Author URI: https://example.com
Description: A premium modular dark theme designed organically for the Vibe Paid View Network ecosystem. Highly responsive, inherently Elementor-compatible, and globally unifies the App Dashboard Shell natively.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: vibe-theme
*/

:root {
    --vibe-bg: #0d0d0d;
    --vibe-panel: #111827;
    --vibe-accent-gold-light: #FFD700;
    --vibe-accent-gold-dark: #D4AF37;
    --vibe-gradient-gold: linear-gradient(135deg, var(--vibe-accent-gold-light) 0%, var(--vibe-accent-gold-dark) 100%);
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--vibe-bg);
    color: #f3f4f6;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Global App Shell Overrides */
/* Note: By default we do 100vh on the theme so the dashboard fills the browser natively */
.vca-app {
    display: flex;
    height: 100vh;
    width: 100%;
    background: var(--vibe-bg);
    color: #f3f4f6;
    overflow: hidden;
    position: relative;
}

/* Sidebar Navigation */
.vca-sidebar {
    width: 260px;
    background: #121212;
    border-right: 1px solid #1f1f1f;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 1000;
}

.vca-brand {
    padding: 24px 20px;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
    border-bottom: 1px solid #1f1f1f;
    color: #fff;
}

/* Native WP Nav Menu Integration */
.vca-nav {
    padding: 20px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.vca-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vca-nav-list li {
    margin: 0;
}
.vca-nav-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    color: #8c8c8c;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.vca-nav-list a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.vca-nav-list .current-menu-item > a {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* Menu icons: Use WordPress menu item CSS classes or dashicons-before if needed */
/* Removed forced hamburger icon from all menu links */

.vca-sidebar-footer {
    padding: 20px 10px;
    border-top: 1px solid #1f1f1f;
}

.vca-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a0aec0;
    margin-top: 15px;
    padding: 12px;
    background: #000;
    border-radius: 8px;
    border: 1px solid #222;
}

/* Main Content Area */
.vca-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--vibe-bg);
    overflow-y: auto;
}

.vca-topbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid #1f1f1f;
    background: var(--vibe-bg);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.vca-mobile-menu-btn {
    display: none;
    color: #fff;
    cursor: pointer;
    margin-right: 15px;
}

.vca-topbar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #fff;
    font-size: 1.05rem;
}

.vca-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vca-icon-btn {
    background: transparent;
    border: 1px solid #222;
    color: #a0aec0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.vca-icon-btn:hover { background: #222; color: #fff; }

.vca-content-area {
    padding: 40px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.vca-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Base Responsive Shell */
@media (max-width: 768px) {
    .vca-sidebar {
        position: fixed;
        height: 100%;
        left: -260px;
        transition: left 0.3s ease;
    }
    .vca-sidebar.open { left: 0; }
    .vca-sidebar.open + .vca-sidebar-overlay { display: block; opacity: 1; }
    .vca-mobile-menu-btn { display: block; }
    .vca-topbar { padding: 0 15px; }
    .vca-topbar-actions { display: none; } /* Hide logout on mobile — it's in the sidebar */
    .vca-content-area { padding: 20px; }
}

/* Default standard links and typograph for Elementor fallback */
a { color: var(--vibe-accent-gold-light); text-decoration: none; }
h1, h2, h3, h4, h5, h6 { color: #fff; margin-top:0; font-weight: 700;}
