
.cookie-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10000;
    opacity: 1;
    transition: opacity .28s ease, backdrop-filter .28s ease, background .28s ease;
}

.cookie-content {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, #FFF 0%, #F8FDFB 100%);
    padding: 18px 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(54, 186, 155, 0.25);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
    position: relative;
    margin-left: 0;
    animation: cookie-slide-up .32s ease both;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity .28s ease, transform .28s ease, box-shadow .28s ease;
}

.cookie-container.cookie-closing {
    opacity: 0;
    backdrop-filter: blur(0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 100%);
    pointer-events: none;
}

.cookie-container.cookie-closing .cookie-content {
    opacity: 0;
    transform: translateY(20px) scale(.98);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.cookie-content h2 {
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-content .cookie-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(54, 186, 155, 0.15);
    color: var(--color-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.cookie-content p,
.cookie-content .cookie-description {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: .92rem;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.82);
    word-break: normal;
    margin: 0;
}

.cookie-content p a,
.cookie-content .cookie-description a {
    color: var(--color-green);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.cookie-content p a:hover,
.cookie-content .cookie-description a:hover {
    color: var(--hover-color-green);
}

.cookie-content .cookie_modal_content_close {
    font-family: Arial, Helvetica, sans-serif !important;
    width: 100%;
    text-align: center;
    margin-top: 14px !important;
    padding: 11px 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: #2EAC8F;
    color: var(--color-white);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.cookie-content .cookie_modal_content_close:hover {
    background: #238F76;
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(54, 186, 155, 0.34);
}

@media (min-width: 768px) {
    .cookie-container {
        justify-content: flex-start;
        padding: 0 0 22px 22px;
    }

    .cookie-content {
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .cookie-container {
        padding: 14px;
    }

    .cookie-content {
        padding: 16px 14px 14px;
        border-radius: 12px;
    }

    .cookie-content h2 {
        font-size: 1rem;
    }

    .cookie-content p,
    .cookie-content .cookie-description {
        font-size: .88rem;
    }
}

@keyframes cookie-slide-up {
    from {
        transform: translateY(18px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
