#ck-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

#ck-banner {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 2rem 2.5rem;
    max-width: 900px;
    width: 100%;
    font-family: inherit;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

#ck-banner p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.ck-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.ck-btn-ghost {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #20025B;
    cursor: pointer;
    text-decoration: underline;
}

.ck-btn-outline {
    background: none;
    border: 2px solid #20025B;
    color: #20025B;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ck-btn-solid {
    background: #20025B;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ck-btn-solid:hover { background: #1a024b; }
.ck-btn-outline:hover { background: #f0f0ff; }

#ck-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ck-modal {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    width: 680px;
    max-width: 95vw;
    max-height: 85vh;
    overflow-y: auto;
    font-family: inherit;
}

#ck-modal h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111;
}

#ck-modal > p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ck-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.ck-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

.ck-cat {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
    margin-bottom: 0;
}

.ck-cat:first-of-type { padding-top: 0.5rem; }
.ck-cat:last-of-type { border-bottom: none; padding-bottom: 0; }

.ck-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.ck-cat-header span { font-size: 16px; font-weight: 600; color: #222; }

.ck-arrow {
    font-size: 20px;
    color: #888;
    transition: transform 0.2s;
    display: inline-block;
    font-weight: bold;
}

.ck-arrow.open { transform: rotate(90deg); }

.ck-badge {
    font-size: 12px;
    font-weight: bold;
    color: #555;
    background: none;
    padding: 0;
}

.ck-cat-desc {
    font-size: 14px;
    color: #666;
    margin-top: 1rem;
    line-height: 1.7;
    display: none;
}

.ck-cat-desc.open { display: block; }

.ck-toggle { position: relative; width: 42px; height: 24px; cursor: pointer; }
.ck-toggle input { opacity: 0; width: 0; height: 0; }

.ck-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 50px;
    transition: 0.3s;
}

.ck-slider:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ck-toggle input:checked + .ck-slider { background: #20025B; }
.ck-toggle input:checked + .ck-slider:before { transform: translateX(18px); }

.ck-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.ck-hidden { display: none !important; }

#ck-banner p a.text-link,
#ck-banner p a.text-link:visited {
    color: #20025B !important;
    font-size: inherit !important;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: underline;
}

#ck-banner p a.text-link:hover,
#ck-banner p a.text-link:focus {
    color: #1a024b !important;
}