main#main{
        width:100%;
    }
    
.tool-main-div {
     background: unset;
    box-shadow: unset !important;
}
textarea#yamlEditor {
    margin: 0 !important;
}    
    
    /* Reusing your existing styles */
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      color: #2c3e50;
      box-sizing: border-box;
    }

    .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: 7px 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;
    }

    .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);
    }

    .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;
    }


   .export-toolbar button {
    padding: 6px 6px;
}
.export-toolbar button img {
    width: 20px;
    height: 20px;
}
.export-toolbar {
    padding: 8px 24px;
    justify-content:flex-end;
}

@media(max-width:1440px){
    .editor, .preview-container {
    display: block !important;
}
.preview, textarea#yamlEditor {
    width:100%;
}
    
}



 

    @media (max-width: 1440px) {
      .tool-main-div { padding: 30px; }
      .yaml-main-div { flex-direction: column; height: auto; }
      .preview, textarea#yamlEditor { height: 50vh; }
    }

    @media (max-width: 767px) {
      .toolbar, .export-toolbar { justify-content: center; }
      button img { width: 20px; height: 20px; }
      .tool-heading { font-size: 2rem; }
      
      .tool-main-div {
    padding: 0;
}
    }