#cookie-consent-root {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 120;
}

#cookie-consent-root * {
    box-sizing: border-box;
}

#cookie-consent-root .cc-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 56rem;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
    padding: 1rem;
    pointer-events: auto;
}

#cookie-consent-root .cc-banner.hidden {
    display: none;
}

#cookie-consent-root .cc-title {
    margin: 0 0 .45rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

#cookie-consent-root .cc-text {
    margin: 0;
    color: #475569;
    font-size: .88rem;
    line-height: 1.45;
}

#cookie-consent-root .cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .9rem;
}

#cookie-consent-root .cc-btn {
    appearance: none;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    border-radius: 10px;
    padding: .55rem .85rem;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}

#cookie-consent-root .cc-btn-primary {
    border-color: #be185d;
    background: linear-gradient(135deg, #FF8C00, #C41472);
    color: #fff;
}

#cookie-consent-root .cc-btn-link {
    border-color: transparent;
    background: transparent;
    color: #be185d;
}

#cookie-consent-root .cc-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: auto;
}

#cookie-consent-root .cc-modal.hidden {
    display: none;
}

#cookie-consent-root .cc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .54);
}

#cookie-consent-root .cc-panel {
    position: relative;
    width: min(46rem, 100%);
    max-height: 86vh;
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .22);
}

#cookie-consent-root .cc-h {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

#cookie-consent-root .cc-sub {
    margin: .45rem 0 .85rem 0;
    color: #64748b;
    font-size: .85rem;
    line-height: 1.5;
}

#cookie-consent-root .cc-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: .8rem;
    margin: .55rem 0;
    background: #fff;
}

#cookie-consent-root .cc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

#cookie-consent-root .cc-cat {
    font-weight: 700;
    color: #0f172a;
    font-size: .9rem;
}

#cookie-consent-root .cc-meta {
    color: #64748b;
    font-size: .78rem;
    margin-top: .25rem;
}

#cookie-consent-root .cc-badge {
    display: inline-flex;
    align-items: center;
    padding: .18rem .48rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    background: #ecfeff;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

#cookie-consent-root .cc-switch {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: #334155;
}

#cookie-consent-root .cc-switch input {
    width: 1rem;
    height: 1rem;
}

#cookie-consent-root .cc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: .65rem;
}

#cookie-consent-root .cc-table th,
#cookie-consent-root .cc-table td {
    border-top: 1px solid #f1f5f9;
    padding: .45rem .15rem;
    text-align: left;
    font-size: .74rem;
    vertical-align: top;
    color: #475569;
}

#cookie-consent-root .cc-table th {
    font-weight: 700;
    color: #334155;
}

#cookie-consent-root .cc-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .55rem;
    margin-top: .9rem;
}

@media (max-width: 1023px) {
    #cookie-consent-root .cc-banner {
        bottom: 5.1rem;
    }
}

@media (max-width: 640px) {
    #cookie-consent-root .cc-banner {
        left: .6rem;
        right: .6rem;
    }

    #cookie-consent-root .cc-panel {
        padding: .85rem;
    }
}
