﻿:root {
    --cc-bg: #ffffff;
    --cc-text: #0f1724;
    --cc-accent: #0d6efd;
    --cc-accent-dark: #0b5ed7;
    --cc-border: rgba(15,23,36,0.08);
    --cc-shadow: 0 8px 24px rgba(15,23,36,0.12);
    --cc-radius: 12px;
}

/* Base cookie prompt */
.cc-window.cc-banner.cc-type-info.cc-theme-block.cc-bottom.cc-color-override-390254163 {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1060;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(180deg, var(--cc-bg), #fbfdff);
    color: var(--cc-text);
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
    border-radius: var(--cc-radius);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.35;
}

/* Message area (flexible) */
.cc-window .cc-message,
.cc-window .cc-msg,
.cc-window .cc-content {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 8px;
    color: inherit;
}

/* Links inside message */
.cc-window a,
.cc-window .cc-link {
    color: var(--cc-accent);
    text-decoration: underline;
}

    .cc-window a:hover,
    .cc-window .cc-link:hover {
        color: var(--cc-accent-dark);
    }

/* Controls wrapper */
.cc-window .cc-controls,
.cc-window .cc-btns {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
}

/* Buttons */
.cc-window .cc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .12s ease, color .12s ease, transform .06s ease;
    white-space: nowrap;
}

    /* Primary action */
    .cc-window .cc-btn.cc-allow,
    .cc-window .cc-btn.cc-primary {
        background: var(--cc-accent);
        color: #fff;
        box-shadow: 0 2px 6px rgba(13,110,253,0.18);
    }

        .cc-window .cc-btn.cc-allow:hover,
        .cc-window .cc-btn.cc-primary:hover {
            background: var(--cc-accent-dark);
            transform: translateY(-1px);
        }

    /* Secondary action */
    .cc-window .cc-btn.cc-deny,
    .cc-window .cc-btn.cc-secondary {
        background: transparent;
        color: var(--cc-text);
        border-color: var(--cc-border);
    }

        .cc-window .cc-btn.cc-deny:hover,
        .cc-window .cc-btn.cc-secondary:hover {
            background: rgba(13,110,253,0.05);
        }

/* Close control */
.cc-window .cc-close,
.cc-window button.cc-close {
    background: transparent;
    border: none;
    color: rgba(15,23,36,0.6);
    font-size: 1.05rem;
    padding: 6px;
    margin-left: 8px;
}

    .cc-window .cc-close:focus,
    .cc-window button.cc-close:focus,
    .cc-window .cc-btn:focus {
        outline: 3px solid rgba(13,110,253,0.18);
        outline-offset: 2px;
    }

/* Tight layout for very small screens */
@media (max-width: 520px) {
    .cc-window.cc-banner.cc-bottom {
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        padding: 12px;
    }

    .cc-window .cc-message {
        width: 100%;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .cc-window .cc-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .cc-window .cc-btn {
        flex: 1 1 auto;
        text-align: center;
        padding: 10px 12px;
    }
}

/* Reduce motion for accessible preferences */
@media (prefers-reduced-motion: reduce) {
    .cc-window, .cc-window .cc-btn {
        transition: none !important;
    }
}
