.debug-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    transition: height 0.3s ease;

    z-index: 1000;
}

.debug-panel.collapsed {
    height: 30px;
    overflow: hidden;
}

.debug-panel.expanded {
    height: 300px;
}

.debug-header {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid #333;
}

.debug-title {
    flex: 1;
    font-weight: bold;
}

.debug-toggle,
.debug-clear {
    background: none;
    border: 1px solid #666;
    color: #fff;
    padding: 2px 8px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.debug-toggle:hover,
.debug-clear:hover {
    background-color: #333;
}

.debug-content {
    height: calc(100% - 30px);
    overflow-y: auto;
    padding: 5px;
}

.debug-message {
    padding: 2px 5px;
    border-bottom: 1px solid #333;
    word-break: break-all;
}

.debug-timestamp {
    color: #888;
    margin-right: 10px;
}

.debug-type {
    font-weight: bold;
    margin-right: 10px;
    min-width: 50px;
    display: inline-block;
}

.debug-log .debug-type { color: #0f0; }
.debug-error .debug-type { color: #f00; }
.debug-warn .debug-type { color: #ff0; }
.debug-info .debug-type { color: #0ff; }
.debug-debug .debug-type { color: #f0f; }

.debug-text {
    color: #fff;
} 