.tab-info {
  margin-bottom: 1.5rem;
}

.tab-pane h2 {
  margin: 24px 0;
}
@media print {
  .tab-pane h2 {
    margin: 0 0 24px 0;
  }
}

.pb-badge-warning {
  padding-right: 0.5em;
  padding-left: 0.5em;
  border-radius: 10rem;
  color: #000;
  background-color: #f6d167;
  font-size: 65%;
}

.pb-badge-error {
  padding-right: 0.5em;
  padding-left: 0.5em;
  border-radius: 10rem;
  color: #000;
  background-color: #ED5D5E;
  font-size: 65%;
}

.green-text {
  color: #62C107;
}

table.claim-summary-table {
  margin: 0 auto 20px auto;
}
table.claim-summary-table td {
  vertical-align: middle;
  padding: 10px;
}

.claim-tree ul {
  display: table;
  margin-right: auto;
  margin-left: auto;
}

table.claim-table tr:first-child td {
  border-top: 0;
}
table.claim-table td {
  overflow-wrap: anywhere;
}
table.claim-table td:first-child {
  vertical-align: middle;
  padding: 0;
  width: 32px;
}

.text-error {
  color: #ED5D5E !important;
}

.ab-good, .support-good, .rl-good {
  background-color: #62C107 !important;
}

.ab-error, .support-error, .rl-error {
  background-color: #ED5D5E !important;
}

.ab-warning, .support-warning, .rl-warning, .highlight {
  background-color: #f6d167 !important;
}

.numbering-warning-inline {
  background-color: #f6d167;
  padding: 0 4px;
  border-radius: 4px;
}

.numbering-warning {
  display: inline-block;
  text-align: center;
  background-color: #f6d167;
  padding: 1px 4px;
  border-radius: 4px;
  width: 100%;
}

.numbering-error {
  display: inline-block;
  text-align: center;
  background-color: #ED5D5E;
  padding: 1px 4px;
  border-radius: 4px;
  margin-bottom: 4px;
  width: 100%;
}

/* Bootstrap makes this difficult... */
@media print {
  td.rl-good {
    background-color: #62C107 !important;
  }
  td.rl-error {
    background-color: #ED5D5E !important;
  }
  td.rl-warning {
    background-color: #f6d167 !important;
  }
}
.red-under {
  border-bottom: 2px solid #ED5D5E;
}

.indef-np {
  text-decoration: underline;
}

.table-ref-num {
  width: auto !important;
  margin: 20px auto;
}
.table-ref-num th {
  text-align: center;
  vertical-align: middle !important;
}
.table-ref-num td {
  text-align: center;
  vertical-align: middle !important;
}
.table-ref-num td.label-text {
  text-align: left;
  text-decoration: underline;
}
.table-ref-num .label-num {
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}
.table-ref-num .label-text span {
  cursor: pointer;
}

.border-left {
  border-left: 2px solid black !important;
}

.border-right {
  border-right: 2px solid black !important;
}

.border-bottom {
  border-bottom: 2px solid black !important;
}

.border-top {
  border-top: 2px solid black !important;
}

@media print {
  .tab-content > #predictor, .tab-content > #patentplex {
    display: none !important;
  }
  #selected-phrase-box, #selected-phrase-box-inner {
    display: none !important;
  }
}
#selected-phrase-box {
  float: right;
  margin-left: 10px;
  min-height: 80px;
  width: 300px;
}

#selected-phrase-box-inner {
  min-height: 80px;
  width: 300px;
}

.scrolling {
  position: fixed;
  top: 0;
  margin-top: 5px;
}

#profanity-list {
  column-width: 180px;
}

#full-profane-list .modal-dialog {
  overflow-y: initial !important;
}
#full-profane-list .modal-body {
  max-height: 80vh;
  overflow-y: auto;
}

.markup-table {
  width: 100%;
  table-layout: fixed;
}
.markup-table th, .markup-table td {
  width: 50%;
  padding: 5px;
}
.markup-table .claim-markup-error {
  border: 2px solid #ED5D5E;
  background-color: rgb(242.1, 138.9, 139.6166666667);
  font-weight: bold;
  white-space: pre;
}
.markup-table .claim-markup-warning {
  background-color: #f6d167;
  white-space: pre;
}

#claim-word-support .claim-table .support-good, #claim-word-support .claim-table .support-warning, #claim-word-support .claim-table .ab-warning, #claim-word-support .claim-table .ab-error, #claim-word-support .claim-table .red-under, #claim-phrase-support .claim-table .support-good, #claim-phrase-support .claim-table .support-warning, #claim-phrase-support .claim-table .ab-warning, #claim-phrase-support .claim-table .ab-error, #claim-phrase-support .claim-table .red-under, #claim-ab .claim-table .support-good, #claim-ab .claim-table .support-warning, #claim-ab .claim-table .ab-warning, #claim-ab .claim-table .ab-error, #claim-ab .claim-table .red-under {
  cursor: pointer;
}

#claim-numbering .claim-table td:nth-child(2) {
  min-width: 150px;
}

#gen-ai-review .diff-add {
  transition: all 0.5s ease;
  border: 2px solid #62C107;
  background-color: rgb(122.99, 242.215, 8.785);
  font-weight: bold;
  white-space: pre;
}
#gen-ai-review .diff-del {
  transition: all 0.5s ease;
  border: 2px solid #ED5D5E;
  background-color: rgb(242.1, 138.9, 139.6166666667);
  font-weight: bold;
  white-space: pre;
}
#gen-ai-review .diff-add-done {
  transition: all 0.5s ease;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
}
#gen-ai-review .diff-del-done {
  transition: all 0.5s ease;
  font-weight: bold;
  text-decoration: line-through;
}

.tab-content {
  overflow: hidden;
}

.tab-pane {
  overflow-y: auto;
  overflow-x: hidden;
}
