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

.fpai-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 999999;
    pointer-events: none;
}

.fpai-consent__backdrop {
    display: none;
}

.fpai-consent__panel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 14px 16px 14px 20px;
    border: 1px solid rgba(145, 55, 225, 0.18);
    border-radius: 12px;
    background: #fff;
    color: #172033;
    box-shadow: 0 10px 32px rgba(48, 13, 73, 0.16);
    pointer-events: auto;
}

.fpai-consent__summary {
    flex: 1 1 auto;
}

.fpai-consent__summary h2 {
    margin: 0 0 3px;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: 0;
}

.fpai-consent__summary p {
    display: inline;
    margin: 0;
    color: #4b5565;
    font-size: 13px;
    line-height: 1.45;
}

.fpai-consent__summary a {
    margin-left: 5px;
    color: #8f31e8;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.fpai-consent__actions {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    margin: 0;
}

.fpai-consent__button {
    min-width: 126px;
    min-height: 42px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.fpai-consent__button--primary {
    background: linear-gradient(135deg, #a23bf4 0%, #7419bc 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(126, 31, 196, 0.25);
}

.fpai-consent__button:hover {
    background: linear-gradient(135deg, #8f2ee2 0%, #5c1199 100%);
    transform: translateY(-1px);
}

.fpai-consent__button:focus-visible {
    outline: 3px solid rgba(145, 49, 232, 0.3);
    outline-offset: 2px;
}

@media (max-width: 680px) {
    .fpai-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .fpai-consent__panel {
        display: block;
        padding: 15px;
    }

    .fpai-consent__summary h2 {
        font-size: 16px;
    }

    .fpai-consent__summary p,
    .fpai-consent__summary a {
        font-size: 12px;
    }

    .fpai-consent__actions {
        margin-top: 12px;
    }

    .fpai-consent__button {
        width: 100%;
    }
}
