:root {
    --cc-bg: #453b38;
    --cc-text: #ffffff;
    --cc-muted: #e7dfd8;
    --cc-accent: #f5b563;
    --cc-danger: #8e0403;
    --cc-border: rgba(255, 255, 255, 0.22);
}

.cc-hidden {
    display: none !important;
}

.cc-banner {
    background: var(--cc-bg);
    border: 1px solid var(--cc-border);
    bottom: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);
    color: var(--cc-text);
    font-family:
            system-ui,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;
    left: 20px;
    max-width: 720px;
    padding: 18px;
    position: fixed;
    right: 20px;
    z-index: 2147483647;
}

.cc-banner h2 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.cc-banner p {
    color: var(--cc-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cc-button {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #141414;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    min-height: 40px;
    padding: 8px 14px;
}

.cc-button-primary {
    background: var(--cc-danger);
    border-color: #b0ada6;
    color: #ffffff;
}

.cc-button-ghost {
    background: transparent;
    border-color: var(--cc-border);
    color: var(--cc-text);
}

.cookie-settings-button {
    align-items: center;
    background: var(--cc-bg);
    border: 2px solid var(--cc-accent);
    border-radius: 999px;
    bottom: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    color: var(--cc-text);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    left: 20px;
    min-height: 52px;
    padding: 0 18px;
    position: fixed;
    z-index: 2147483646;
}

.cookie-settings-button:hover {
    background: var(--cc-danger);
}

.cc-panel {
    border-top: 1px solid var(--cc-border);
    margin-top: 16px;
    padding-top: 12px;
}

.cc-category {
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    gap: 12px;
    padding: 12px 0;
}

.cc-category:last-child {
    border-bottom: 0;
}

.cc-category input {
    flex: 0 0 auto;
    height: 18px;
    margin-top: 2px;
    width: 18px;
}

.cc-category strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
}

.cc-category span {
    color: var(--cc-muted);
    display: block;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 3px;
}

@media (min-width: 760px) {
    .cc-banner {
        left: auto;
        width: 640px;
    }
}
