/* Debug Panel Styles */
#debug-panel {
    position: fixed;
    top: 210px; /* 200px tiefer als vorher (10px + 200px) */
    right: 10px;
    width: 350px;
    max-height: 45vh;
    background-color: rgba(0, 26, 46, 0.95);
    border: 2px solid #add8e6;
    padding: 10px;
    overflow-y: auto;
    z-index: 1500;
    font-size: 11px;
    cursor: move;
    user-select: none;
    border-radius: 5px;
}

#debug-panel.hidden {
    display: none;
}

#debug-panel h3 {
    margin-bottom: 15px;
    color: #87ceeb;
    cursor: move;
    font-size: 13px;
    min-height: 20px;
    overflow: visible;
    position: relative;
}

#debug-panel h3::after {
    content: "";
    display: table;
    clear: both;
}

#debug-panel h3 label {
    display: inline-block;
    float: right;
    margin-left: 5px;
    cursor: pointer;
    user-select: none;
}

#debug-panel h3 label input {
    margin-right: 3px;
    cursor: pointer;
}

#debug-content {
    margin-bottom: 10px;
}

.debug-section {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #4682b4;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.debug-section h4 {
    color: #87ceeb;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid #4682b4;
    padding-bottom: 4px;
}

.debug-item {
    display: flex;
    justify-content: space-between;
    margin: 3px 0;
    padding: 2px 0;
    font-size: 10px;
}

.debug-label {
    color: #6495ed;
}

.debug-value {
    color: #add8e6;
    font-weight: bold;
}

.debug-btn {
    display: block;
    width: 100%;
    padding: 6px;
    margin-bottom: 5px;
    background-color: #004400;
    color: #add8e6;
    border: 1px solid #add8e6;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    text-align: left;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.debug-btn:hover {
    background-color: #006600;
}

.debug-btn:active {
    background-color: #002200;
}

.debug-btn:last-child {
    margin-bottom: 0;
}
