.dashboardContainer { display: grid; grid-template-columns: 2fr 1fr; /* Left = content, Right = logs */ grid-template-rows: auto 1fr auto; /* Header, Main, Footer */ grid-template-areas: "header logs" "main logs" "footer footer"; gap: 1rem; padding: 1rem; background-color: #f5f5f5; font-family: Arial, sans-serif; } /* HEADER */ .experimentOverview { grid-area: header; display: flex; justify-content: space-between; align-items: flex-start; background: #fff; padding: 1rem; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); position: static; /* ensures it scrolls away */ } .phaseProgress { margin-top: 0.5rem; } .phase { display: inline-block; width: 25px; height: 25px; margin: 0 3px; text-align: center; line-height: 25px; background: #ccc; } .completed { background-color: #5cb85c; color: white; } .current { background-color: #f0ad4e; color: white; } .connected { color: green; font-weight: bold; } .pause{ background-color: green; } .next { background-color: #ccc; } .restartPhase{ background-color: rgb(255, 123, 0); } .restartExperiment{ background-color: red; } /* MAIN GRID */ .phaseOverview { grid-area: main; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, auto); gap: 1rem; background: #fff; padding: 1rem; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); } .phaseBox { background: #f9f9f9; border: 1px solid #ddd; padding: 1rem; display: flex; flex-direction: column; box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05); } .phaseOverviewText { grid-column: 1 / -1; /* make the title span across both columns */ font-size: 1.4rem; font-weight: 600; margin: 0; /* remove default section margin */ padding: 0.25rem 0; /* smaller internal space */ } .phaseOverviewText h3{ margin: 0; /* removes top/bottom whitespace */ padding: 0; /* keeps spacing tight */ } .phaseBox h3 { margin-top: 0; border-bottom: 1px solid #ddd; padding-bottom: 0.4rem; } .checked::before { content: '✔️ '; } /* LOGS */ .logs { grid-area: logs; background: #fff; padding: 1rem; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); } .logs textarea { width: 100%; height: 200px; margin-top: 0.5rem; } /* FOOTER */ .controlsSection { grid-area: footer; display: flex; justify-content: space-between; gap: 1rem; background: #fff; padding: 1rem; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); } .gestures, .speech, .directSpeech { flex: 1; } .speechInput { display: flex; margin-top: 0.5rem; } .speechInput input { flex: 1; padding: 0.5rem; border: 1px solid #ccc; } .speechInput button { background: #007bff; color: white; border: none; padding: 0.5rem 1rem; cursor: pointer; } /* RESPONSIVE */ @media (max-width: 900px) { .phaseOverview { grid-template-columns: 1fr; } .controlsSection { flex-direction: column; } }