.salon-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
}
.data-salon span {
    font-weight: bold;
    font-size: 16px;
}
.salon-block-info p {
    padding: 15px;
}
.salon-block-data {
    padding-top: 2%;
}

.admin-salon-block {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    padding: 10px;
    background: #e0ebef;
    justify-content: space-between;
}

.block-info-addsal {
    width: 100%;
    max-height: 500px;
    padding: 2%;
}

.salon_info {
    height: 400px!important;
}

.input-file-row {
    display: inline-block;
    padding-left: 1%;
}
.input-file {
    position: relative;
    display: inline-block;
}
.input-file span {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    font-size: 14px;
    vertical-align: middle;
    color: rgb(255 255 255);
    text-align: center;
    border-radius: 4px;
    background-color: #419152;
    line-height: 22px;
    height: 40px;
    padding: 10px 20px;
    box-sizing: border-box;
    border: none;
    margin: 0;
    transition: background-color 0.2s;
}
.input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}

/* Focus */
.input-file input[type=file]:focus + span {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Hover/active */
.input-file:hover span {
    background-color: #59be6e;
}
.input-file:active span {
    background-color: #2E703A;
}

/* Disabled */
.input-file input[type=file]:disabled + span {
    background-color: #eee;
}

/* Список c превью */
.input-file-list {
    padding: 10px 0;
}
.input-file-list-item {
    display: inline-block;
    margin: 0 15px 15px;
    width: 150px;
    vertical-align: top;
    position: relative;
}
.input-file-list-item img {
    width: 150px;
}
.input-file-list-name {
    text-align: center;
    display: block;
    font-size: 12px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.input-file-list-remove {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    position: absolute;
    padding: 0;
    margin: 0;
    top: 5px;
    right: 5px;
    background: #ff0202;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    border-radius: 50%;
}


.salon-checkbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2%;
    height: 50px;
}
.container-photo {
    position: relative;
    text-align: center;
    color: black;
}
@media screen and (max-width: 600px) {
    .container-photo img {
        max-width: 308px;
    }
}
/* Bottom left text */
.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Top left text */
.top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

/* Top right text */
.top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

/* Bottom right text */
.bottom-right {
    font-size: 26px;
    position: absolute;
    bottom: 8px;
    right: 16px;
    background: #ffffff99;
}

/* Centered text */
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.block-adapt {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-success {
    margin: 2%;
}

.profile_info_salon {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-height: 571px;
    overflow: auto;
    padding: 2%;
}

.profile_info_block {
    padding: 2%;
    border: thin solid #4caf50;
    border-radius: 5%;
    margin-bottom: 2%;
    max-width: 234px;
}

.name_profile_salon {
    white-space: nowrap;
    overflow: hidden; /* Обрезаем всё за пределами блока */
    text-overflow: ellipsis;
}

.name_block {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.time_start:before {
    content: "c ";
}
.time_end:before {
    content: "до";
}

.time_flex {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.block-info-approved {
    width: 100%;
    border: thin solid #4caf50;
    border-radius: 8px;
    padding: 1%;
    margin-bottom: 2%;
}

.block-info-approved p {
    text-align: center;
    margin: 1%;
    font-weight: bold;
    color: #8a211d;
}