.tool-main-div {
      max-width: 1920px;
      margin: 0 auto;
      padding: 40px 60px;
      box-sizing: border-box;
    }

    .tool-heading {
      text-align: center;
      font-size: 2.8rem;
      font-weight: 700;
      color: #1e2a38;
      margin-bottom: 30px;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .yaml-main-div {
      display: flex;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
      overflow: hidden;
      height: 82vh;
    }

    .editor, .preview-container {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .toolbar, .export-toolbar {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px 24px;
      background-color: #f1f5fa;
      border-bottom: 1px solid #dee4ec;
      flex-wrap: wrap;
    }

    .toolbar button,
    .export-toolbar button {
      background: #ffffff;
      border: 1px solid #dcdfe4;
      border-radius: 8px;
      padding: 8px 10px;
      cursor: pointer;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
      transition: all 0.25s ease;
      height:45px;
    }

    .toolbar button:hover,
    .export-toolbar button:hover {
      background-color: #eaf3ff;
      border-color: #a4c8f0;
    }

    .toolbar button img,
    .export-toolbar button img {
      width: 24px;
      height: 24px;
      filter: grayscale(30%) brightness(90%);
      transition: 0.3s ease;
    }

    .toolbar button:hover img,
    .export-toolbar button:hover img {
      filter: none;
    }

    textarea#yamlEditor {
      flex: 1;
      padding: 24px;
      font-family: 'Source Code Pro', monospace;
      font-size: 16px;
      border: none;
      outline: none;
      background: #fcfcfc;
      color: #333;
      resize: none;
      box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.03);
      margin: 0;
    }

    .preview-container {
      background-color: #fafafa;
      border-left: 1px solid #dee4ec;
    }

    .preview {
      flex: 1;
      padding: 24px 32px;
      overflow-y: auto;
      font-family: 'Georgia', serif;
      font-size: 16px;
      line-height: 1.6;
      color: #222;
    }

   @media (max-width: 1440px) {
  .tool-main-div { padding: 30px; }
  .yaml-main-div {
    flex-direction: column;
    height: 100vh;
  }
  .editor,
  .preview-container {
    height: 50vh;
  }
  .preview,
  textarea#yamlEditor {
    height: 100%;
  }
}


    @media (max-width: 768px) {
      .toolbar, .export-toolbar { justify-content: center; }
      button img { width: 20px; height: 20px; }
      .tool-heading { font-size: 2rem; }
      .tool-main-div {
    padding: 0 !important;
}
    }
    
    

main#main {
    width: 100%;
    padding: 0 15px;
}
.tool-main-div {
    background: unset !important;
    box-shadow: unset !important;
}