#cookie-consent-bar {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    font-family: inherit;
}

#cookie-consent-bar .cc-card {
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(22, 37, 66, .08);
    border-radius: 12px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

#cookie-consent-bar .cc-content {
    min-width: 0;
}

#cookie-consent-bar .cc-summary strong,
#cookie-consent-bar .cc-option strong {
    display: block;
    color: #162542;
}

#cookie-consent-bar .cc-summary strong {
    font-size: .98rem;
    margin-bottom: 4px;
}

#cookie-consent-bar .cc-summary p {
    margin: 0;
    font-size: .82rem;
    color: #4d596a;
    line-height: 1.45;
}

#cookie-consent-bar .cc-summary a {
    color: #168a54;
    text-decoration: underline;
}

#cookie-consent-bar .cc-options {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#cookie-consent-bar .cc-options[hidden],
#cookie-consent-bar [hidden] {
    display: none !important;
}

#cookie-consent-bar .cc-option {
    min-height: 86px;
    margin: 0;
    padding: 11px;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    cursor: pointer;
}

#cookie-consent-bar .cc-option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #168a54;
    flex: 0 0 auto;
}

#cookie-consent-bar .cc-option strong {
    font-size: .82rem;
    margin-bottom: 3px;
}

#cookie-consent-bar .cc-option small {
    display: block;
    color: #667085;
    font-size: .72rem;
    line-height: 1.35;
}

#cookie-consent-bar .cc-option-disabled {
    background: #f7faf8;
    cursor: not-allowed;
}

#cookie-consent-bar .cc-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-width: 168px;
}

#cookie-consent-bar .cc-actions button {
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}

#cookie-consent-bar .cc-secondary {
    background: #f5f7fa;
    color: #162542;
    border-color: #dfe6ee;
}

#cookie-consent-bar .cc-reject {
    background: transparent;
    color: #168a54;
    border-color: #168a54;
}

#cookie-consent-bar .cc-accept {
    background: #168a54;
    color: #fff;
    box-shadow: 0 4px 12px rgba(22, 138, 84, .3);
}

@media (max-width: 860px) {
    #cookie-consent-bar .cc-card {
        grid-template-columns: 1fr;
    }

    #cookie-consent-bar .cc-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    #cookie-consent-bar .cc-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #cookie-consent-bar {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    #cookie-consent-bar .cc-card {
        padding: 14px;
        gap: 12px;
    }

    #cookie-consent-bar .cc-summary strong {
        font-size: .9rem;
    }

    #cookie-consent-bar .cc-summary p {
        font-size: .76rem;
    }

    #cookie-consent-bar .cc-actions {
        grid-template-columns: 1fr;
    }

    #cookie-consent-bar .cc-actions button {
        width: 100%;
        padding: 11px 12px;
    }
}

#cookie-consent-bar {
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: none;
}

#cookie-consent-bar .cc-card {
    max-width: 1200px;
    min-height: 64px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
}

#cookie-consent-bar .cc-summary > strong,
#cookie-consent-bar .cc-summary > p:not(.cc-summary-copy) {
    display: none;
}

#cookie-consent-bar .cc-summary-copy {
    margin: 0;
    color: #222;
    font-size: 12px;
    line-height: 1.4;
}

#cookie-consent-bar .cc-summary-copy a {
    color: #1f75ff;
    text-decoration: none;
}

#cookie-consent-bar .cc-summary-copy a:hover {
    text-decoration: underline;
}

#cookie-consent-bar .cc-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    min-width: 0;
}

#cookie-consent-bar .cc-actions button {
    min-height: 32px;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

#cookie-consent-bar .cc-actions button:not(.cc-primary-action):not(.cc-config-action):not([data-cc-save]) {
    display: none;
}

#cookie-consent-bar .cc-secondary {
    background: #eaf1fb;
    color: #1f75ff;
    border-color: #eaf1fb;
}

#cookie-consent-bar .cc-accept {
    background: #eaf1fb;
    color: #1f75ff;
    border-color: #eaf1fb;
    box-shadow: none;
}

#cookie-consent-bar .cc-options {
    margin-top: 12px;
}


@media (max-width: 860px) {
    #cookie-consent-bar .cc-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #cookie-consent-bar .cc-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    #cookie-consent-bar {
        bottom: 0;
        left: 0;
        right: 0;
    }

    #cookie-consent-bar .cc-card {
        padding: 14px 16px;
    }

    #cookie-consent-bar .cc-actions button {
        width: auto;
    }
}
