    .navbar-brand {
      padding-top: 0px;
    }

    .navbar {
      background-color: #fff !important;
      border-bottom: 1px solid #ddd;
    }

    .nav-link {
      font-size: 1.1rem;
    }

    .navbar-toggler {
      outline: none;
      border-color: transparent;
      box-shadow: none !important;
    }

    #formFileLgLabel {
      border: 1px dashed #696969;
      border-radius: 40px;
      padding: 2rem;
      text-align: center;
      width: 100%;
    }

    .mb0 {
      margin-bottom: 0px;
    }

    .context-menu {
      display: none;
      position: fixed;
      background: white;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      min-width: 150px;
      max-width: 300px;
    }

    .context-menu.active {
      display: block;
    }

    .menu-item {
      padding: 8px 12px;
      cursor: pointer;
      border-bottom: 1px solid #eee;
    }

    .menu-item:hover {
      background-color: #f5f5f5;
    }

    .nonactive:hover {
      cursor: default;
      background-color: #fff;
    }

    .nonactive {
      border: 1px solid transparent;
    }

    .nolink {
      color: inherit;
      text-decoration: none;
    }

    .nolink:hover {
      color: rgba(13, 110, 253);
    }

    #ErrorZone,
    #WaitZone {
      text-align: center;
    }

    #textContainer,
    #GrammarContainer {
      text-align: justify;
      text-indent: 27pt;
      font-family: 'Times New Roman', Times, serif;
      font-size: 20px;
      color: #000;
      line-height: 150%;
      word-break: break-all;
    }

    #textContainer {
      border-color: transparent;
      outline: none;
      box-shadow: none;
    }

    #buttonsControlMenuTop {
      margin-bottom: 1rem;
    }

    #userFileNameField {
      word-break: break-all;
    }

    #headingTitleStep {
      font-weight: bold;
      font-size: larger;
    }

    .btn {
      border-radius: 40px;
    }

    #ShowTipsHereidx .alert {
      color: #000;
    }

    .wavy-text-red {
      background-color: #fce8e6;
      text-decoration: underline wavy red;
    }

    .wavy-text-blue {
      background-color: #e6e9fc;
      text-decoration: underline wavy blue;
    }

    mark {
      background-color: #fce8e6;
      text-decoration: underline wavy red;
      padding: 0px;
      color: inherit;
      cursor: pointer;
    }

    ::spelling-error {
      background-color: #fce8e6;
      text-decoration: underline wavy red;
    }

    ::grammar-error {
      background-color: #e6e9fc;
      text-decoration: underline wavy blue;
    }

    [data-error-chosen]:not([data-error-chosen="0"]) {
      background-color: transparent;
      text-decoration: underline wavy transparent;
    }

    .form-check-input[type=checkbox] {
      border-radius: 1000%;
    }

    #BibliographyHeading div.form-check {
      border: 1px solid #dadce0;
      border-radius: 8px;
      padding: 0.5rem;
      padding-left: 1rem;
      margin-bottom: 0.5rem;
    }

    #BibliographyHeading div.form-check label.form-check-label {
      width: 100%;
      word-break: break-all;
    }

    details div.form-check label.form-check-label {
      word-break: break-all;
    }

    /*and*/

    #style_add_data div.form-check {
      border: 1px solid #dadce0;
      border-radius: 8px;
      padding: 0.5rem;
      padding-left: 1rem;
      margin-bottom: 0.5rem;
    }

    #style_add_data div.form-check label.form-check-label {
      width: 100%;
    }

    .doibuttons .btn {
      background: #fff;
      border: 1px solid #dadce0;
      border-radius: 20px;
      color: #474747;
    }

    .doibuttons {
      border: 1px solid #dadce0;
      border-radius: 8px;
      padding: 0.5rem;
      padding-bottom: 1.5rem;
      margin-bottom: 0.5rem;
      margin-top: 0.5rem;
      margin-left: 0.1rem;
      margin-right: 0.1rem;
    }

    .citation_editable_field {
      width: 100%;
      border-color: transparent;
      outline: none;
      box-shadow: none;
      font-family: 'Times New Roman', Times, serif;
      font-size: 18px;
      word-break: break-all;
    }

    .mb05 {
      margin-bottom: 0.5rem;
    }


    details {
      border: 1px solid #aaaaaa;
      border-radius: 4px;
      padding: 0.5em 0.5em 0;
    }

    summary {
      font-weight: bold;
      margin: -0.5em -0.5em 0;
      padding: 0.5em;
    }

    details[open] {
      padding: 1rem;
    }

    details[open] summary {
      border-bottom: 1px solid #aaaaaa;
      margin-bottom: 0.5em;
    }

    .backToTopClass {
      position: fixed;
      bottom: 20px;
      left: 20px;
    }

    .my-2 {
      margin-bottom: 1.5rem !important;
      margin-top: 0.5rem !important;
    }

    .section-title {
      font-size: 16px;
      font-weight: 600;
      color: #0f172a;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    

       .editable-field {
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 6px;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  cursor: text;
  position: relative;
}

.editable-field:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.editable-field:focus {
  outline: none;
  border-color: #007bff;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);

}


.citation_editable_field::before {
    content: "🔒 "; /* Your symbol here */
    font-weight: bold;
    margin-right: 5px;
}


.editnowspan::before {
    content: "✍ "; /* Your symbol here */
    font-weight: bold;
    margin-right: 5px;
}

 .responsive-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

             .loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 18px;
            color: #666;
        }

#documentPreview {
     width: 100%;
            height: 100vh;
            position: relative;
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
}

/*New accordion*/

/* Custom Accordion Styles */
.accordion-button {
  border-radius: 10px !important;
  transition: all 0.3s ease;
  padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(220, 53, 69, 0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.accordion-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion-body {
  background-color: #f8f9fa;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .accordion-icon {
  transform: rotate(180deg);
}

/* Progress bar for error severity */
.progress-wrapper {
  width: 100px;
}

.progress {
  height: 6px;
  border-radius: 3px;
}

.bi-chevron-down::before {
  content: " "!important;
}

.d-flex.align-items-center.gap-2 {
  margin-left: 0.5rem!important;
  margin-right: 1rem!important;
}