/**
 * CockpitOS Light - Chatbot Consent Overlay
 * Freundlich, einladend – keine Mauer
 *
 * @package CockpitOS_Light_Theme
 * @version 1.0.0
 */

.cockpit-os-chatbot-modal__container {
    position: relative;
}

/* Overlay – Chat sichtbar, aber sanft unscharf */
.cockpit-os-chatbot-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    padding: 24px;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cockpit-os-chatbot-consent-overlay[data-consented="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Card – warm, einladend, sanfter Einstieg */
.cockpit-os-chatbot-consent-overlay__card {
    max-width: 340px;
    text-align: center;
    padding: 36px 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.4);
    animation: consentCardAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes consentCardAppear {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Icon – freundlich, einladend */
.cockpit-os-chatbot-consent-overlay__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    color: var(--chatbot-primary);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.4);
}

.cockpit-os-chatbot-consent-overlay__icon svg {
    display: block;
}

.cockpit-os-chatbot-consent-overlay__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.cockpit-os-chatbot-consent-overlay__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 26px;
}

.cockpit-os-chatbot-consent-overlay__text a {
    color: var(--chatbot-primary);
    text-decoration: none;
    font-weight: 500;
}

.cockpit-os-chatbot-consent-overlay__text a:hover {
    text-decoration: underline;
}

/* Button – einladend, zum Klicken */
.cockpit-os-chatbot-consent-overlay__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--chatbot-primary);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.cockpit-os-chatbot-consent-overlay__btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.cockpit-os-chatbot-consent-overlay__btn:active {
    transform: translateY(0) scale(0.98);
}

.cockpit-os-chatbot-consent-overlay__btn svg {
    flex-shrink: 0;
}

