.instalation_body {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.reports_count {
    display: flex;
    flex-direction: row;
    color: #4CAF50;
    justify-content: center;
    margin-bottom: 6px;
    font-style: italic;
}

.reports_count div {
    margin: 0 6px;
}

.instalation_body table {
    width: 100%;
}

.brand_list, 
.report_list {
    border-radius: 4px;
    background-color: #777777;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    padding: 4px;
}

.report_list {
    margin-left: 6px;
}

.brand_item,
.report_item {
    cursor: pointer;
    text-align: left;
    padding: 3px 4px;
    border-bottom: 1px solid #adadad    ;
}

.report_item {
    display: flex;
    flex-direction: row;
}

.brand_item.active {
    color: #4CAF50;
    text-decoration: underline;
}

.brand_item:hover,
.report_item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.report_item .photo {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
    margin-right: 10px;
}

.report_item span {
    font-weight: normal;
}

img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.report {
    flex-grow: 1;
}

.report_comment {
    margin-top: 4px;
    padding: 3px 10px;
    background-color: #d6d6d6;
    border-radius: 4px;
    font-style: italic;
    font-weight: normal;
    color: rgb(27, 27, 27);
    font-size: 13px;
}

/* #region панель назад */

.to_back {
    display: flex;
    flex-direction: row;
    height: 50px;
    align-items: anchor-center;
}

.arrow_nav {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    border-radius: 40px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.arrow_1 {
    fill: #292929;
}

.arrow_nav:hover .arrow_2 {
    fill: #4CAF50;
}

.label {
    font-weight: 400;
    font-size: 20px;
}

/*#endregion панель назад */

/*#region отчет */

.r_content {
    margin-top: 10px;
    background-color: #adadad;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

.data_vencihe {
    font-weight: 600;
    font-size: 18px;
}

.row_report {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.data_report {
    flex-grow: 1;
    padding-right: 10px;
}

.data_photo {
    width: 100px;
    height: 100px;
    background-color: #777777;
}

.data_vencihe span {
    font-weight: normal;
}

.data_comment {
    margin-top: 4px;
    padding: 3px 10px;
    background-color: #d6d6d6;
    border-radius: 4px;
    font-style: italic;
    font-weight: normal;
    color: rgb(27, 27, 27);
    font-size: 13px;
    white-space: pre-wrap; /* Сохраняем пробелы и переносы строк */
    word-wrap: break-word; /* Переносим длинные слова */
}

.data_photo {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.data_create {
    font-style: italic;
    margin-top: 10px;
    font-size: 14px;
}



/*#endregion отчет */

/*#region Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .report_item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .row_report {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .data_photo {
        margin-top: 10px;
    }
    
    .brand_list {
        margin-bottom: 10px;
    }
    
    .report_list {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .instalation_body {
        padding: 5px;
    }
    
    .brand_item,
    .report_item {
        padding: 2px 3px;
        font-size: 14px;
    }
    
    .report_item .photo {
        width: 80px;
        height: 80px;
    }
    
    .data_photo {
        width: 150px;
        height: 150px;
    }
    
    .label {
        font-size: 18px;
    }
    
    .data_vencihe {
        font-size: 16px;
    }
    
    .r_content {
        padding: 5px;
    }
}

/*#endregion Медиа-запросы для мобильных устройств */

/*#region Стили для горизонтального слайдера изображений */

.image-slider {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 5px 0;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-track .pictures {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.pictures {
    cursor: pointer;
}

.slider-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: none; /* Скрываем кнопки по умолчанию */
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background-color: #45a049;
}

.prev-btn {
    margin-right: 10px;
}

.next-btn {
    margin-left: 10px;
}
/*#endregion Стили для горизонтального слайдера изображений */

/* #region Комментарии */

.comments {
    background-color: #777777;
    color: whitesmoke;
    font-style: italic;
    padding: 8px;
    border-radius: 8px;
}

.comments::before {
    content: "Комментарии пользователей :"; 
    display: block;
    clear: both;
}

.comment {
    padding: 8px;
    background-color: #292929;
    border-radius: 6px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-top: 8px;
}

.comment_author {
    color: #8d8d8d;
    font-size: 14px;
}

.comment_text {
    padding-left: 20px;
}

.comment_photo {
    margin-top: 10px;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/*#endregion Комментарии */

/* Стили для модального окна просмотра изображений */
#imageViewerModal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,1);
}

#imageViewerModal.show {
  display: block;
}

#imageViewerModal .modal-content-viewer {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#imageViewerModal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
}

#imageViewerModal .close:hover {
  color: #bbb;
}

#imageViewerModal .main-image {
width: 100%;
height: 100%;
object-fit: contain;
transition: opacity 0.3s ease;
cursor: pointer;
}

#imageViewerModal .nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 36px;
  padding: 20px;
  cursor: pointer;
  z-index: 1002;
  transition: background-color 0.3s;
}

#imageViewerModal .nav-button:hover {
background-color: #4CAF50;
}

#imageViewerModal .prev-button {
  left: 20px;
}

#imageViewerModal .next-button {
  right: 20px;
}