/* Compact Dev Panel Styling */
.dev-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 280px;
    max-height: 85vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    z-index: 2147483001;
    display: none;
    font-size: 12px;
}

.dev-drag-handle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    cursor: ns-resize;
}

.dev-content {
    padding: 12px;
}

.dev-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.dev-section {
    margin-bottom: 16px;
}

.dev-section:last-child {
    margin-bottom: 8px;
}

.section-title {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.control-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.control-row:last-child {
    margin-bottom: 0;
}

.control-label {
    font-size: 11px;
    color: #555;
    min-width: 60px;
    margin: 0;
}

.text-input {
    flex: 1;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 11px;
    font-family: monospace;
}

.number-input {
    width: 50px;
    padding: 3px 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 11px;
    text-align: center;
}

.select-input {
    width: 100%;
    padding: 3px 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 11px;
    background: white;
    cursor: pointer;
}

.select-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.slider-input {
    flex: 1;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.value-display {
    font-size: 10px;
    color: #666;
    min-width: 30px;
    text-align: right;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.checkbox-input {
    width: 12px;
    height: 12px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 11px;
    color: #555;
    cursor: pointer;
    margin: 0;
}

.test-btn {
    padding: 4px 8px;
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    margin-left: 6px;
}

.test-btn:hover {
    background: #0056CC;
}

.test-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.close-btn {
    width: 100%;
    padding: 6px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    margin-top: 8px;
}

.close-btn:hover {
    background: #e8e8e8;
}