/**
 * Cookie Notice - Telefusion CI Styling
 * DSGVO/TTDSG-konformer Cookie-Hinweis
 */

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--tf-dark-green, #043D17);
    color: var(--tf-white, #FFFFFF);
    padding: 16px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    font-family: var(--tf-font-family, 'Allumi Std', -apple-system, BlinkMacSystemFont, sans-serif);
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-notice-text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--tf-white, #FFFFFF);
}

.cookie-notice-text p {
    margin: 0;
    color: inherit;
}

.cookie-notice-text a {
    color: var(--tf-light-green, #66FF33);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-notice-text a:hover {
    opacity: 0.8;
}

.cookie-notice-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-notice-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.cookie-notice-btn-accept {
    background-color: var(--tf-light-green, #66FF33);
    color: var(--tf-dark-green, #043D17);
}

.cookie-notice-btn-accept:hover {
    background-color: #52cc29;
    transform: translateY(-1px);
}

.cookie-notice-btn-accept:active {
    transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .cookie-notice {
        padding: 14px 16px;
    }

    .cookie-notice-content {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-notice-text {
        min-width: 100%;
        text-align: center;
    }

    .cookie-notice-actions {
        justify-content: center;
    }

    .cookie-notice-btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cookie-notice {
        transition: none;
    }

    .cookie-notice-btn {
        transition: none;
    }
}

/* Print styles - hide cookie notice when printing */
@media print {
    .cookie-notice {
        display: none !important;
    }
}
