/*
 * atb_analytics.css
 * Styles written for ATB Analytics. Everything else in this folder was copied
 * from NeuroBridge and is left unchanged.
 */

/* Hide the full branding when the sidebar is collapsed to the 70px rail */
.wrapper.toggled:not(.sidebar-hovered) .sidebar-wrapper .sidebar-header .brand-full {
    display: none !important;
}

/* Sidebar: the current page */
.sidebar-wrapper .metismenu li.mm-active > a {
    font-weight: 600;
}

/* Spinner shown while a page loads into the content area */
.atb-loading {
    display: flex;
    justify-content: center;
    padding: 5rem 0;
}

/* Tables inside cards */
.atb-table th {
    white-space: nowrap;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--bs-secondary-color);
}
.atb-table td {
    vertical-align: middle;
}

/* Filter bar above a table */
.atb-filter-bar {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
}

/* One source on the Sources and Client setup screens */
.atb-source {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--bs-body-bg);
}
.atb-source-later {
    opacity: 0.75;
}
.atb-source-name {
    font-weight: 600;
    font-size: 1rem;
}
.atb-source-meta {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

/* Error text from a failed sync */
.atb-error-text {
    font-size: 0.85rem;
    color: var(--bs-danger-text-emphasis);
    word-break: break-word;
}

/* Sign-in and not-authorized pages */
.atb-auth-product {
    font-size: 24px;
    color: #1d70b8;
    font-weight: 500;
    font-family: sans-serif;
    letter-spacing: -0.5px;
}
