:root {
    --cookie-overlay-bg: rgba(17, 24, 39, 0.65);
    --cookie-panel-bg: #ffffff;
    --cookie-panel-color: #1f2937;
    --cookie-accent: #0d6efd;
    --cookie-border: #d1d5db;
    --cookie-radius: 14px;
    --cookie-shadow: 0 28px 60px rgba(15, 23, 42, 0.25);
    --cookie-focus: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

[data-bs-theme="dark"] :root {
    --cookie-panel-bg: #0f172a;
    --cookie-panel-color: #e2e8f0;
    --cookie-border: rgba(148, 163, 184, 0.45);
}

.cookie-consent-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--cookie-overlay-bg);
    z-index: 1090;
    padding: 1.5rem;
}

.cookie-consent-backdrop[aria-hidden="false"] {
    display: flex;
}

.cookie-consent-modal {
    max-width: 720px;
    width: 100%;
    background-color: var(--cookie-panel-bg);
    color: var(--cookie-panel-color);
    border-radius: var(--cookie-radius);
    box-shadow: var(--cookie-shadow);
    overflow: auto;
    position: relative;
    max-height: 100%;
}
.text-red{
    color:red;
}
.cookie-category ul{
    list-style: unset;
}

.cookie-consent-header {
    padding: 1.5rem 1.5rem 0.5rem;
}

.cookie-consent-body {
    padding: 0 1.5rem 1rem;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--cookie-border);
    background-color: rgba(15, 23, 42, 0.02);
}

.cookie-consent-actions button {
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

.cookie-category {
    border: 1px solid var(--cookie-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    background-color: rgba(148, 163, 184, 0.05);
}

.cookie-category h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cookie-category p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.cookie-category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category-choice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-category-choice input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: var(--cookie-accent);
    border-radius: 4px;
}

.cookie-category-choice label {
    font-weight: 600;
    cursor: pointer;
}

.cookie-category-choice input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.45);
    outline-offset: 2px;
}

.cookie-preferences-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1080;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    display: none;
}

.cookie-preferences-button.is-visible {
    display: inline-flex;
}

.cookie-consent-body ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.cookie-consent-body a {
    color: var(--cookie-accent);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .cookie-consent-modal {
        max-width: 100%;
    }

    .cookie-consent-header,
    .cookie-consent-body,
    .cookie-consent-actions {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-preferences-button {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}