.moipvz-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

.moipvz-cookie-consent[hidden] {
    display: none !important;
}

.moipvz-cookie-consent__panel {
    pointer-events: auto;
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    display: grid;
    gap: 14px;
}

.moipvz-cookie-consent__text {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.55;
}

.moipvz-cookie-consent__text a {
    color: #4f46e5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.moipvz-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.moipvz-cookie-consent__btn {
    appearance: none;
    border: none;
    border-radius: 999px;
    min-height: 40px;
    padding: 0 18px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.moipvz-cookie-consent__btn--accept {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
}

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

html[data-theme='dark'] .moipvz-cookie-consent__panel {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme='dark'] .moipvz-cookie-consent__text {
    color: #cbd5e1;
}

html[data-theme='dark'] .moipvz-cookie-consent__btn--reject {
    background: #334155;
    color: #e2e8f0;
}

@media (min-width: 768px) {
    .moipvz-cookie-consent__panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 18px;
        padding: 18px 22px;
    }

    .moipvz-cookie-consent__actions {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
}
