.pm-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.94);
    color: #f8fafc;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pm-cookie-banner__inner {
    max-width: var(--site-content-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pm-cookie-banner__text {
    flex: 1 1 280px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #e2e8f0;
}

.pm-cookie-banner__text a {
    color: #5eead4;
    font-weight: 600;
    text-decoration: underline;
}

.pm-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 16px;
    flex-shrink: 0;
}

.pm-cookie-btn {
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

/* Odrzuć: widoczne, jeden klik, bez ukrywania (wymóg RODO / AdSense) */
.pm-cookie-btn--reject {
    min-height: 44px;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pm-cookie-btn--reject:hover {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
}

/* Akceptuję: główny przycisk (maks. wyróżnienie przy zachowaniu „Odrzuć”) */
.pm-cookie-btn--accept {
    min-width: 11rem;
    min-height: 48px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 45%, #0d9488 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.pm-cookie-btn--accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(20, 184, 166, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.pm-cookie-btn--accept:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 3px;
}

.pm-cookie-btn--reject:focus-visible {
    outline: 2px solid #94a3b8;
    outline-offset: 2px;
}

body.pm-cookie-banner-open {
    padding-bottom: 0;
}

@media (max-width: 640px) {
    .pm-cookie-banner {
        padding: 14px 16px;
    }

    .pm-cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-cookie-banner__actions {
        width: 100%;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }

    .pm-cookie-btn--accept {
        width: 100%;
        text-align: center;
    }

    .pm-cookie-btn--reject {
        width: 100%;
        text-align: center;
    }
}
