/* Cookie consent card. Follows the public site's palette (#1e9f3b / #1a772e) and rounded buttons. */
.gcCookie {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 50%;
    z-index: 1050;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: calc(100% - 32px);
    max-width: 460px;
    padding: 20px 22px;
    background-color: #ffffff;
    border-top: 4px solid #1e9f3b;
    border-radius: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0, rgba(0, 0, 0, 0.1) 0 16px 40px;
    font-family: inherit;
    opacity: 0;
    transform: translate(-50%, 16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[dir="rtl"].gcCookie {
    transform: translate(50%, 16px);
}

.gcCookie[hidden] {
    display: none;
}

.gcCookie.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

[dir="rtl"].gcCookie.is-visible {
    transform: translate(50%, 0);
}

.gcCookie-icon {
    flex: 0 0 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #e8f5eb;
    color: #1e9f3b;
    font-size: 24px;
}

.gcCookie-body {
    flex: 1;
    min-width: 0;
}

.gcCookie-title {
    margin: 0 0 6px;
    color: #333333;
    font-size: 17px;
    font-weight: 700;
}

.gcCookie-text {
    margin: 0 0 14px;
    color: #5a5a5a;
    font-size: 14px;
    line-height: 1.7;
}

.gcCookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gcCookie-btn {
    padding: 8px 26px;
    border: 1px solid #1e9f3b;
    border-radius: 30px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gcCookie-btn:active {
    scale: 0.95;
}

.gcCookie-btn:focus-visible {
    outline: 2px solid #1a772e;
    outline-offset: 2px;
}

.gcCookie-accept {
    background-color: #1e9f3b;
    color: #ffffff;
}

.gcCookie-accept:hover {
    background-color: #1a772e;
    border-color: #1a772e;
}

.gcCookie-decline {
    background-color: transparent;
    color: #1e9f3b;
}

.gcCookie-decline:hover {
    background-color: #f4f6f9;
}

/* Tablets and phones: sit above the mobile bottom navigation (.navDownM). */
@media (max-width: 990px) {
    .gcCookie {
        bottom: 96px;
    }
}

@media (max-width: 576px) {
    .gcCookie {
        gap: 12px;
        padding: 16px;
    }

    .gcCookie-icon {
        flex-basis: 38px;
        height: 38px;
        font-size: 20px;
    }

    .gcCookie-btn {
        flex: 1;
        padding-inline: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gcCookie {
        transition: none;
    }
}
