/* Cookie consent — LawPractica site theme */
.lp-cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 10000;
    max-width: 28rem;
    margin: 0 auto 0 0;
    background: #0b1220;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    padding: 1.25rem 1.35rem 1.15rem;
    font-family: Montserrat, Arial, sans-serif;
    box-sizing: border-box;
}

.lp-cookie-banner[hidden] {
    display: none !important;
}

.lp-cookie-banner__title {
    margin: 0 0 0.55rem;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.lp-cookie-banner__text {
    margin: 0 0 1.1rem;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.88);
}

.lp-cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-cookie-banner__text a:hover {
    color: #fce7ea;
}

.lp-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.lp-cookie-banner__btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.65rem 1rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lp-cookie-banner__btn--accept {
    background: #d83b4c;
    color: #fff;
}

.lp-cookie-banner__btn--accept:hover {
    background: #b3283a;
}

.lp-cookie-banner__btn--reject {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.lp-cookie-banner__btn--reject:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 576px) {
    .lp-cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: none;
        margin: 0;
    }

    .lp-cookie-banner__actions {
        flex-direction: column;
    }

    .lp-cookie-banner__btn {
        width: 100%;
        text-align: center;
    }
}
