html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* ヘッダーエリアのスタイル追加 */
.header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: #eee;
  border-bottom: 1px solid #ccc;
}

.file-ops button {
  font-size: 14px;
  transform: none; /* 下部の巨大ボタンのスタイルを打ち消し */
  margin: 5px;
  padding: 5px 10px;
  left: auto;
}

.container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 10px;
}

.panel {
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blocklyDiv {
  height: 400px;
  width: 100%;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.codeArea {
  width: 100%;
  padding: 10px;
  background: #f3f3f3;
  border: 1px solid #ccc;
  margin-top: 10px;
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 14px;
  overflow-y: auto;
  min-height: 100px;
  box-sizing: border-box;
}

/* 下部の生成ボタン用 */
.panel > button {
  margin: 10px;
  transform: scale(1.5);
  transform-origin: center;
  position: relative;
  left: 20px;
}