@charset "utf-8";
/* CSS Document */
body {
      font-family: 'Helvetica Neue', Arial, sans-serif;
      margin: 0 auto;
      padding: 0px;
      background-color: #f5f5f5;
      color: #333;
    }
    .container {
      background-color: white;
      padding: 0px;
    }
    h1 {
      color: #2c3e50;
      text-align: center;
      margin-bottom: 30px;
    }
    .control-panel {
      margin-bottom: 30px;
      position: fixed; 
      bottom: 0; 
      left: 0; 
      z-index: 1; 
      width: 100%;
    }
    .button-row {
      display: flex;
      gap: 10px; 
      justify-content: center;
    }
    .image-preview {
      width: 100%;
      height: 300px;
      background-color: #eee;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .image-preview img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    .status {
      margin-top: 20px;
      padding: 10px;
      border-radius: 4px;
      background-color: #f0f8ff;
      min-height: 100px; 
      display: none;
    }
    button {
      color: white;
      border: none;
      padding: 0; 
      margin: 0;
      border-radius: 50%;
      cursor: pointer; 
      background: none;
      font-size: 16px; 
      width: 80px; 
      height: 80px; 
      text-indent: -9999px; 
      background-color: transparent; 
      background-repeat: no-repeat;
      background-position: center; 
      background-size: 60px;
    }
    button:hover {
    }
    button:disabled {
      background-color: #95a5a6;
      cursor: not-allowed; 
      display: none;
    }
      
    #generateButton { 
      background-image:url("../img/play.svg");
    }
    #stopButton { 
      background-image:url("../img/pause.svg");
    }
    .checkbox-container {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px; 
      display: none;
    }
    .checkbox-container input[type="checkbox"] {
      width: 18px;
      height: 18px;
    }
    .visualizer {
      width: 100%;
      height: 150px;
      position: relative;
      position: fixed; 
      top: 50%; 
      left: 0; 
      transform: translateY(-50%);
      /*overflow: hidden;*/
    }
    .note {
      position: absolute;
      opacity: 1!important; 
      height: 48px!important;
      border-radius: 2px;
     /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);*/
      transition: transform 0.1s ease-out, opacity 0.1s ease-out, background-color 0.1s ease-out;
    }
    #playbackMarker { 
      top: calc(-50svh + 75px)!important;
    }
    .progress-bar {
      margin-top: 10px;
      height: 20px;
      background-color: #ecf0f1;
      border-radius: 10px;
      overflow: hidden; 
      display: none;
    }
    .progress {
      height: 100%;
      width: 0%;
      background-color: #2ecc71;
      transition: width 0.3s;
    }
    .info-panel {
      margin-top: 20px;
      padding: 15px;
      background-color: #f9f9f9;
      border-radius: 4px;
      font-size: 14px; 
      display: none;
    }
    
    .story-panel {
      position: fixed;
      top: 20px;
      right: 20px;
      background-color: rgba(255, 255, 255, 0.9);
      padding: 15px;
      border-radius: 8px;
      font-size: 14px;
      max-width: 250px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: 100;
      display: none!important;
    }
    
    .story-title {
      font-weight: bold;
      color: #2c3e50;
      margin-bottom: 8px;
      font-size: 16px;
    }
    
    .story-description {
      color: #555;
      line-height: 1.4;
      margin-bottom: 10px;
    }
    
    .story-progress {
      width: 100%;
      height: 4px;
      background-color: #ecf0f1;
      border-radius: 2px;
      overflow: hidden;
    }
    
    .story-progress-bar {
      height: 100%;
      background: linear-gradient(90deg, #3498db, #2ecc71, #f1c40f, #e74c3c);
      transition: width 0.3s ease;
    }
    .parameter-display { 
      display: none;
      margin-top: 20px;
      font-size: 14px;
      line-height: 1.5;
    }
    .parameter-display h3 {
      margin-bottom: 10px;
      border-bottom: 1px solid #eee;
      padding-bottom: 5px;
    }
    .performance-stats {
      margin-top: 10px;
      font-size: 13px;
      color: #666;
    }
    .memory-usage {
      display: inline-block;
      margin-left: 15px;
      padding: 3px 8px;
      background-color: #e8f4fc;
      border-radius: 4px;
    }
    .canvas-container {
      width: 100%;
      height: 100svh;
      margin: 0px 0;
      background-color: #2c3e50;
      overflow: hidden;
      position: fixed; 
      top: 0; 
      left: 0;
    }
    #monetCanvas {
      width: 100%;
      height: 100svh;
      position: fixed; 
      top: 0; 
      left: 0;
    }
