.ccm-cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    display: none;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.28);
    transform: translateY(110%);
    transition: transform 0.28s ease;
}

.ccm-cookie-bar.is-visible {
    display: block;
    transform: translateY(0);
}

.ccm-cookie-bar__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    justify-content: space-between;
}

.ccm-cookie-bar__text {
    flex: 1 1 280px;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #e2e8f0;
}

.ccm-cookie-bar__text a {
    color: #93c5fd;
    text-decoration: underline;
}

.ccm-cookie-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.ccm-cookie-bar__btn {
    border: 0;
    border-radius: 6px;
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.ccm-cookie-bar__btn--accept {
    background: #2563eb;
    color: #fff;
}

.ccm-cookie-bar__btn--accept:hover {
    background: #1d4ed8;
}

.ccm-cookie-bar__btn--necessary {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(226, 232, 240, 0.35);
}

.ccm-cookie-bar__btn--necessary:hover {
    border-color: #fff;
    color: #fff;
}

body.ccm-has-mobile-bottom-nav .ccm-cookie-bar {
    bottom: 60px;
    padding-bottom: 14px;
}

@media (max-width: 767px) {
    .ccm-cookie-bar__inner {
        align-items: stretch;
    }

    .ccm-cookie-bar__actions {
        width: 100%;
    }

    .ccm-cookie-bar__btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
