.zms-cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.zms-cookie-consent:not([hidden]) {
    pointer-events: auto;
}

.zms-cookie-consent__panel {
    max-width: 42rem;
    width: 100%;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.18);
    padding: 1.25rem 1.5rem 1.5rem;
    color: #212529;
    font-size: 0.95rem;
    line-height: 1.5;
}

.zms-cookie-consent__text {
    margin: 0 0 1rem;
}

.zms-cookie-consent__policy-link {
    color: #0d6efd;
    text-decoration: underline;
}

.zms-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.zms-cookie-consent__btn {
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.zms-cookie-consent__btn--accept-all {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

.zms-cookie-consent__btn--accept-all:hover {
    background: #157347;
    border-color: #146c43;
}

.zms-cookie-consent__btn--essential {
    background: #fff;
    border-color: #198754;
    color: #198754;
}

.zms-cookie-consent__btn--essential:hover {
    background: #f8f9fa;
}

.zms-cookie-consent__btn--decline {
    background: #fff;
    border-color: #a94442;
    color: #a94442;
}

.zms-cookie-consent__btn--decline:hover {
    background: #fdf8f8;
}

@media (max-width: 576px) {
    .zms-cookie-consent__actions {
        flex-direction: column;
    }

    .zms-cookie-consent__btn {
        width: 100%;
    }
}
