body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  header {
    background-color: #4b74e0;
    color: white;
    padding: 1rem;
    text-align: center;
  }
  
  main {
    display: flex;
    padding: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  #step-menu {
    flex: 1 1 220px;
    max-width: 240px;
  }
  
  #step-menu ul {
    list-style: none;
    padding: 0;
  }
  
  #step-menu button {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.4rem;
    border: none;
    border-radius: 4px;
    background: #e3e9f9;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  #step-menu button:hover {
    background: #d3ddf4;
  }
  
  #content {
    flex: 3 1 600px;
    max-width: 800px;
  }
  
  #step-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  #step-description p {
    line-height: 1.6;
    margin: 1rem 0;
  }
  
  .nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
  }
  
  button {
    cursor: pointer;
  }
  
  /* CODE BLOCK STYLING */
  pre {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
  }
  
  pre code {
    display: block;
    padding: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Code header bar */
  .code-header-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.2rem;
    background: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 2;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
  
  .language-label {
    font-size: 0.75rem;
    font-weight: bold;
    background: #444;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
  }
  
  .copy-btn {
    background: #4b74e0;
    color: white;
    border: none;
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  .copy-btn:hover {
    background: #3658a0;
  }
  
  /* Reflection */
  #reflection-container {
    font-style: italic;
    color: #444;
    margin-top: 1rem;
  }
  
  #reflection-response {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1rem;
    padding: 0.5rem;
  }
  
  /* Progress bar */
  #progress-container {
    margin: 1rem 0;
  }
  
  progress {
    width: 100%;
    height: 16px;
  }
  
  #progress-text {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.3rem;
  }
  