.wp-c2pa-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    transition: background-color 0.2s;
}

.wp-c2pa-badge:hover {
    background: rgba(0, 0, 0, 0.9);
}

.wp-c2pa-badge.has-credentials {
    background: rgba(40, 120, 40, 0.8);
}

.wp-c2pa-badge.has-credentials:hover {
    background: rgba(40, 120, 40, 1);
}

.wp-c2pa-badge.no-credentials {
    background: rgba(120, 40, 40, 0.8);
}

.wp-c2pa-badge.no-credentials:hover {
    background: rgba(120, 40, 40, 1);
}

.wp-c2pa-badge-icon {
    font-weight: bold;
}

.wp-c2pa-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 90vw;
    width: 500px;
    max-height: 80vh;
    overflow: auto;
}

.wp-c2pa-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.wp-c2pa-panel-header h2 {
    margin: 0;
    font-size: 1.2em;
}

.wp-c2pa-panel-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-c2pa-panel-content {
    padding: 20px;
}

.wp-c2pa-panel-section {
    margin-bottom: 20px;
}

.wp-c2pa-panel-section h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    color: #333;
}

.wp-c2pa-panel-section p,
.wp-c2pa-panel-section ul {
    margin: 0;
}

.wp-c2pa-panel-section ul {
    padding-left: 20px;
}

.wp-c2pa-panel-section details {
    margin-top: 10px;
}

.wp-c2pa-panel-section summary {
    cursor: pointer;
    font-weight: bold;
}

.wp-c2pa-json {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    overflow: auto;
    max-height: 200px;
    font-size: 11px;
    margin-top: 10px;
}

/* Overlay */
.wp-c2pa-panel::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .wp-c2pa-panel {
        width: 95vw;
        max-height: 90vh;
    }
    
    .wp-c2pa-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}
