/* ========================================
   WP C2PA Viewer Combined - Benachrichtigungen
   Glassmorphism Design (angepasst an Popup)
   ======================================== */

.wp-c2pa-combined-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 24px;
    color: #f9fafb;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    z-index: 10000;
    max-width: 380px;
    word-wrap: break-word;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
    background: rgba(31, 41, 55, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Typ-spezifische Stile - Glassmorphism Design mit farbigen Akzenten */
.wp-c2pa-combined-notification.wp-c2pa-combined-info {
    background: rgba(31, 41, 55, 0.8);
    border-left: 4px solid rgba(59, 130, 246, 0.6);
}

.wp-c2pa-combined-notification.wp-c2pa-combined-success {
    background: rgba(31, 41, 55, 0.8);
    border-left: 4px solid rgba(16, 185, 129, 0.6);
}

.wp-c2pa-combined-notification.wp-c2pa-combined-warning {
    background: rgba(31, 41, 55, 0.8);
    border-left: 4px solid rgba(245, 158, 11, 0.6);
}

.wp-c2pa-combined-notification.wp-c2pa-combined-error {
    background: rgba(31, 41, 55, 0.8);
    border-left: 4px solid rgba(239, 68, 68, 0.6);
}

/* Hover-Effekte */
.wp-c2pa-combined-notification:hover {
    transform: translateX(0) translateY(-3px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.35),
        0 12px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Animationen */
.wp-c2pa-combined-notification.wp-c2pa-combined-slide-in {
    transform: translateX(0);
}

.wp-c2pa-combined-notification.wp-c2pa-combined-slide-out {
    transform: translateX(100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wp-c2pa-combined-notification {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
        padding: 14px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .wp-c2pa-combined-notification {
        top: 12px;
        right: 12px;
        left: 12px;
        padding: 12px 16px;
        font-size: 12px;
        border-radius: 16px;
    }
}

/* Dark Mode Anpassungen */
@media (prefers-color-scheme: dark) {
    .wp-c2pa-combined-notification {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.05);
    }
}

/* Accessibility und Schließen-Button */
.wp-c2pa-combined-notification:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Schließen-Button */
.wp-c2pa-combined-notification .wp-c2pa-combined-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wp-c2pa-combined-notification .wp-c2pa-combined-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Animation für das Ein- und Ausblenden */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stacking für mehrere Benachrichtigungen */
.wp-c2pa-combined-notification + .wp-c2pa-combined-notification {
    top: 80px;
}

.wp-c2pa-combined-notification + .wp-c2pa-combined-notification + .wp-c2pa-combined-notification {
    top: 140px;
}

/* Icon-Support - Entfernt für sauberes Design */
/* Emoticons wurden entfernt für ein sauberes, modernes Design */

/* Progress Bar für automatisches Ausblenden */
.wp-c2pa-combined-notification.wp-c2pa-combined-auto-hide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 0 0 16px 16px;
    animation: progressBar 5s linear forwards;
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}
