.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    padding: 1rem;
    pointer-events: none;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-consent.is-visible {
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.cookie-consent__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
}

.cookie-consent__desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted, #64748b);
    max-width: 52rem;
}

.cookie-consent__desc a {
    color: var(--primary-color, #16a34a);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.625rem;
    flex-shrink: 0;
}

.cookie-consent__btn {
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.cookie-consent__btn:hover {
    transform: translateY(-1px);
}

.cookie-consent__btn--reject {
    background: #f1f5f9;
    color: #334155;
}

.cookie-consent__btn--accept {
    background: var(--primary-color, #16a34a);
    color: #fff;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary-color, #16a34a), transparent 65%);
}

.cookie-consent-manage {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-muted, #94a3b8);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
}

.cookie-consent-manage:hover {
    color: var(--primary-color, #16a34a);
}

@media (max-width: 640px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1;
    }
}