/* smapp cookie consent banner */
.sm-cookie {
    position: fixed;
    z-index: 2147482000;
    max-width: 26rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #0f172a;
    color: #e2e8f0;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.sm-cookie--bottom { left: 1rem; right: 1rem; bottom: 1rem; margin: 0 auto; }
.sm-cookie--top { left: 1rem; right: 1rem; top: 1rem; margin: 0 auto; }
.sm-cookie--left { left: 1rem; bottom: 1rem; }
.sm-cookie--right { right: 1rem; bottom: 1rem; }

.sm-cookie__message {
    margin: 0 0 1rem;
}

.sm-cookie__panel {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
}

.sm-cookie__category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.sm-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sm-cookie__button {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.625rem;
    background: transparent;
    color: #e2e8f0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.sm-cookie__button--primary {
    border-color: var(--color-primary, #2563eb);
    background: var(--color-primary, #2563eb);
    color: #ffffff;
}

.sm-cookie__button--link {
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sm-cookie__button:hover,
.sm-cookie__button:focus-visible {
    filter: brightness(1.1);
}

.sm-cookie-reopen {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 2147481000;
    padding: 0.375rem 0.75rem;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #e2e8f0;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
    .sm-cookie--left,
    .sm-cookie--right {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}
