/* ========================================
   WP C2PA Viewer Combined - Content Credentials
   Glassmorphism Design
   ======================================== */

/* Plugin-spezifische Styles - Minimal und passiv */
.wp-c2pa-viewer-combined-plugin {
    /* Container für Plugin-spezifische Styles */
}

/* Nur Badge-Bilder filtern - sehr spezifisch */
.wp-c2pa-combined-badge img {
    filter: brightness(0) saturate(100%);
    opacity: 0.9;
}

/* CSS Reset und Basis-Styles - Minimal */

/* ========================================
   THEME-KOMPATIBILITÄTS-MODI
   ======================================== */

/* STANDARD MODUS: Badge schwebt über dem Bild */
.wp-c2pa-combined-badge-container {
    position: relative;
    display: inline-block;
    width: fit-content;
    height: fit-content;
}

/* ========================================
   Badge Styles - Glassmorphism (Einheitlich)
   ======================================== */

.wp-c2pa-combined-badge {
    position: absolute;
    z-index: 10;
    appearance: none;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    font: 500 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
    padding: 10px 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: auto;
    width: auto;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    user-select: none;
    /* Keine doppelten Schatten oder Effekte */
    filter: none;
    transform: none;
    /* Keine Animationen oder Verzerrungen */
    animation: none;
    will-change: auto;
    /* Keine doppelten Schatten */
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

/* Badge-Größen - Wichtig für korrekte Darstellung - KONSISTENT in allen Themes */
.wp-c2pa-combined-badge.badge-size-small {
    font-size: 10px !important;
    padding: 6px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    line-height: 1.2 !important;
    /* Quadratische Form erzwingen */
    aspect-ratio: 1 !important;
}

.wp-c2pa-combined-badge.badge-size-medium {
    font-size: 12px !important;
    padding: 8px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    line-height: 1.2 !important;
    /* Quadratische Form erzwingen */
    aspect-ratio: 1 !important;
}

.wp-c2pa-combined-badge.badge-size-large {
    font-size: 14px !important;
    padding: 10px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    line-height: 1.2 !important;
    /* Quadratische Form erzwingen */
    aspect-ratio: 1 !important;
}

/* Zusätzliche Sicherheit: Alle Badge-Größen überschreiben JavaScript */
.wp-c2pa-combined-badge[style*="font-size"] {
    font-size: inherit !important;
}

.wp-c2pa-combined-badge[style*="padding"] {
    padding: inherit !important;
}

/* Konsolidierte Badge-Regeln für alle Theme-Formate */
.wp-c2pa-combined-badge {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    /* Quadratische Form erzwingen */
    aspect-ratio: 1 !important;
    min-width: 32px !important;
    min-height: 32px !important;
}

/* Badge-Bilder korrekt zentrieren */
.wp-c2pa-combined-badge img {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 auto !important;
}

/* SVG-spezifische Zentrierung */
.wp-c2pa-combined-badge svg {
    display: block !important;
    margin: 0 auto !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

/* Zusätzliche Sicherheit für alle Badge-Inhalte */
.wp-c2pa-combined-badge > * {
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* EINFACHE LÖSUNG: Badge immer 90% transparent - keine Einstellung mehr */
.wp-c2pa-combined-badge {
    /* Basis-Styles - IMMER 90% transparent */
    background: rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #333 !important;
}

/* Style-spezifische Überschreibungen - alle mit 90% Transparenz */
.wp-c2pa-combined-badge.badge-style-outline {
    background: transparent !important;
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.wp-c2pa-combined-badge.badge-style-minimal {
    background: rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #333 !important;
}

.wp-c2pa-combined-badge.badge-style-solid {
    background: rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
    border: none !important;
    color: #333 !important;
}

.wp-c2pa-combined-badge.transparent.badge-style-outline {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.wp-c2pa-combined-badge.transparent.badge-style-solid {
    background: rgba(255, 255, 255, 0.3) !important;
    border: none !important;
    color: #333 !important;
}

/* MINIMAL MODUS: Badge wird neben dem Bild angezeigt */
.wp-c2pa-combined-badge.minimal-mode {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    margin-top: 8px;
}

/* Badge für Bilder ohne C2PA - andere Farbe */
.wp-c2pa-combined-badge.no-credentials {
    background: rgba(5, 150, 105, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 
        0 8px 32px rgba(5, 150, 105, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Badge für KI-generierte Bilder */
.wp-c2pa-combined-badge.ai-generated {
    background: rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    box-shadow: 
        0 8px 32px rgba(220, 38, 38, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Badge Positionen */
.wp-c2pa-combined-img-wrap[data-position="bottom-left"] .wp-c2pa-combined-badge,
.wp-c2pa-combined-img-wrap[data-position=""] .wp-c2pa-combined-badge {
    left: 12px;
    bottom: 12px;
}

.wp-c2pa-combined-img-wrap[data-position="bottom-right"] .wp-c2pa-combined-badge {
    right: 12px;
    bottom: 12px;
}

.wp-c2pa-combined-img-wrap[data-position="top-left"] .wp-c2pa-combined-badge {
    left: 12px;
    top: 12px;
}

.wp-c2pa-combined-img-wrap[data-position="top-right"] .wp-c2pa-combined-badge {
    right: 12px;
    top: 12px;
}

/* Badge Hover und Focus States */
.wp-c2pa-combined-badge:hover { 
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(124, 58, 237, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
    /* Keine doppelten Effekte */
    filter: none;
}

.wp-c2pa-combined-badge.no-credentials:hover {
    box-shadow: 
        0 12px 40px rgba(5, 150, 105, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(5, 150, 105, 0.2);
    border-color: rgba(5, 150, 105, 0.3);
}

.wp-c2pa-combined-badge.ai-generated:hover {
    box-shadow: 
        0 12px 40px rgba(220, 38, 38, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.3);
}

.wp-c2pa-combined-badge:focus { 
    outline: 2px solid rgba(124, 58, 237, 0.5); 
    outline-offset: 2px;
    transform: translateY(-1px);
}

.wp-c2pa-combined-badge:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 4px 16px rgba(124, 58, 237, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Badge Icon - Entfernt, da nur benutzerdefinierte Symbole angezeigt werden sollen */

/* ========================================
   Modal Styles - Glassmorphism
   ======================================== */

#wp-c2pa-combined-modal { 
    position: fixed; 
    inset: 0; 
    z-index: 9999; 
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#wp-c2pa-combined-modal.is-open { 
    display: block; 
}

.wp-c2pa-combined-modal-backdrop { 
    position: absolute; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-c2pa-combined-modal {
    position: relative;
    margin: 5vh auto 0;
    width: min(90vw, 600px);
    max-height: 85vh;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: #f9fafb;
    border-radius: 24px;
    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);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Header - Glassmorphism */
.wp-c2pa-combined-modal-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 16px 20px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-shrink: 0;
    border-radius: 24px 24px 0 0;
    position: relative;
    z-index: 2;
}

.wp-c2pa-combined-modal-title { 
    font: 600 18px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
    color: #f9fafb;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.wp-c2pa-combined-modal-title::before {
    content: "🔗";
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.wp-c2pa-combined-modal-close { 
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); 
    font-size: 20px; 
    cursor: pointer; 
    color: #f9fafb;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wp-c2pa-combined-modal-close:hover { 
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wp-c2pa-combined-modal-close:active {
    transform: scale(0.95);
}

/* ========================================
   Tab Navigation - Glassmorphism
   ======================================== */

.wp-c2pa-combined-tabs { 
    display: flex; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    width: 100%;
    flex-shrink: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.wp-c2pa-combined-tab { 
    flex: 1;
    padding: 16px 12px; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif; 
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
    text-align: center;
    line-height: 1.2;
    min-width: 0;
    border-radius: 0;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    box-sizing: border-box;
}

.wp-c2pa-combined-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f9fafb;
}

.wp-c2pa-combined-tab.is-active { 
    background: rgba(206, 136, 6, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fbbf24;
    border-bottom: 3px solid #fbbf24;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Tab Icons */
.wp-c2pa-combined-tab[data-tab="basic"]::before {
    content: "📋";
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.wp-c2pa-combined-tab[data-tab="extended"]::before {
    content: "🔍";
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.wp-c2pa-combined-tab[data-tab="comparison"]::before {
    content: "⚖️";
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.wp-c2pa-combined-tab[data-tab="raw"]::before {
    content: "📄";
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* ========================================
   Modal Body und Content - Glassmorphism
   ======================================== */

.wp-c2pa-combined-modal-body { 
    padding: 20px; 
    overflow-y: auto !important;
    overflow-x: hidden;
    flex: 1;
    background: rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    min-height: 0;
    max-height: calc(85vh - 120px);
    height: calc(85vh - 120px);
    
    /* Moderner Scrollbalken */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    
    /* Verbesserte Scroll-Performance */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    
    /* Erzwungene Scroll-Funktionalität für Desktop */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: auto;
}

/* Webkit Scrollbalken (Chrome, Safari, Edge) */
.wp-c2pa-combined-modal-body::-webkit-scrollbar {
    width: 8px;
}

.wp-c2pa-combined-modal-body::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.wp-c2pa-combined-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-c2pa-combined-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.wp-c2pa-combined-tabpanel.is-hidden { 
    display: none; 
}

.wp-c2pa-combined-raw { 
    white-space: pre-wrap; 
    word-break: break-word; 
    font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 
    background: rgba(55, 65, 81, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px; 
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 400px;
    overflow: auto;
    color: #f9fafb;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Overview Layout
   ======================================== */

.wp-c2pa-combined-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 12px; 
}

@media (min-width: 640px) { 
    .wp-c2pa-combined-grid { 
        grid-template-columns: 1fr 1fr; 
    } 
}

/* Mobile Optimierung */
@media (max-width: 639px) {
    .wp-c2pa-combined-modal {
        width: 95vw;
        margin: 2vh auto 0;
        max-height: 90vh;
        border-radius: 20px;
    }
    
    .wp-c2pa-combined-modal-body {
        padding: 16px;
        max-height: calc(90vh - 100px);
        height: calc(90vh - 100px);
    }
    
    .wp-c2pa-combined-section {
        margin-top: 8px;
        padding: 8px;
    }
    
    .wp-c2pa-combined-box {
        padding: 6px;
        margin-bottom: 4px;
    }
}

.wp-c2pa-combined-field { 
    font: 600 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif; 
    color: rgba(255, 255, 255, 0.9); 
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.wp-c2pa-combined-value { 
    font: 500 15px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif; 
    color: #f9fafb;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow: hidden;
}

/* Spezielle Behandlung für sehr lange Texte */
.wp-c2pa-combined-value.long-text {
    word-break: break-all;
    font-size: 13px;
    line-height: 1.3;
}

/* Kleinere Schriftgröße in ausklappbaren Feldern */
.wp-c2pa-combined-section details .wp-c2pa-combined-field {
    font-size: 11px !important;
}

.wp-c2pa-combined-section details .wp-c2pa-combined-value {
    font-size: 12px !important;
    line-height: 1.3;
}

.wp-c2pa-combined-section details .wp-c2pa-combined-box-title {
    font-size: 12px !important;
}

/* Kleinere Schriftgröße für Box-Titel in der erweiterten Ansicht */
.wp-c2pa-combined-section .wp-c2pa-combined-box-title {
    font-size: 12px !important;
}

/* Kleinere Schriftgröße für "Details anzeigen" Links */
.wp-c2pa-combined-section details summary {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Optimiertes Text-Wrapping für Bearbeitungsschritte */
.wp-c2pa-combined-section details .wp-c2pa-combined-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.wp-c2pa-combined-section details .wp-c2pa-combined-field {
    font-size: 11px !important;
    font-weight: 600;
}

.wp-c2pa-combined-section details .wp-c2pa-combined-value {
    font-size: 12px !important;
    line-height: 1.3;
    word-wrap: break-word;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.wp-c2pa-combined-sub { 
    font: 400 13px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif; 
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Sections und Boxes - Glassmorphism
   ======================================== */

.wp-c2pa-combined-section { 
    margin-top: 12px; 
    padding: 16px;
    background: rgba(55, 65, 81, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-c2pa-combined-section:hover {
    background: rgba(55, 65, 81, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.wp-c2pa-combined-section-title { 
    font: 600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif; 
    color: #fbbf24; 
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.wp-c2pa-combined-section-title::before {
    content: "✦";
    font-size: 12px;
    opacity: 0.8;
}

.wp-c2pa-combined-box { 
    background: rgba(75, 85, 99, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px; 
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-c2pa-combined-box:hover {
    background: rgba(75, 85, 99, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.wp-c2pa-combined-box-sub { 
    font: 500 14px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif; 
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Stack Layout
   ======================================== */

.wp-c2pa-combined-stack { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

/* ========================================
   Loading Animation - Glassmorphism
   ======================================== */

.wp-c2pa-combined-loading { 
    position: absolute; 
    inset: 0; 
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #f9fafb;
    font: 500 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.wp-c2pa-combined-loading::before {
    content: "⏳";
    margin-right: 8px;
    font-size: 16px;
    animation: spin 1s linear infinite;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* ========================================
   AI Badge Buttons - Glassmorphism Style
   ======================================== */

/* Base AI Badge Style */
.wp-c2pa-ai-badge,
.wp-c2pa-midjourney-badge,
.wp-c2pa-openai-badge,
.wp-c2pa-chatgpt-badge,
.wp-c2pa-sora-badge,
.wp-c2pa-adobe-firefly-badge,
.wp-c2pa-canva-badge,
.wp-c2pa-adobe-photoshop-badge,
.wp-c2pa-adobe-lightroom-badge {
    display: inline-block;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    font: 600 11px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 4px 6px 4px 0;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid;
    cursor: pointer;
}

/* KI Bild Badge - Green */
.wp-c2pa-ai-badge {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-ai-badge:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 
        0 6px 16px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* Midjourney Badge - Red */
.wp-c2pa-midjourney-badge {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    box-shadow: 
        0 4px 12px rgba(220, 38, 38, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-midjourney-badge:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 
        0 6px 16px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* OpenAI Badge - Blue */
.wp-c2pa-openai-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-openai-badge:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 6px 16px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* ChatGPT Badge - Teal */
.wp-c2pa-chatgpt-badge {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.3);
    color: #5eead4;
    box-shadow: 
        0 4px 12px rgba(20, 184, 166, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-chatgpt-badge:hover {
    background: rgba(20, 184, 166, 0.25);
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 
        0 6px 16px rgba(20, 184, 166, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* Sora Badge - Purple */
.wp-c2pa-sora-badge {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
    color: #c4b5fd;
    box-shadow: 
        0 4px 12px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-sora-badge:hover {
    background: rgba(147, 51, 234, 0.25);
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 
        0 6px 16px rgba(147, 51, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* Adobe Firefly Badge - Orange */
.wp-c2pa-adobe-firefly-badge {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.3);
    color: #fdba74;
    box-shadow: 
        0 4px 12px rgba(249, 115, 22, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-adobe-firefly-badge:hover {
    background: rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 
        0 6px 16px rgba(249, 115, 22, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* Canva Badge - Pink */
.wp-c2pa-canva-badge {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.3);
    color: #f9a8d4;
    box-shadow: 
        0 4px 12px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-canva-badge:hover {
    background: rgba(236, 72, 153, 0.25);
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 
        0 6px 16px rgba(236, 72, 153, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* Adobe Photoshop Badge - Blue-Gray */
.wp-c2pa-adobe-photoshop-badge {
    background: rgba(71, 85, 105, 0.15);
    border-color: rgba(71, 85, 105, 0.3);
    color: #cbd5e1;
    box-shadow: 
        0 4px 12px rgba(71, 85, 105, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-adobe-photoshop-badge:hover {
    background: rgba(71, 85, 105, 0.25);
    border-color: rgba(71, 85, 105, 0.4);
    box-shadow: 
        0 6px 16px rgba(71, 85, 105, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* Adobe Lightroom Badge - Dark Blue */
.wp-c2pa-adobe-lightroom-badge {
    background: rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.3);
    color: #a5b4fc;
    box-shadow: 
        0 4px 12px rgba(30, 64, 175, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wp-c2pa-adobe-lightroom-badge:hover {
    background: rgba(30, 64, 175, 0.25);
    border-color: rgba(30, 64, 175, 0.4);
    box-shadow: 
        0 6px 16px rgba(30, 64, 175, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

/* AI Indicator Container */
.wp-c2pa-ai-indicator {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 16px;
    padding: 8px;
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   Bearbeitungsschritte Styling
   ======================================== */

.wp-c2pa-edit-count {
    color: #fbbf24 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 480px) {
    .wp-c2pa-combined-modal {
        width: 98vw;
        margin: 1vh auto 0;
        border-radius: 16px;
    }
    
    .wp-c2pa-combined-modal-header {
        padding: 12px 16px;
        border-radius: 16px 16px 0 0;
    }
    
    .wp-c2pa-combined-modal-body {
        padding: 12px;
        border-radius: 0 0 16px 16px;
    }
    
    .wp-c2pa-combined-section {
        padding: 12px;
        border-radius: 12px;
    }
    
    .wp-c2pa-combined-box {
        padding: 8px;
        border-radius: 8px;
    }
    
    .wp-c2pa-combined-badge {
        min-width: 120px;
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 12px;
        /* Keine doppelten Effekte */
        filter: none;
        transform: none;
    }
}

/* ========================================
   Modal Open State - Prevent Background Scrolling
   ======================================== */

body.wp-c2pa-combined-modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ========================================
   High Contrast Mode Support
   ======================================== */

@media (prefers-contrast: high) {
    .wp-c2pa-combined-modal {
        border: 2px solid #f9fafb;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    }
    
    .wp-c2pa-combined-badge {
        border: 2px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        /* Keine doppelten Effekte */
        filter: none;
        transform: none;
    }
    
    .wp-c2pa-combined-section {
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
}

/* ========================================
   Reduced Motion Support
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .wp-c2pa-combined-badge,
    .wp-c2pa-combined-modal,
    .wp-c2pa-combined-tab,
    .wp-c2pa-combined-section,
    .wp-c2pa-combined-box,
    .wp-c2pa-combined-modal-close {
        transition: none;
        animation: none;
    }
    
    .wp-c2pa-combined-loading::before {
        animation: none;
    }
}

