.bringits-cookie-consent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: auto;
    top: auto;
    z-index: 10000;
    width: min(380px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    margin: 0;
    box-sizing: border-box;
    pointer-events: none;
}

.bringits-cookie-consent__panel {
    pointer-events: auto;
    width: 100%;
    max-height: inherit;
    overflow-y: auto;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.bringits-cookie-consent__title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1b1f1d;
}

.bringits-cookie-consent__description,
.bringits-cookie-consent__category-desc,
.bringits-cookie-consent__privacy {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #4b5563;
}

.bringits-cookie-consent__privacy a {
    color: #3716de;
    text-decoration: underline;
}

.bringits-cookie-consent__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.bringits-cookie-consent__btn {
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    width: 100%;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.bringits-cookie-consent__btn--primary {
    background: #ffd233;
    color: #000000;
}

.bringits-cookie-consent__btn--primary:hover {
    background: #f5c400;
}

.bringits-cookie-consent__btn--secondary {
    background: #f3f4f6;
    color: #1b1f1d;
}

.bringits-cookie-consent__btn--secondary:hover {
    background: #e5e7eb;
}

.bringits-cookie-consent__btn--ghost {
    background: transparent;
    color: #3716de;
}

.bringits-cookie-consent__btn--ghost:hover {
    background: #f5f3ff;
}

.bringits-cookie-consent__category-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.bringits-cookie-consent__category {
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.bringits-cookie-consent__category:last-child {
    border-bottom: 0;
}

.bringits-cookie-consent__category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.bringits-cookie-consent__category-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1b1f1d;
}

.bringits-cookie-consent__category-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 4px 10px;
}

.bringits-cookie-consent__category-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.bringits-cookie-consent__category-toggle input {
    width: 18px;
    height: 18px;
    accent-color: #3716de;
}

.footer-cookie-preferences {
    margin: 0;
    font-size: 0.875rem;
}

.footer-cookie-preferences button {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.footer-cookie-preferences button:hover {
    color: #3716de;
}

@media (max-width: 480px) {
    .bringits-cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-height: calc(100dvh - 24px);
    }
}
