

 
        :root {
      --bg: #fffbe9;
      --toolbar: #fff3d6;
      --fg: #2d2100;
      --btn: #de9406;
      --border: #de9406;
      --accent: #de9406;
    }

    .container-wasm-editor {
      height: 100%;
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: system-ui, Segoe UI, Roboto, Arial;
      min-height: 90vh;
      box-shadow: 0 0px 10px rgba(0,0,0, 0.3);
    }

    .container-wasm-editor .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 12px;
      background: var(--toolbar);
      border-bottom: 2px solid var(--accent);
      flex-wrap: wrap;
    }

    .container-wasm-editor .toolbar .left {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .container-wasm-editor .toolbar label {
      font-size: 13px;
      color: var(--accent);
    }

    .container-wasm-editor .toolbar input[type="text"] {
      background: #fffbe9;
      color: var(--fg);
      border: 1.5px solid var(--accent);
      padding: 6px 8px;
      border-radius: 6px;
      width: 220px;
      max-width: 100%;
      box-sizing: border-box;
    }

    .container-wasm-editor .toolbar .right {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }

    .container-wasm-editor .toolbar button {
      background: var(--btn);
      color: #fffbe9;
      border: 1.5px solid var(--accent);
      padding: 6px 10px;
      border-radius: 6px;
      cursor: pointer;
      min-width: 90px;
      font-weight: 500;
      transition: background 0.2s, color 0.2s;
    }

    .container-wasm-editor .toolbar button:hover {
      background: #b97a04;
      color: #fff;
    }

    .container-wasm-editor #editor {
      height: calc(100vh - 52px);
      width: 100%;
      background: #fff;
      border: 2px solid var(--accent);
      border-radius: 0 0 8px 8px;
    }

    .container-wasm-editor #containerr {
      height: calc(90vh - 52px);

    }
    .container-wasm-editor .toast {
      position: fixed;
      bottom: 18px;
      left: 50%;
      transform: translateX(-50%);
      background: #fff3d6;
      color: var(--fg);
      border: 1.5px solid var(--accent);
      padding: 8px 12px;
      border-radius: 8px;
      z-index: 999;
      box-shadow: 0 8px 24px rgba(222, 148, 6, 0.15);
    }

    @media (max-width: 700px) {
      .container-wasm-editor .toolbar {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      padding: 8px 6px;
      }

      .container-wasm-editor .toolbar .left,
      .container-wasm-editor .toolbar .right {
      width: 100%;
      justify-content: flex-start;
      gap: 6px;
      }

      .container-wasm-editor .toolbar input[type="text"] {
      width: 100%;
      }

      .container-wasm-editor #editor {
      height: calc(100vh - 110px);
      }
    }

    @media (max-width: 450px) {
      .container-wasm-editor .toolbar button {
      min-width: 70px;
      padding: 6px 6px;
      font-size: 13px;
      }

      .container-wasm-editor .toolbar label {
      font-size: 12px;
      }

      .container-wasm-editor #editor {
      height: calc(100vh - 130px);
      }
    }