.area-comparison-popup {
  display: none;
  position: absolute;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  padding: 0;
  z-index: 100;
}

html, body {
  padding: 0;
  margin: 0;
}

.area-comparison-popup.active {
  display: block;
}

.area-comparison-popup.folded .comparison-table-box {
  max-height: 700px;
  overflow: auto;
  padding: 28px 28px;
}

.area-comparison-popup-btn {
  position: absolute;
  top: -58px;
  left: calc(50% - 153px);
  margin: auto;
  background-color: #ddebf2;
  width: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 30px;
  border-radius: 30px 30px 0 0;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.area-comparison-popup-btn:hover {
  cursor: pointer;
  background-color: #97d9fa;
}

.area_comparison_table_btn_arrow.folded {
  transform: rotate(180deg);
}

.comparison-table-box {
  background-color: #ffffff;
  border-radius: 15px 15px 0 0;
  padding: 0 28px;
  box-shadow: 0px 4px 40px rgba(166, 166, 166, 0.3);
  overflow: auto;
  max-height: 0;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
  user-select: none;
  border: 0px solid transparent;
}

.comparison-table-box:hover {
  cursor: grab;
}

.comparison-table-box:active {
  cursor: grabbing;
}


.area-comparison-popup-btn p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  margin-right: 15px;
}

.comparison-table-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.comparison-table-block > table {
  width: 100%;
  border-spacing: 3px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table-block > table > thead th {
  background: #ddebf2;
  font-size: 16px;
  color: #333333;
}

.comparison-table-block > table > thead tr:last-child th {
  padding-left: 10px;
  padding-right: 10px;
}

.comparison-table-block > table > thead tr:first-child th {
  text-align: center;
  padding-top: 15px;
  padding-bottom: 15px;
}

.comparison-table-block > table > thead tr:first-child th:first-child {
  text-align: left;
  padding-left: 10px;
  border-radius: 15px 0 0 15px;
}

.comparison-table-block > table > thead tr:first-child th:last-child {
  padding-right: 10px;
  border-radius: 0 15px 0 0;
}

.comparison-table-block > table > thead th {
  text-align: center;
  font-size: 14px;
  padding-bottom: 15px;
}

.comparison-table-block > table > thead tr:first-child th:last-child {
  padding-right: 10px;
  border-radius: 0 15px 15px 0;
}

.comparison-table-block > table tbody tr:first-child td {
  padding: 9px;
  border-bottom: 1px solid #c9d5e0;
}

.comparison-table-block > table tbody tr td {
  font-size: 14px;
  padding: 10px 5px;
  color: #333333;
}

.comparison-table-block > table tbody tr td:first-child {
  padding-left: 10px;
}

.comparison-table-block > table tbody tr:nth-child(n + 2) td {
  font-size: 14px;
  padding: 10px 5px;
  color: #333333;
  border-top: 1px solid #c9d5e0;
}

.comparison-table-block > table tbody tr:nth-child(n + 2) td:last-child {
  padding-right: 10px;
}

.comparison-table-block > table tbody tr:nth-child(n + 2) td p {
  text-align: center;
  margin: 0;
}

.comparison-table-block > table tbody tr:nth-child(n + 2) td div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.comparison-table-block > table tbody tr:nth-child(n + 2) td div img {
  margin: 0 5px;
}

.comparison-table-block > table tbody tr:nth-child(n + 2) td:first-child {
  padding-left: 10px;
}

.scan-size-table {
  background-color: #ffffff;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.scan-size-table > table td,
.scan-size-table > table th {
  font-size: 14px;
  padding: 5px;
  background: #f3f3f3;
  color: black;
}

.wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.pastPhoto,
.currentPhoto {
  margin-bottom: 5px;
  text-align: center;
}

.wrapper-area-comparison {
  visibility: hidden;
  width: fit-content;
  position: relative;
  padding: 10px;
  margin: auto;
  top: 10px;
  background-color: rgb(255, 255, 255);
  border: 0px solid;
  border-radius: 10px;
  box-shadow: rgb(197 205 226 / 90%) 5px 10px 50px;
  z-index: 10;
}

.text-area-comparison-subretinal-fluid > p,
.text-area-comparison-intraretinal-fluid > p {
  margin: 0;
}

.wrapper-menu-signs {
  padding: 5px;
  display: none;
}

.wrapper-menu-fundus-photo-area {
  width: 100%;
  display: flex;
}

.image-menu {
  margin-bottom: 30px;
  height: 100%;
  position: relative;
  background-color: white;
  border-radius: 5px;
  padding: 5px 20px;
}

.window-image {
  position: relative;
  margin: auto;
  padding: 0;
  overflow: hidden;
  background-color: #66616125;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.178);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.596);
}

.signs-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.detection-indicator-macular {
  user-select: none;
  display: flex;
  margin: 10px auto;
  color: #ffffff;
  background-color: lightgray;
  width: 210px;
  height: 40px;
  font-size: 14px;
  border-radius: 55px;
  align-items: center;
  justify-content: space-evenly;
}

.detection-indicator-macular > p {
  margin: 14px 0px;
  font-size: 17px;
  font-weight: 600;
  user-select: none;
  width: 180px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 200px;
}
@media (max-width: 440px) {
  input[type="range"] {
    width: 150px;
  }
}

input[type="range"]:focus {
  outline: none;
}

/* Полоса в Хроме */

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  cursor: pointer;
  background: #d2d2d2;
}

/* Бегунок в Хроме */

input[type="range"]::-webkit-slider-thumb {
  height: 15px;
  width: 30px;
  border-radius: 7.5px;
  background: #4e9be0;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -4.5px;
}

/* Полоса в Мозиле */

input[type="range"]::-moz-range-track {
  height: 8px;
  cursor: pointer;
  background: #d2d2d2;
  border: 1px solid #575656;
}

/* Бегунок в Мозиле */

input[type="range"]::-moz-range-thumb {
  border: 1px solid #000000;
  height: 15px;
  width: 30px;
  border-radius: 40%/60%;
  background: #ffffff;
  cursor: pointer;
}

.slider:hover {
  opacity: 1; /* Полностью отображается при наведении курсора мыши */
}

.btn-zoom-minus,
.btn-zoom-plus {
  display: flex;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 100%;
  border: 1px solid #d2d2d2;
  user-select: none;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
}

.btn-zoom-minus img,
.btn-zoom-plus img {
  width: 100%;
}

.btn-zoom-minus:hover,
.btn-zoom-plus:hover {
  cursor: pointer;
}

.btn-zoom-minus:active,
.btn-zoom-plus:active {
  cursor: pointer;
  box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.button-sign,
.btnActiveOriginalImage,
.btnMacula,
.btnMacula500Micron,
.btnQuadrants,
.btnActivePostProcessImage {
  display: inline-flex;
  margin: 10px;
  background-color: #f2f5f8;
  border: 1px solid rgba(228, 228, 233);
  width: 200px;
  height: 40px;
  text-align: center;
  letter-spacing: 0;
  border-radius: 55px;
  border: rgb(26, 131, 0) 1.5px solid;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), -4px -4px 0px rgba(255, 255, 255, 0.25);
  justify-content: space-evenly;
  align-items: center;
}

.button-sign > p,
.btnActiveOriginalImage > p,
.btnMacula > p,
.btnMacula500Micron > p,
.btnQuadrants > p,
.btnActivePostProcessImage > p {
  margin: 14px 0px;
  font-size: 14px;
  user-select: none;
  width: 140px;
}

.button-sign:hover,
.btnActiveOriginalImage:hover,
.btnMacula:hover,
.btnMacula500Micron:hover,
.btnQuadrants:hover,
.btnActivePostProcessImage:hover {
  cursor: pointer;
  background-color: #fcfdfd;
  border: 1px solid rgba(228, 228, 233);
  color: #000000;
}

.button-sign:active,
.btnActiveOriginalImage:active,
.btnMacula:active,
.btnMacula500Micron:active,
.btnQuadrants:active,
.btnActivePostProcessImage:active {
  box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.button-sign-active,
.btnActiveOriginalImage-active,
.btnMacula-active,
.btnMacula500Micron-active,
.btnQuadrants-active,
.btnActivePostProcessImage-active {
  display: inline-flex;
  margin: 10px;
  background-color: rgba(255, 255, 255, 1);
  color: #000000;
  border: 1px solid rgba(228, 228, 233);
  width: 200px;
  height: 40px;
  text-align: center;
  letter-spacing: 0;
  border-radius: 55px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0), -4px -4px 0px rgba(255, 255, 255, 0);
  justify-content: space-evenly;
  align-items: center;
}

.button-sign-notactive {
  display: inline-flex;
  margin: 10px;
  background-color: #f2f5f8;
  color: #979797;
  border: 1px solid rgba(228, 228, 233);
  width: 200px;
  height: 40px;
  text-align: center;
  letter-spacing: 0;
  border-radius: 55px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), -4px -4px 0px rgba(255, 255, 255, 0.25);
  justify-content: space-evenly;
  align-items: center;
}

.button-sign-notactive > p {
  margin: 0;
  font-size: 14px;
  user-select: none;
  width: 140px;
}

.button-sign-notactive:hover {
  cursor: not-allowed;
}

.box-btns-image-control {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-new-image {
  border: 0px solid;
  height: 40px;
  color: #5a98d0;
  text-align: center;
  letter-spacing: 0;
  border-radius: 55px;
}

.btn-new-image:hover {
  cursor: pointer;
  color: #1b619b;
}

.btn-new-image > p {
  margin: 14px 0px;
  user-select: none;
}

.btn-color {
  width: 13px;
  height: 13px;
  border-radius: 26px;
}

/* Дропзона */

.wrap-dropzone {
  display: block;
  max-width: 1128px;
  padding: 62px 66px;
  background-color: rgb(255, 255, 255);
  margin: 10px auto;
  border: 0px solid;
  border-radius: 20px;
  box-shadow: 5px 10px 50px rgba(197, 205, 226, 0.9);
}

.top-drop-menu-image-processing {
  display: flex;
  justify-content: center;
}

.wrap-dropzone-image-processing {
  display: block;
  max-width: 1128px;
  padding: 62px 66px;
  background-color: rgb(255, 255, 255);
  margin: 10px auto;
  border: 0px solid;
  border-radius: 20px;
  box-shadow: 5px 10px 50px rgba(197, 205, 226, 0.9);
}

.inner-dropzone {
  cursor: pointer;
  display: flex;
  height: 485px;
  padding: 20px 5px;
  border: 2px dotted #d2d2d2;
  background-color: rgb(255, 255, 255);
  text-align: center;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.containerDropzone {
  user-select: none;
  text-align: center;
}

.containerDropzone > p {
  margin: 5px;
}

.button-faq,
.button-save-conclusion,
.button-save-photo,
.button-reporting-errors {
  height: 40px;
  user-select: none;
  display: flex;
  margin: 10px;
  color: #5a98d0;
  border: 2px solid #5a98d0;
  font-size: 14px;
  border-radius: 55px;
  align-items: center;
  justify-content: space-evenly;
}

.button-faq:hover,
.button-save-conclusion:hover,
.button-save-photo:hover,
.button-reporting-errors:hover {
  cursor: pointer;
  border: 2px solid #1b619b;
  color: #1b619b;
}

.form-comment {
  width: 100%;
  resize: none;
  height: 130px;
  margin-bottom: 30px;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #333333;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: 0 0 0px #0082f3;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-comment:focus {
  box-shadow: 0 0 10px #0082f3;
}

.zoom-container {
  position: absolute;
  display: flex;
  bottom: 10px;
  left: calc(50% - 129px);
  z-index: 100;
  flex-direction: row;
}

.menu-past-photo {
  width: 100%;
  flex-direction: column-reverse;
  align-items: center;
}

.menu-past-photo > .menu-fundus-photo-area {
  width: 100%;
  padding: 0;
  margin-left: 0;
}

.menu-current-photo {
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.menu-current-photo > .menu-fundus-photo-area {
  width: 100%;
  padding: 0;
  margin-right: 0;
}

.left-menu-mobile {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 70;
  top: 0;
  left: -250px;
  background-color: #ffffff;
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 0px 17px -1px rgba(34, 60, 80, 0.06);
}

.btn-left-menu-mobile {
  height: 45px;
  width: 25px;
  display: flex;
  background-color: #5a98d0;
  border-radius: 0px 5px 5px 0px;
  position: fixed;
  left: 0;
  margin-top: 15px;
  z-index: 70;
  transition: 0.5s;
  align-items: center;
  justify-content: center;
  padding-right: 5px;
}
.btn-left-menu-mobile > img {
  transform: rotate(0deg);
}

.photo-requirements-list {
  font-size: 18px;
  text-align: justify;
  padding-inline-start: 30px;
}
.photo-requirements-list > li {
  margin-bottom: 8px;
  padding-left: 5px;
}

.photo-requirements-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  height: 90%;
  margin-top: 20px;
  transform: translate(-50%, -50%);
  padding: 30px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px #000;
}

.fundus-agreement-window {
  height: calc(100% - 180px);
  padding-right: 10px;
  overflow: auto;
  margin-bottom: 20px;
}

.left-menu-btn-fundus {
  height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  justify-content: center;
}

.button-upload-photo {
  padding: 15px;
  margin: auto;
  padding: 0 70px;
  height: 46px;
  text-align: center;
  align-items: center;
  border: 1px solid #4e9be0;
  border-radius: 23px;
  color: #4e9be0;
  background-color: white;
}

.button-upload-photo:hover {
  color: #007bff;
  border: 2px solid #007bff;
  cursor: pointer;
}

.iconLoadingPhoto {
  width: 150px;
  margin: auto;
  display: none;
}
.text-sign-not-found {
  font-weight: bold;
}

.form-field {
  display: block;
  width: 100%;
  height: 35px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: 0 0 0px #0082f3;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.container-calculated-area-subretinal-fluid,
.container-calculated-area-intraretinal-fluid {
  display: flex;
  padding: 5px;
  border-radius: 5px;
  flex-direction: column;
  align-items: center;
}

.container-calculated-area-subretinal-fluid > div,
.container-calculated-area-intraretinal-fluid > div {
  display: flex;
  padding: 5px;
  align-items: flex-end;
}

.container-calculated-area-subretinal-fluid {
  border: 2px solid #1cec00;
  margin-bottom: 10px;
}

.container-calculated-area-intraretinal-fluid {
  border: 2px solid #00c8ff;
}

.scan-dimensions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.scan-dimensions-width,
.scan-dimensions-height {
  margin: 0 0 5px 0;
  display: flex;
  justify-content: center;
}

.scan-width-value,
.scan-height-value {
  margin: 0;
}

.area-comparison-table-report > thead th {
  background: #dadada;
  color: black;
}

.area-comparison-table-report td,
.area-comparison-table-report th {
  font-size: 15px;
  padding: 10px 5px;
  background: #f3f3f3;
  color: black;
}

.info-diagnosis-fundus {
  text-align: center;
  min-width: 530px;
  padding: 10px 30px;
  background-color: rgb(255, 255, 255);
  border: 0px solid;
  border-radius: 20px;
  margin: 0 5px 10px 5px;
  box-shadow: rgb(197 205 226 / 40%) 0px 0px 4px 2px;
}

.clarification-question-icon {
  width: 20px;
  position: absolute;
  top: 0;
  right: 0;
}

.clarification-question-icon:hover {
  cursor: pointer;
}

.clarification-question-icon:hover + .clarification-text-block {
  display: block;
}

.clarification-text-block__pastPhoto {
  text-align: justify;
  display: none;
  z-index: 100;
  padding: 20px;
  position: absolute;
  top: -50px;
  left: 255px;
  width: 350px;
  background: #e2e6ea;
  border: 1px solid #e2e6ea;
  box-sizing: border-box;
  box-shadow: rgb(197 205 226 / 40%) 0px 0px 4px 2px;
  border-radius: 20px;
}

.clarification-text-block__pastPhoto:after {
  content: "";
  border: solid transparent;
  position: absolute;
  right: 100%;
  top: 50%;
  border-right-color: #e2e6ea;
  border-width: 12px;
  margin-top: 0;
}

.clarification-text-block__currentPhoto {
  text-align: justify;
  display: none;
  z-index: 100;
  padding: 20px;
  position: absolute;
  top: -50px;
  left: -180px;
  width: 350px;
  background: #e2e6ea;
  border: 1px solid #e2e6ea;
  box-sizing: border-box;
  box-shadow: rgb(197 205 226 / 40%) 0px 0px 4px 2px;
  border-radius: 20px;
}

.clarification-text-block__currentPhoto:after {
  content: "";
  border: solid transparent;
  position: absolute;
  left: 100%;
  top: 50%;
  border-right-color: #e2e6ea;
  border-width: 12px;
  margin-top: 0;
  transform: rotate(180deg);
}

.clarification-question-icon:hover + .clarification-text-block__pastPhoto {
  display: block;
}

.clarification-question-icon:hover + .clarification-text-block__currentPhoto {
  display: block;
}

.detection-indicator-macular {
  user-select: none;
  display: flex;

  margin: 10px auto;
  color: #ffffff;
  /*background-color: #5a98d0;*/
  background-color: lightgray;
  width: 210px;
  height: 40px;
  font-size: 14px;
  border-radius: 55px;
  align-items: center;
  justify-content: space-evenly;
}

.detection-indicator-macular > p {
  margin: 14px 0px;
  font-size: 17px;
  font-weight: 600;
  user-select: none;
  width: 180px;
}

/* Круговая диаграмма по четвертям */

.quarters-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 10px auto;
}

.quarter {
  position: absolute;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  width: 50%;
  height: 50%;
  justify-content: space-evenly;
}
.quarter > p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.quarter1 {
  top: 0;
  left: 0;
  border: 1px solid black;
  /* background-color: red; */
  border-radius: 100% 0 0 0;
}

.quarter2 {
  top: 0;
  right: 0;
  border: 1px solid black;
  /* background-color: blue; */
  border-radius: 0 100% 0 0;
}
.quarter3 {
  bottom: 0;
  right: 0;
  border: 1px solid black;
  /* background-color: green; */
  border-radius: 0 0 100% 0;
}

.quarter4 {
  bottom: 0;
  left: 0;
  border: 1px solid black;
  /* background-color: orange; */
  border-radius: 0 0 0 100%;
}

/* второй вариант */
/* Общий контейнер */
.circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 20px; /* Отступ снизу */

}

/* Круг */
.circle {
  width: 70px;
  height: 70px;
  background-color: white;
  border: 1px solid black;   /* Черный контур толщиной 5px */
  border-radius: 50%; /* Создаем круг */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Линии */
.line {
  position: absolute;
  background-color: black; /* Цвет линий */
}

/* Горизонтальная линия */
.horizontal {
  width: 80%; /* Длина линии */
  height: 2px; /* Толщина линии */
  top: 50%;
  transform: translateY(-50%);
}

/* Вертикальная линия */
.vertical {
  width: 2px; /* Толщина линии */
  height: 80%; /* Длина линии */
  left: 50%;
  transform: translateX(-50%);
}

/* Стрелки */
.arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

/* Стрелка влево */
.horizontal .left {
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 10px 5px 0;
  border-color: transparent black transparent transparent;
}

/* Стрелка вправо */
.horizontal .right {
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 0 5px 10px;
  border-color: transparent transparent transparent black;
}

/* Стрелка вверх */
.vertical .top {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 5px 10px 5px;
  border-color: transparent transparent black transparent;
}

/* Стрелка вниз */
.vertical .bottom {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 5px 0 5px;
  border-color: black transparent transparent transparent;
}

/* Текст сверху */
.text-top {
  margin-bottom: 5px; /* Расстояние от текста до круга */
  font-size: 16px;
  color: black;
}

/* Текст слева */
.text-left {
  position: absolute;
  left: -40px; /* Расстояние от текста до круга */
  top: 65%;
  transform: translateY(-50%);
  font-size: 16px;
  color: black;
}

/* ISNT диаграмма */
body {
  font-family: Arial, sans-serif;
  text-align: center;
}

.isnt-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100px;
  margin-top: 40px;
  margin-bottom: 10px; /* Отступ снизу */
  gap: 10px;
  width: 200px;
}

/* .bar {
  width: 50px;
  background-color: green;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bar.red {
  background-color: red;
}

.label {
  position: absolute;
  bottom: -30px;
  font-size: 14px;
} */

.bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.value {
  font-size: 14px;
  margin-bottom: 5px; /* Отступ между текстом и столбцом */
  position: absolute;
  top: -20px; /* Текст всегда над столбцом */
}

.bar {
  width: 20px;
  background-color: green;
  position: relative;
}

.bar.red {
  background-color: black;
}

.label {
  font-size: 14px;
  margin-top: 5px; /* Отступ между столбцом и меткой */
}

.value {
  position: absolute;
  top: -20px;
  font-size: 14px;
}

/* Шкала DDLS */
.dlc-scale-container {
    width: 100%;
    max-width: 210px;
    margin: 5px auto;
    font-family: Arial, sans-serif;
}

.dlc-scale {
    position: relative;
    height: 20px;
    margin: 20px 0;
    background: linear-gradient(to right, green 0%, yellow 40%,red 70%);
    border-radius: 10px;
}

.dlc-pointer {
    position: absolute;
    top: -15px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #333;
    transform: translateX(-50%);
    transition: left 0.3s ease;
}

.dlc-value-display {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: bold;
    display: none;
    /* display: none !important; */
}

.dlc-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.dlc-marker {
    font-size: 12px;
}

/* css for cd table in monitoring */

.cd-table {
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-collapse: collapse;
    background-color: #f5f5f5;
  }

.cd-table td {
  padding: 1px;
  border-bottom: 1px solid white;
}
.cd-table td:first-child {
  border-right: 1px solid white;
}
.cd-table tr:last-child td {
  border-bottom: none;
}

/* css for report */
.scan-slice-images,
.scan-slice-3d-images {
    width: 100%;
    padding: 10px 0;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    grid-gap: 20px;
}

.scan-slice-images__first,
.scan-slice-images__center,
.scan-slice-images__last {
    width: 100%;
}

.scan-slice-3d-images__first,
.scan-slice-3d-images__center,
.scan-slice-3d-images__last {
    width: 100%;
}

.scan-slice-images p {
    width: 100%;
    text-align: center;
    margin: 0;
}

.scan-slice-images img {
    height: 240px;
    width: 100%;
    object-fit: contain;
}

@media (max-width: 1640px) {
  .photo-requirements-popup-content {
    width: 70%;
    height: 87%;
    padding: 30px;
  }

  .fundus-agreement-window {
    height: calc(100% - 240px);
  }
}

@media (max-width: 1440px) {
  .signs-btns {
    justify-content: center;
  }

  .area-comparison-popup {
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .photo-requirements-popup-content {
    width: 95%;
    height: 87%;
    padding: 10px;
  }

  .area-comparison-popup {
    padding: 0 5px;
  }
}

@media (max-width: 750px) {
  .fundus-agreement-window {
    height: calc(100% - 270px);
  }

  .comparison-table-block {
    display: block;
  }
  .comparison-table-box {
    padding: 28px 0;
  }
}

@media (max-width: 660px) {
  .inner-dropzone {
    height: auto;
  }

  .top-drop-menu-image-processing {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .wrap-dropzone-image-processing {
    padding: 20px 20px;
  }

  .wrap-dropzone {
    padding: 20px 20px;
  }
}

@media (max-width: 440px) {
  input[type="range"] {
    width: 150px;
  }
}

@media (max-width: 400px) {
  .fundus-agreement-window {
    height: calc(100% - 300px);
  }
}
