/* Shared Top Bar for Microsites */
.nakhwal-top-bar {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    min-height: 40px;
    background: var(--topbar-bg, rgba(10, 10, 10, 0.85)); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--topbar-border, rgba(255, 255, 255, 0.1));
    color: var(--topbar-text, #a1a1aa); 
    z-index: 100000;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 1rem;
    font-size: 0.85rem; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 5px 15px;
    box-sizing: border-box;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
}

.nakhwal-top-bar a {
    color: var(--topbar-link, #ffffff); 
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    background: transparent;
    padding: 0;
    border: none;
}

.nakhwal-top-bar a:hover { 
    opacity: 0.7; 
}

.nakhwal-top-bar .desktop-text { 
    display: inline; 
}

.nakhwal-top-bar .mobile-text { 
    display: none; 
}

.nakhwal-topbar-spacer {
    height: 40px;
    flex: 0 0 40px;
}

.design-preview-embedded .nakhwal-top-bar,
.design-preview-embedded .nakhwal-topbar-spacer {
    display: none;
}

@media (max-width: 768px) {
    .nakhwal-top-bar { 
        font-size: 0.75rem; 
        gap: 0.5rem; 
        padding: 8px 12px;
    }
    .nakhwal-top-bar .desktop-text { 
        display: none; 
    }
    .nakhwal-top-bar .mobile-text { 
        display: inline; 
    }
}

/* Light Theme Overrides */
.nakhwal-top-bar.theme-light {
    --topbar-bg: rgba(255, 255, 255, 0.9);
    --topbar-text: #666666;
    --topbar-link: #111111;
    --topbar-border: rgba(0, 0, 0, 0.1);
}

