/**
 * Log Export Panel Styles
 */

.log-export-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 420px;
    max-height: 480px;
    background: #1e1e1e;
    border: 1px solid #3c3c3c;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    font-family: system-ui, -apple-system, sans-serif;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
}

.log-export-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #3c3c3c;
    background: #252526;
    border-radius: 8px 8px 0 0;
}

.log-export-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.log-export-close {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.log-export-close:hover {
    color: #fff;
}

.log-export-stats {
    display: flex;
    gap: 16px;
    padding: 10px 16px;
    font-size: 12px;
    color: #888;
    background: #252526;
}

.log-export-stats strong {
    color: #e0e0e0;
}

.log-export-stats .stat-error strong {
    color: #f44336;
}

.log-export-stats .stat-warn strong {
    color: #ff9800;
}

.log-export-preview {
    flex: 1;
    overflow: auto;
    padding: 12px 16px;
    max-height: 220px;
}

.log-export-preview pre {
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
    color: #a0a0a0;
}

.log-export-actions {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #3c3c3c;
    flex-wrap: wrap;
}

.log-export-actions button {
    flex: 1;
    min-width: 90px;
    padding: 8px 10px;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    background: #2d2d2d;
    color: #e0e0e0;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.log-export-actions button:hover {
    background: #3c3c3c;
    border-color: #505050;
}

.log-export-actions button.btn-danger {
    background: #3d2020;
    border-color: #5c3030;
}

.log-export-actions button.btn-danger:hover {
    background: #4d2828;
}

.log-export-note {
    margin: 0;
    padding: 10px 16px;
    font-size: 11px;
    color: #666;
    border-top: 1px solid #3c3c3c;
    background: #1a1a1a;
    border-radius: 0 0 8px 8px;
}

/* Responsive for smaller screens */
@media (max-width: 480px) {
    .log-export-panel {
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
    }
}

