/* =========================================================================
   3C1B Cookie Banner — site rengi/typography uyumlu
   ========================================================================= */

#c1b-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2000;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.45);
    font-family: inherit;
    color: #1f2937;
    animation: c1b-cookie-slide 320ms ease-out;
}

@keyframes c1b-cookie-slide {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.c1b-cookie-inner {
    padding: 22px 24px 18px;
}

.c1b-cookie-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #0f172a;
}

.c1b-cookie-intro {
    font-size: .92rem;
    line-height: 1.5;
    margin: 0 0 16px;
    color: #475569;
}

.c1b-cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 10px;
}

.c1b-cookie-cat {
    display: flex;
    flex-direction: column;
}

.c1b-cookie-cat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #1f2937;
}

.c1b-cookie-cat-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
    cursor: pointer;
}

.c1b-cookie-cat-label input[type="checkbox"]:disabled {
    accent-color: #94a3b8;
    cursor: not-allowed;
}

.c1b-cookie-cat-title {
    font-size: .94rem;
}

.c1b-cookie-locked-hint {
    margin-left: 8px;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.10);
    padding: 2px 8px;
    border-radius: 999px;
}

.c1b-cookie-cat-desc {
    margin: 4px 0 0 28px;
    font-size: .82rem;
    line-height: 1.45;
    color: #64748b;
}

.c1b-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.c1b-cookie-btn {
    border: 0;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 150ms ease, transform 100ms ease;
}

.c1b-cookie-btn:hover {
    filter: brightness(1.07);
}

.c1b-cookie-btn:active {
    transform: translateY(1px);
}

.c1b-cookie-btn--primary {
    background: #6366f1;
    color: #ffffff;
}

.c1b-cookie-btn--secondary {
    background: #e2e8f0;
    color: #1f2937;
}

.c1b-cookie-link {
    margin: 0;
    font-size: .82rem;
    text-align: right;
}

.c1b-cookie-link a {
    color: #6366f1;
    text-decoration: none;
}

.c1b-cookie-link a:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {
    #c1b-cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
    .c1b-cookie-inner { padding: 18px 16px 14px; }
    .c1b-cookie-actions { justify-content: stretch; }
    .c1b-cookie-actions .c1b-cookie-btn { flex: 1 1 100%; }
}
