/* EU AI Act Art. 50 Pre-Chat Disclosure modal — webentwickler.pro */

.ki-consent-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 20px;
}

.ki-consent-overlay.open {
    display: flex;
}

.ki-consent-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 520px;
    width: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ki-consent-header {
    background: #0F2A66;
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ki-consent-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(60, 160, 53, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #7ED957;
    font-size: 22px;
    line-height: 1;
}

.ki-consent-header h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.ki-consent-body {
    padding: 20px 24px;
    color: #374151;
    font-size: 0.93rem;
    line-height: 1.55;
}

.ki-consent-intro {
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.ki-consent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ki-consent-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.ki-consent-list .dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f59e0b;
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ki-consent-list li.muted .dot {
    background: #9ca3af;
}

.ki-consent-footnote {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 14px 0 0 0;
}

.ki-consent-footnote a {
    color: #3CA035;
    text-decoration: none;
    font-weight: 500;
}

.ki-consent-footnote a:hover {
    text-decoration: underline;
}

.ki-consent-actions {
    padding: 16px 24px;
    background: #f9fafb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.ki-consent-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.93rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 150ms ease, transform 150ms ease;
    font-family: inherit;
}

.ki-consent-btn-cancel {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.ki-consent-btn-cancel:hover {
    background: #f3f4f6;
}

.ki-consent-btn-accept {
    background: #3CA035;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(60, 160, 53, 0.25);
}

.ki-consent-btn-accept:hover {
    background: #2A7D26;
}

@media (max-width: 480px) {
    .ki-consent-actions {
        flex-direction: column-reverse;
    }
    .ki-consent-btn {
        width: 100%;
    }
}
