/* Minimalist RTL Cookie Consent Banner for icrm.co.il */
.icrm-cookie-banner {
    position: fixed;
    right: 16px;
    left: 16px;
    bottom: 16px;
    z-index: 1050;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    font-family: Tahoma, "Inter", sans-serif;
}

.icrm-cookie-banner[hidden] {
    display: none !important;
}

.icrm-cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.icrm-cookie-banner__inner {
    pointer-events: auto;
    width: 100%;
    max-width: 1120px;
    background-color: #ffffff;
    color: #212529;
    border: 1px solid rgba(87, 79, 236, 0.18);
    border-right: 4px solid var(--bs-primary, #574fec);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(17, 16, 47, 0.14);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.icrm-cookie-banner__content {
    flex: 1 1 auto;
    text-align: right;
}

.icrm-cookie-banner__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #333333;
}

.icrm-cookie-banner__link {
    color: var(--bs-primary, #574fec);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.icrm-cookie-banner__link:hover,
.icrm-cookie-banner__link:focus-visible {
    color: #3f38c7;
}

.icrm-cookie-banner__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.icrm-cookie-banner__btn {
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    line-height: 1.25;
}

.icrm-cookie-banner__btn:focus-visible {
    outline: 2px solid var(--bs-primary, #574fec);
    outline-offset: 2px;
}

.icrm-cookie-banner__btn--primary {
    background-color: var(--bs-primary, #574fec);
    border: 1px solid var(--bs-primary, #574fec);
    color: #ffffff;
}

.icrm-cookie-banner__btn--primary:hover {
    background-color: #463ed9;
    border-color: #463ed9;
    color: #ffffff;
}

.icrm-cookie-banner__btn--secondary {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #343a40;
}

.icrm-cookie-banner__btn--secondary:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.icrm-cookie-footer-link {
    display: inline-block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.icrm-cookie-footer-link:hover,
.icrm-cookie-footer-link:focus-visible {
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .icrm-cookie-banner {
        right: 12px;
        left: 12px;
        bottom: 12px;
    }

    .icrm-cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 16px;
    }

    .icrm-cookie-banner__text {
        font-size: 0.87rem;
    }

    .icrm-cookie-banner__actions {
        width: 100%;
        justify-content: stretch;
    }

    .icrm-cookie-banner__btn {
        flex: 1 1 calc(50% - 5px);
        text-align: center;
        padding: 10px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .icrm-cookie-banner {
        transition: none;
        transform: none;
    }
}

