/*
 * Chrome for the public /demo dashboard: the banner, the closing call to action, and
 * nothing else. This file is loaded by the dashboard too, so every selector here is
 * a .demo-* class that only demoBannerView ever puts on the page — no element of the
 * real dashboard can match one.
 */

.demo-banner {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.7rem 2rem;
    background: linear-gradient(135deg, rgba(130, 46, 245, 0.95), rgba(10, 122, 255, 0.95));
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.demo-banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.demo-banner-content i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.demo-banner-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.demo-banner-text span {
    font-size: 0.88rem;
    opacity: 0.92;
}

.demo-banner-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-banner-note {
    font-size: 0.78rem;
    opacity: 0.85;
    max-width: 260px;
    text-align: right;
}

.demo-connect-btn {
    background: #fff;
    color: #6d28d9;
    border: none;
    border-radius: 0.5rem;
    padding: 0.55rem 1.2rem;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.demo-connect-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.demo-cta {
    margin: 3rem auto 2rem;
    padding: 2.5rem 2rem;
    max-width: 900px;
    text-align: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.18), rgba(37, 99, 235, 0.18));
    border: 1px solid rgba(130, 46, 245, 0.45);
}

.demo-cta h2 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

.demo-cta p {
    margin: 0 auto 1.5rem;
    max-width: 620px;
    color: var(--text-primary);
    opacity: 0.85;
    line-height: 1.55;
}

.demo-connect-btn-large {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 900px) {
    .demo-banner {
        padding: 0.6rem 1rem;
    }

    .demo-banner-note {
        display: none;
    }
}

@media (max-width: 600px) {
    .demo-banner {
        justify-content: center;
        text-align: center;
    }

    .demo-banner-content {
        flex-direction: column;
        gap: 0.3rem;
    }
}
