/* app/static/css/core/connection-bar.css */
/* Thin full-width bottom status bar */
.connection-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    padding: 0 16px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: content-box;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 32px;
    text-align: center;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.connection-bar.conn-bar--visible {
    transform: translateY(0);
    pointer-events: auto;
}

/* Offline state: dark grey thin bar */
.connection-bar.conn-bar--offline {
    background-color: #383838;
    color: #ffffff;
}

/* Online restored state: green thin bar */
.connection-bar.conn-bar--online {
    background-color: #2ba640;
    color: #ffffff;
}

.connection-bar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.connection-bar-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.connection-bar-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}
