.content_info {
    margin: 2rem auto 1rem auto;
    max-width: 1200px;
}

.content_info h1 {
    color: #083757;
    display: flex;
    justify-content: space-evenly;
}

.content_info h2 {
    color: #083757;
    display: flex;
    justify-content: space-evenly;
}

.content_info ul{
    padding-left: 20px;
}

.content_info ol{
    padding-left: 20px;
}

.carousel-container_scalplel {
    position: relative;
    width: 100%; /* Контейнер занимает 100% ширины родителя */
    max-width: 500px; /* Максимальная ширина контейнера */
    margin: 40px auto;
    overflow: hidden; /* Скрывает выходящие элементы */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.carousel_scalplel {
    display: flex; /* Слайды идут в строку */
    transition: transform 0.5s ease-in-out; /* Плавное переключение */
}


.carousel-item_scalplel {
    min-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    flex-direction: column;
}


.carousel-item_scalplel img {
    height: 90%; /* Высота изображения равна высоте блока */
    width: auto; /* Ширина изображения адаптируется автоматически */
    object-fit: contain; /* Сохраняет пропорции изображения, не обрезая его */
    border-radius: 10px; /* Закругленные углы */
}

.carousel-arrow_scalplel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.carousel-arrow_scalplel.left-arrow {
    left: 10px;
}

.carousel-arrow_scalplel.right-arrow {
    right: 10px;
}

.carousel-arrow_scalplel:hover {
    background-color: #ffa019;
}

.photo_content {
    min-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}

.photo_content img {
    height: 400px; /* Высота изображения равна высоте блока */
    width: auto; /* Ширина изображения адаптируется автоматически */
    object-fit: contain; /* Сохраняет пропорции изображения, не обрезая его */
    border-radius: 10px; /* Закругленные углы */
}

.custom-list {
    list-style: none; /* Убираем стандартные маркеры списка */
    padding: 0;
}

.content_info ul.custom-list {
    padding-left: 0; /* Убираем отступ */
}

.custom-list li {
    position: relative;
    padding-left: 30px; /* Добавляем отступ слева, чтобы разместить иконку */
    margin-bottom: 10px; /* Расстояние между элементами списка */
}

.custom-list li::before {
    content: ''; /* Пустой контент для псевдоэлемента */
    position: absolute;
    left: 0; /* Размещаем иконку слева */
    top: 50%; /* Центрируем по вертикали */
    transform: translateY(-50%);
    width: 20px; /* Размер иконки */
    height: 20px;
    background-image: url('/static/img/icons/icons.jpg'); /* Указываем путь к вашей иконке */
    background-size: cover; /* Масштабируем иконку по размеру */
    background-repeat: no-repeat; /* Отключаем повторение изображения */
}

.custom-list_1 {
    list-style: none; /* Убираем стандартные маркеры списка */
    padding: 0;
}

.content_info ul.custom-list_1 {
    padding-left: 0; /* Убираем отступ */
}

.custom-list_1 li {
    position: relative;
    padding-left: 30px; /* Добавляем отступ слева, чтобы разместить иконку */
    margin-bottom: 10px; /* Расстояние между элементами списка */
}

.custom-list_1 li::before {
    content: ''; /* Пустой контент для псевдоэлемента */
    position: absolute;
    left: 0; /* Размещаем иконку слева */
    top: 50%; /* Центрируем по вертикали */
    transform: translateY(-50%);
    width: 20px; /* Размер иконки */
    height: 20px;
    background-image: url('/static/img/icons/icons_1.jpg'); /* Указываем путь к вашей иконке */
    background-size: cover; /* Масштабируем иконку по размеру */
    background-repeat: no-repeat; /* Отключаем повторение изображения */
}

.prices-table{
    width: 1100px;
}

.prices-table td {
    text-align: left;
}

.h1_prices{
    text-align: center;
    color: #083757;
}

table tbody tr {
    cursor: grab;
}

table tbody tr:active {
    cursor: grabbing;
    background-color: #f0f8ff;
}


.add-service-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-service-form label {
    font-weight: bold;
}

.add-service-form input {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.add-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.add-button:hover {
    background-color: #218838;
}


@media (max-width: 768px){

    

    .photo_content img {
        height: 200px;
        width: auto;
        object-fit: contain;
        border-radius: 10px;
    }

    .content_info {
        margin: 2rem 1rem;
        max-width: 1200px;
    }

    figcaption{
        padding:10px;
        margin-bottom: 10px;
    }

    figcaption b{
        font-size: small;
    }
}