/* =============================================================================
   base/white-label.css
   Rules that only apply when an agency's white-label branding is active
   (<html class="wl-active">, set server-side on the onboarding link and by
   white-label.js inside the app). Colours come from the tokens in variables.css.
   ============================================================================= */

/* Links and menu items that point at CRM Connector's own site or community. */
.wl-active [data-wl-hide],
.wl-active .feature-placeholder [data-app-action^="integration-sync-request-f"],
.wl-active .feature-placeholder [data-app-action^="integration-sync-request-f"] + .feature-placeholder-note {
    display: none !important;
}

/* The agency logo replaces ours and is not a link to our site. */
.wl-active [data-wl-brand-link] {
    cursor: default;
    pointer-events: none;
}

/* Brand strip on top of the onboarding link, which has no app shell around it. */
.wl-brand-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5) var(--space-4) 0;
}

.wl-brand-bar__logo {
    height: 44px;
    width: auto;
    max-width: min(260px, 70vw);
    object-fit: contain;
}

.wl-support-note {
    margin: var(--space-4) auto var(--space-6);
    padding: 0 var(--space-4);
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.wl-support-note a {
    color: var(--primary);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
}

.wl-support-note a:hover {
    text-decoration: underline;
}
