/*
 * Cookie notice (APP26-2033) — the card built by cookieNoticeShow() in tickchak/js/tickchak.functions.js. One stylesheet for
 * every page that shows it: the sales page and the site's own pages (with templates/default/default.css) and the legacy
 * form (with form/form.css). Each of those two sets the three values the surfaces differ in, on .cookie-notice:
 *   --cookie-notice-edge        the distance from the bottom and the sides
 *   --cookie-notice-edge-phone  the same, at 800 and under
 *   --cookie-notice-layer       the z-index
 * A page that sets none of them gets the sales page's values (24, 16, 100001).
 * Figma: Venue · Navigation · Account 5obvm9oUIxNtP6u87RBOLB, section 397:247 — «דף מכירה · נייח» 397:283 (960×94) and
 * «דף מכירה · נייד» 397:329 (343×250). Read on 12/11/2026.
 * Colours are the Figma values of the light card (bg/base/light, border/on-light/subtle, text/on-light/default) and of the
 * Strong button (bg/surface/on-light/strong, text/on-dark/default; hover color/slate/700) — these stylesheets have no tokens.
 */
.cookie-notice {
    position: fixed;
    bottom: var(--cookie-notice-edge, 24px);
    inset-inline: var(--cookie-notice-edge, 24px);
    z-index: var(--cookie-notice-layer, 100001);
    box-sizing: border-box;
    max-width: 960px;
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
    background: #ffffff;
    border: 1px solid rgba(61, 105, 140, 0.25);
    border-radius: 24px;
    color: #293e51;
    text-align: start;
}
.cookie-notice-text {
    flex: 1 1 0;
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.cookie-notice-text a {
    color: #293e51;
    font-weight: 700;
    text-decoration: underline;
}
.cookie-notice-accept {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #293e51;
    color: #f8fafc;
    font-family: inherit;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 200ms ease-in-out;
}
.cookie-notice-accept:hover {
    background: #325572;
}
.cookie-notice-text a:focus-visible,
.cookie-notice-accept:focus-visible {
    outline: 2px solid #293e51;
    outline-offset: 2px;
}
@media screen and (max-width: 800px) {
    .cookie-notice {
        bottom: var(--cookie-notice-edge-phone, 16px);
        inset-inline: var(--cookie-notice-edge-phone, 16px);
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }
    .cookie-notice-accept {
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cookie-notice-accept {
        transition: none;
    }
}
