:root {
    --cc-bg: rgba(255, 255, 255, 0.96);
    --cc-text: #1f2937;
    --cc-muted: #4b5563;
    --cc-border: rgba(15, 81, 50, 0.18);
    --cc-button: #0f5132;
    --cc-button-hover: #0c3e27;
    --cc-link: #0f5132;
    --cc-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.uh-cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(920px, calc(100% - 22px));
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 14px;
    background: var(--cc-bg);
    color: var(--cc-text);
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
    z-index: 1100;
    font-family: 'Prompt', sans-serif;
    animation: uhCcSlideIn 280ms ease-out both;
}

.uh-cookie-consent__icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff4e5;
    color: #fb923c;
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1;
}

.uh-cookie-consent__content {
    min-width: 0;
    flex: 1;
}

.uh-cookie-consent__title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
}

.uh-cookie-consent__text {
    margin: 0;
    font-size: 0.92rem;
    color: var(--cc-muted);
    line-height: 1.55;
}

.uh-cookie-consent__link {
    color: var(--cc-link);
    text-decoration: none;
    font-weight: 500;
}

.uh-cookie-consent__link:hover {
    text-decoration: underline;
}

.uh-cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.uh-cookie-consent__reject,
.uh-cookie-consent__accept {
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 180ms ease;
}

.uh-cookie-consent__reject {
    border: none;
    background: transparent;
    color: #d97706;
    padding: 8px 4px;
}

.uh-cookie-consent__reject:hover {
    color: #b45309;
}

.uh-cookie-consent__accept {
    border: 1px solid transparent;
    background: var(--cc-button);
    color: #ffffff;
    padding: 8px 14px;
    box-shadow: 0 6px 16px rgba(15, 81, 50, 0.28);
}

.uh-cookie-consent__accept:hover {
    background: var(--cc-button-hover);
}

.uh-cookie-consent__close {
    margin-left: auto;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 4px;
}

@keyframes uhCcSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 700px) {
    .uh-cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        transform: none;
        flex-direction: column;
        gap: 10px;
        padding: 14px;
    }

    .uh-cookie-consent__actions {
        justify-content: flex-end;
        width: 100%;
    }

    .uh-cookie-consent__close {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    @keyframes uhCcSlideIn {
        from {
            opacity: 0;
            transform: translateY(14px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
