body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #d1d1d1;
    height: 650px;
    display: flex;
  }
  .sidebar {
    width: 280px;
    background: rgb(44, 62, 80);
    color: #ecf0f1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    margin-top: -24px;
  }
  .sidebar h2 {
    text-align: center;
    margin-bottom: 0px;
  }
  .control-item, .checkbox-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  label {
    font-weight: bold;
  }
  input, select {
    padding: 8px;
    border-radius: 6px;
    border: none;
    outline: none;
  }
  button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #27ae60;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
  }
  button:hover {
    background: #219150;
  }
  .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
  }
  canvas {
    border: 2px solid #bdc3c7;
    border-radius: 10px;
    background: #fff;
  }
  .info-bar {
    margin-top: -7px;
    padding: 10px;
    width: 600px;
    text-align: center;
    background: #dadedf;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .dnload-controls {
    margin-top: 10px;
    display: flex;
    text-align: center;
    justify-content: flex-end;
    gap: 10px;
    width: 600px;
  }

  .info-btn {
    position: fixed;
    top: 5px;
    right: 5px;
    background: rgb(235, 232, 232);
    border: 1px solid #000000;
    border-radius: 50%;
    padding: 4px 14px;
    color: #000000;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
    box-shadow: #2c2c2c 0px 3px 6px;
  }
  .info-btn:hover {
    background: rgba(77, 75, 75, 0.8);
    box-shadow: none;
    color: rgb(255, 255, 255);
  }

  .info-popup {
    position: fixed;
    top: 15px;
    right: 41px;
    background: rgb(240, 238, 238);
    border: 1px solid #000000;
    border-radius: 8px;
    padding: 6px;
    display: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 385px;
    max-height: 171px;
    overflow-y: auto;
    z-index: 1000;
  }
  .info-popup.active {
    display: block;
  }