body {
    font-family: Arial, sans-serif;
/*    margin: 20px;*/
    background-color: #f4f4f9;
    color: #333;
  }
  
  .form-step {
    display: none;
  }
  
  .form-step.active {
    display: block;
  }
  
  .form-container {
    background: #e4dfdf;
    padding: 0 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  
    margin: 0 auto;
  }
  
  .form-header {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  
  .form-buttons button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .bold {
    font-weight: 600;
}
  button.next {
    background-color: #4caf50;
    color: white;
  }
  
  button.back {
    background-color: #ddd;
    color: #333;
  }
  
  button.next:hover,
  button.back:hover {
    opacity: 0.8;
  }
  
  .form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
  }
  
  .preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  
  .preview-table th,
  .preview-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
  }
  
  .preview-table th {
    background-color: #f4f4f4;
  }
  .form-tabs ul {
    list-style: none;
  }
  .form-container {
    width: 100%;
    margin: 0 auto;
  }
  .form-header h2 {
    text-align: center;
  }
  .form-tabs {
    display: flex;
  
    margin-bottom: 20px;
  }
  .form-tabs .tab {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    /*    margin: 0 10px;*/
  }
  .form-tabs .tab.active {
    background-color: #0073e6;
    color: white;
  }
  .form-step {
    display: none;
  }
  .form-step.active {
    display: block;
  }
  .form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  .preview-table {
    width: 100%;
    border-collapse: collapse;
  }
  .preview-table th,
  .preview-table td {
    padding: 10px;
    border: 1px solid #ddd;
  }
  
  body {
    font-family: "Helvetica", Arial, Helvetica Neue, Arial, sans-serif;
    font-size: 12pt !important;
    color: #101010 !important;
  }
  ol li {
    text-align: justify !important;
    padding-left: 25px !important;
    margin-bottom: 10px !important;
  }
  .bginner {
    max-width: 960px;
    margin: 0 auto;
  }
  #datapreview {
    margin: 0 auto;
  }
  .number {
    font-size: 12pt;
    float: left;
    width: 2%;
    clear: both;
    line-height: 18pt;
  }
  
  .form_text {
    font-size: 12pt;
    line-height: 18pt;
    margin-left: 25pt;
    margin-bottom: 5pt;
    text-align: justify !important;
    display: block;
    text-justify: inter-word;
  }
  .form_text_full {
    text-align: justify !important;
    clear: both;
    margin-top: 12pt;
    font-size: 12pt;
    line-height: 18pt;
    text-justify: inter-word;
  }
  .clear {
    clear: both;
  }
  
  .h2 {
    font-size: 14pt;
    font-weight: 600;
    margin: 10pt 0pt;
  }
  .text_heading {
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 14pt;
    margin: 15pt 0pt;
    text-transform: uppercase;
  }
  .text-center {
    text-align: center;
  }
  .text-bold {
    font-weight: 600;
  }
  p {
    font-size: 12pt !important;
    line-height: 18pt;
    margin: 0 0 0 0;
  }
  .text-bold {
    font-weight: 600;
  }
  
  .lyr {
/*    background-image: url("img/bg.png");*/
    background-repeat: repeat;
    height: 3000pt;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999;
  }
  .bgclass {
    background: #fff;
    background-image: url("../img/watermark.png");
    background-repeat: repeat;
    padding: 15px;
    max-width: 860px;
    margin: 0 auto;
  }
  
  .user-input {
    color: #000;
    font-size: 11pt !important;
  /*  font-weight: bold !important;
*/    font-family: "Helvetica", Arial, sans-serif !important;
  }
  .min-height {
    min-height: 162mm;
    display: contents;
  }
button#generate-pdf-btn {
    background: #8c0a0a;
    padding: 10px;
    float: right;
    color: #fff;
    margin-top: 20px;
    font-size: 14px;
}
  .esign-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  #signature-pad {
    border: 1px solid #000;
    margin: 10px 0;
    height: 200px;
  }
  
  #signature-pad canvas {
    border: 1px solid #ddd;
    width: 100%; /* Adjust for responsiveness */
    height: 200px; /* Fixed height */
  }
  .bgclass2 {
    background: #fff;
    background-image: url(../img/watermark.png);
    background-repeat: repeat;
    padding: 15px;
    margin: 0 auto;
}


/***workspace***/
.doc-workspace {
  display: flex;
  height: 90vh;
  border: 1px solid #ddd;
}

.doc-sidebar {
  width: 280px;
  background: #f9f9f9;
  border-right: 1px solid #ddd;
  padding: 15px 10px;
  overflow-y: auto;
}

.doc-sidebar h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.doc-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 499px;;
}

.doc-sidebar li {
  margin-bottom: 2px;
}

.doc-link {
  display: block;
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
   font-size: 12px;
  color: #333;
  transition: background 0.2s;
  text-transform: capitalize;
}

.doc-link:hover {
    background: #6773f32e;
}

.doc-link.active {
    background: #6773f32e;
    color: #000000;
}

.doc-link small {
  display: block;
  font-size: 11px;
  color: #666;
}

.doc-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.doc-body {
/* background: #fff; */
    padding: 14px 1px;
}
.page-template-page-generator-documents .site-content .ast-container {
        display: flex;
        flex-direction: column;
  }

.page-template-page-generator-documents div#generated-primary {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}
button#downloadBtn {
 background-color: transparent;
    /* fill: var(--e-global-color-astglobalcolor5); */
    color: white;
    background-image: radial-gradient(at center center, #7CA9DD 8%, #5A54FF 100%);
    border-style: none;
    border-radius: 21px 21px 21px 21px;
    font-size: 14px;
    font-weight: 300;
    padding: 12px 11px;
}
.button_box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.center-text {
    margin: 36px;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}


span.credit-button {
    font-size: 13px;
    font-weight: 400;
    /* font-style: italic; */
    margin-left: 10px;
    /* background-image: linear-gradient(to right, #F09819 0%, #EDDE5D 51%, #F09819 100%); */
    /* margin: 10px; */
    padding: 12px 21px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    /* color: white;
    box-shadow: 0 0 20px #eee; */
    /* border-radius: 21px; */
    display: block;
}

.user-info {
position: sticky;
  background: #e9e9e9;
  padding: 10px;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 10px;
   border-radius: 15px;
}
.upgrade-btn {
    background: #151515;
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.upgrade-btn:hover {
  background: #ffffff;
      color: #000000;
}

.user-avatar img {
  border-radius: 50%;
  border: 1px solid #b1a5a5;
}

.user-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-details {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.user-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.remaining-balance {
  font-size: 11px;
  color: #000000; /* gold/yellow highlight */
}
.new-chat-btn {
display: block;
    text-align: left;
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 10px 10px;
    color: #333;
    transition: background 0.2s;
    text-transform: capitalize;
    border-bottom: 1px solid #333;
}