/*
 * Site-owned Lagom layout corrections (not typography).
 * Loaded by the supported WHMCS head hook with a content-hash cache key.
 * Vendor files stay untouched; only the named components are restyled.
 */

/* Allan 2026-10-27: the cookie notice was a tall box (icon, three lines of
 * text, full-width button) that covered the homepage call to action on both
 * desktop and mobile. Show it as one slim row instead: text left, button
 * right, no icon. Lagom's own show/hide, delay and "Continue" logic is kept.
 */
.cookie-bar.cookie-bar {
    min-width: 0;
    max-width: 560px;
}
.cookie-bar.cookie-bar .cookie-bar__content {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 12px 12px 12px 18px;
}
.cookie-bar.cookie-bar .cookie-bar__icon {
    display: none;
}
.cookie-bar.cookie-bar .cookie-bar__desc {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    text-align: left;
    font-size: var(--font-size-sm);
    line-height: 1.45;
}
.cookie-bar.cookie-bar .cookie-bar__action,
.cookie-bar.cookie-bar .cookie-bar__action .btn {
    width: auto;
    min-width: 0;
}
.cookie-bar.cookie-bar .cookie-bar__action {
    flex: 0 0 auto;
}
.cookie-bar.cookie-bar .cookie-bar__action .btn {
    white-space: nowrap;
}

/* Phones: span the screen width and sit above the live-chat bubble
 * (64px button, 20px from the bottom) so neither hides the other.
 */
@media (max-width: 767.98px) {
    .cookie-bar.cookie-bar {
        left: 8px;
        right: 8px;
        bottom: 92px;
        max-width: none;
    }
    .cookie-bar.cookie-bar .cookie-bar__content {
        gap: 12px;
        padding: 10px 10px 10px 14px;
    }
    .cookie-bar.cookie-bar .cookie-bar__desc {
        font-size: 12px;
        line-height: 1.4;
    }
    .cookie-bar.cookie-bar .cookie-bar__action .btn {
        padding-left: 14px;
        padding-right: 14px;
    }
}
