@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&subset=cyrillic');

body, html {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: #f9f9f9;

}

#go_to_full_screen {
    position: absolute;
    font-family: sans-serif;
    right: 0vw;
    top: 0vw;
    width: 15.957446808511vw;
    height: 15.957446808511vw;
    z-index: 2000;
    background: url(../img/fullscreen.svg) no-repeat center;
    background-size: 5.3191489361702vw 5.3191489361702vw;
}

#go_to_full_screen.min {
    background-image: url(../img/minimizescreen.svg);
    background-size: 3.9893617021277vw 3.9893617021277vw;
}

.wind {
    display: none;
    width: 100vw;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    padding-top: 2.6595744680851vw;
    background: #f9f9f9;
}

.button {
    text-align: center;
    height: 11.968085106383vw;
    line-height: 11.968085106383vw;
    font-size: 5.3191489361702vw;
    font-weight: 500;
    box-shadow: 0 0.53191489361702vw 1.063829787234vw 0 rgba(0, 0, 0, 0.2);
    background-color: #2156b9;
    color: #FFF;
    border: none;
    border-radius: 1.063829787234vw;
}
#see_all_logs,#hide_all_logs {
    height: 7.9787234042553vw;
    line-height: 7.9787234042553vw;
    font-size: 3.9893617021277vw;
    margin-top: 2.6595744680851vw;
}

input[type="password"],
input[type="text"], input[type="tel"], select.select {
    border: none;
    border-bottom: 0.53191489361702vw solid #181823;
    font-size: 7.4468085106383vw;
    font-weight: 100;
    color: #181823;
    padding-bottom: 4.2553191489362vw;
    background: transparent;
    display: block;
    box-sizing: border-box;
    width: 100%;
    outline: none;
}

select.select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../img/select-arrow.svg) no-repeat right;
    background-size: 4.7872340425532vw 4.7872340425532vw;
}

.top_nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 15.957446808511vw;
    box-shadow: 0 0.53191489361702vw 2.6595744680851vw 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    width: 100vw;
    line-height: 15.957446808511vw;
    font-size: 4.7872340425532vw;
}

.top_nav .back {
    display: block;
    width: 15.957446808511vw;
    height: 15.957446808511vw;
    float: left;
    background: url("../img/arrow.svg") no-repeat center;
    background-size: 4.7872340425532vw 4.7872340425532vw;
}

.bottom_nav {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;

}

.bottom_nav button {
    height: 15.957446808511vw;
    line-height: 15.957446808511vw;
    width: 100vw;
    border-radius: 0;
}

.button.black {
    background-color: #000;
}

.button.green {
    background-color: #3d7547;
}

.button.red {
    background-color: #b82f1e;
}

#city_win {
    padding: 15.957446808511vw 5.3191489361702vw 5.3191489361702vw 5.3191489361702vw
}

#city_win .cities > div {
    width: 100%;
    margin: 0 0 5.3191489361702vw 0vw;
    text-align: center;
    line-height: 15.957446808511vw;
    border-radius: 1.063829787234vw;
    box-shadow: 0 0.53191489361702vw 1.063829787234vw 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    font-size: 5.3191489361702vw;
    color: #181823;
}

#login_win {
    padding-top: 15.957446808511vw
}

#login_win .title, #city_win .title{
    text-align: center;
    font-size: 6.3829787234043vw;
    color: #181823;
    margin-bottom: 5.3191489361702vw
}

#login_win .logo, #city_win .logo{
    margin: 7.9787234042553vw auto 15.957446808511vw auto;
    width: 66.489361702128vw;
    height: 12.234042553191vw;
    background: url("/img/logo.png") center no-repeat;
    background-size: contain;
}

#login_win .logo{
   margin: 7.9787234042553vw auto 7.9787234042553vw auto;
}

#login_win .rooms {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
}

#login_win .rooms > div {
    width: 42.021276595745vw;
    min-height: 42.021276595745vw;
    margin: 0 0 5.3191489361702vw 5.3191489361702vw;
    border-radius: 1.063829787234vw;
    box-shadow: 0 0.53191489361702vw 1.063829787234vw 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    font-size: 5.3191489361702vw;
    color: #181823;
}

#login_win .rooms > div.active {
    background-color: #3d7547;
    color: #FFF;
}

#login_win .rooms > div > div {
    text-align: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#password_win {
    height: 100vh;
}

#password_win input[type="password"] {
    position: fixed;
    z-index: 300;
    top: 50%;
    left: 50%;
    width: calc(100vw - 10.63829787234vw);
    transform: translateY(-50%);
    transform: translateX(-50%);
}

#main_win {

    padding-bottom: 15.957446808511vw;
}

.timers_list {
    padding: 0vw 5.3191489361702vw 9.5744680851064vw 5.3191489361702vw;
}

.timers_list::before {
    display: block;
    font-size: 2.9255319148936vw;
    color: #a8a8a8;
    padding: 0 0 2.1276595744681vw 0;
    text-transform: uppercase;
    letter-spacing: 0.26595744680851vw;
}
.logs_today  {
    display: block;
    font-size: 2.9255319148936vw;
    color: #a8a8a8;
    padding: 0 0 2.1276595744681vw 5.3191489361702vw;
    text-transform: uppercase;
    letter-spacing: 0.26595744680851vw;
}

.timers_list.now {
    padding-top: 9.5744680851064vw;
}

.timers_list.now::before {
    content: 'Кто играет'
}


.timers_list .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border-radius: 1.063829787234vw;
    box-shadow: 0 0.53191489361702vw 1.063829787234vw 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    margin-bottom: 2.6595744680851vw;
    border-left: 1.063829787234vw solid #dedede;
    padding: 2.6595744680851vw;
    color: #000;
    min-height: 17.021276595745vw;
}

.timers_list .time_left {
    font-size: 2.9255319148936vw;
    color: #a8a8a8;
    display: none;

}
.timers_list .discount_name {
    font-size: 2.3936170212766vw;
    color: #c1b8ae;
    padding-top: 1.3297872340426vw;
}
.timers_list .group_names {
    font-size: 3.1914893617021vw;
    color: #7fb7e8;
    padding-top: 1.3297872340426vw;
}

.timers_list .comment {
    font-size: 4.7872340425532vw
}

.timers_list .comment div{
    font-size: 3.1914893617021vw
}

.timers_list .item.time_ok {
    border-left-color: #3d7547;
}

.timers_list .item.time_ok .time_left,
.timers_list .item.time_over .time_left,
.timers_list .item.time_on_pause .time_left {
    display: block;
}

.timers_list .item.time_over {
    border-left-color: #b82f1e;
}

.timers_list .item.time_on_pause {
    border-left-color: #f8a000;
}

.timers_list .item.time_over .time_left {
    color: #b82f1e
}

.timers_list .item .info {
    width: 74.468085106383vw;
}

.timers_list .item .time_end {
    width: 13.297872340426vw;
    text-align: right;
    font-size: 5.8510638297872vw;
    white-space: nowrap;
}

#add_timer_win .form {
    padding: 9.5744680851064vw 5.3191489361702vw 21.276595744681vw 5.3191489361702vw
}

#add_timer_win input, #add_timer_win select {
    margin-bottom: 15.957446808511vw
}


#add_timer_win .plus,#add_timer_win .minus{
    width: 10.63829787234vw;
    height:10.63829787234vw;
    position: absolute;
    right: 0vw;
    top:0vw;
    text-align: center;
    line-height: 10.63829787234vw;
    z-index: 200;
    font-size: 10.63829787234vw;
    color: #1e6ab8;
}

#add_timer_win .prim{
    width: 10.63829787234vw;
    height:10.63829787234vw;
    position: absolute;
    right: 11.968085106383vw;
    top:0vw;
    text-align: center;
    line-height: 10.63829787234vw;
    z-index: 200;
    font-size: 10.63829787234vw;
    color: #1e6ab8;
}

#add_timer_win .bn{
    width: auto;
    height:auto;
    position: absolute;
    right: 11.968085106383vw;
    top:0vw;
    text-align: center;
    line-height: 10.63829787234vw;
    z-index: 200;
    font-size: 7.9787234042553vw;
    font-weight: 500;
    color: #1e6ab8;
}
#add_timer_win .bn span{
    position: inherit;
    right: 1.3297872340426vw;
}



#add_timer_win .minus_prim{
    width: 10.63829787234vw;
    height:10.63829787234vw;
    position: absolute;
    right: 0vw;
    top:18.617021276596vw;
    text-align: center;
    line-height: 10.63829787234vw;
    z-index: 200;
    font-size: 10.63829787234vw;
    color: #1e6ab8;
}
div.add_prim{
    display: none;
}
input.add_prim{
    top: -10.63829787234vw;
    position: relative;
}
#add_timer_win .prim span{
    bottom: 2.6595744680851vw;
    position: inherit;
    right: 1.3297872340426vw;
}
#add_timer_win .add_phone_dop
{position: relative; left: 0vw; top:0vw; display: none
}

#add_timer_win .add_name_dop
{position: relative; left: 0vw; top:0vw
}

.find_clients_list, .name_clients_list {
    position: relative;
    left: 0;
    top: 0
}

#add_duration,#add_discount,#add_gender{margin-bottom: 15.957446808511vw}

.find_clients_list .list {
    position: absolute;
    z-index: 500;
    box-sizing: border-box;
    top: 11.968085106383vw;
    left: 0vw;
    max-height: calc(100vh - 54.521276595745vw);
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 0.53191489361702vw 1.063829787234vw 0 rgba(0, 0, 0, 0.25);
    border-top: 0.26595744680851vw solid #E3E3E3;
    background-color: #fff;
    display: none;

}

.find_clients_list .client_item {
    font-size: 3.7234042553191vw;
    font-weight: 400;
    padding: 3.9893617021277vw;
    box-sizing: border-box;
    border-bottom: 0.26595744680851vw dotted #dedede;
}

.find_clients_list .close {
    font-size: 3.7234042553191vw;
    font-weight: 400;
    padding: 3.9893617021277vw;
    box-sizing: border-box;
    border-bottom: 0.26595744680851vw dotted #dedede;
    background: #dc3d3d;
    color: white;
    cursor: pointer;
}

.find_clients_list .list > div:nth-last-of-type(1) {
    border: none;
}

#edit_timer_win .title {
    display: block;
    font-size: 2.9255319148936vw;
    color: #a8a8a8;
    padding: 9.5744680851064vw 5.3191489361702vw 2.1276595744681vw 5.3191489361702vw;
    text-transform: uppercase;
    letter-spacing: 0.26595744680851vw;
}

#edit_timer_win .form{
    border-radius: 1.063829787234vw;
    box-shadow: 0 0.53191489361702vw 1.063829787234vw 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    margin: 0 5.3191489361702vw 0 5.3191489361702vw;
    padding: 2.6595744680851vw;
}

#edit_timer_win .comment{
    text-align: center;
    border-bottom: none;
    font-size: 7.4468085106383vw;
    line-height:7.4468085106383vw;
    padding: 5.3191489361702vw 0 2.6595744680851vw 0;
}
#edit_timer_win .comment::after{content:''; display: inline-block; vertical-align: middle; width: 7.4468085106383vw; height: 7.4468085106383vw;
background: url(../img/edit.svg) no-repeat 1.3297872340426vw 1.3297872340426vw; background-size: 7.4468085106383vw 7.4468085106383vw; line-height:7.4468085106383vw;}

#edit_timer_win .current_duration {
    text-align: center;
    font-size: 3.4574468085106vw;
    text-align: center;
    color: #a8a8a8;
}

#edit_timer_win .time_start_end {
    font-size: 11.170212765957vw;
    font-weight: 300;
    text-align: center;
    padding: 3.9893617021277vw 0 5.3191489361702vw 0vw;
}

#edit_timer_win #pause_resum {
    width: calc(50% - 1.3297872340426vw);

}

#edit_timer_win .edit_duration {
    position: relative;
    left: 0;
    right: 0;
    width: calc(50% - 1.3297872340426vw);
    margin-left: 1.3297872340426vw;
}

#edit_timer_win #edit_duration {
    height: 11.968085106383vw;
    width: 100%;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    display: block;

}
.is_true{
    display: none;
}
#edit_timer_win .buttons {
    padding-bottom: 5.3191489361702vw
}

#edit_timer_win .do_call {

    text-decoration: none;
    display: block;
    font-size: 3.9893617021277vw;
    line-height: 11.968085106383vw;
    margin-bottom: 2.6595744680851vw;
}

#edit_timer_win .do_call:before {
    content: '';
    display: inline-block;
    width: 11.968085106383vw;
    height: 11.968085106383vw;
    background: url(../img/phone.svg) no-repeat center;
    background-size: 5.3191489361702vw 5.3191489361702vw;
    vertical-align: middle;
}


#edit_timer_win .no_call {

    text-decoration: none;
    display: block;
    font-size: 3.9893617021277vw;
    line-height: 11.968085106383vw;
    margin-bottom: 2.6595744680851vw;
}

#edit_timer_win .no_call:before {
    content: '';
    display: inline-block;

    vertical-align: middle;
}


#edit_timer_win #do_call_dop{

}

#timers_list_today .group_names {
    display: none;
}
#alert,#confirm,#edit_comment_win{
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 1.063829787234vw;
    box-shadow: 0 0.53191489361702vw 1.063829787234vw 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 2.6595744680851vw;
    transform: translate(-50%, -50%);
    width: calc(100% - 10.63829787234vw);
    display: none;
    z-index: 600;
}

#alert{
	z-index: 610;
}

#edit_comment_win .button{

    display: inline-block;
    margin: 2.6595744680851vw 0vw;
}
#edit_comment_win button:nth-of-type(1){float: left; width: 60%}
#edit_comment_win button:nth-of-type(2){float: right; width: calc(40% - 2.6595744680851vw)}

#overley {
    display: none;
    width: 100vw;
    height: 100vh;
    background: RGBA(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 200
}

#overley.show{display: block}

#alert .text, #confirm .text
{
    font-size: 5.3191489361702vw;
    text-align: center;
    padding: 5.3191489361702vw 0 5.3191489361702vw 0 ;
    display: block;
}

#alert.standart{border-top:1.5957446808511vw #1e6ab8 solid}
#alert.error{border-top:1.5957446808511vw #b82f1e solid}
#alert.wating{border-top:1.5957446808511vw #f0900a solid}

#alert .button
{
    display: block; width: 50%;
    margin: auto;
}

#confirm{border-top:1.5957446808511vw #1e6ab8 solid}
#confirm button.button
{
    display:block;
}
#confirm button:nth-of-type(1){width: 60%; float: left}
#confirm button:nth-of-type(2){width: calc(40% - 2.6595744680851vw); float: right}

/* !important is needed sometimes */
::-webkit-scrollbar {
    width: 0.79787234042553vw !important;
}

/* Track */
::-webkit-scrollbar-track {
    background: #eae7ef !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #659dc2 !important;
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #659dc2 !important;
}
.logs {
    margin: 3.9893617021277vw;

    border: none;

}

.logs thead th {

    font-weight: bold;

    text-align: left;

    border: none;

    padding: 2.6595744680851vw 3.9893617021277vw;

    background: #d8d8d8;

    font-size: 3.7234042553191vw;

}

.logs thead tr th:first-child {

    border-radius: 2.1276595744681vw 0 0 2.1276595744681vw;

}

.logs thead tr th:last-child {

    border-radius: 0 2.1276595744681vw 2.1276595744681vw 0;

}

.logs tbody td {

    text-align: left;

    border: none;

    padding: 2.6595744680851vw 3.9893617021277vw;

    font-size: 3.7234042553191vw;

    vertical-align: top;

}

.logs tbody tr:nth-child(even){

    background: #f3f3f3;

}

.logs tbody tr td:first-child {

    border-radius: 2.1276595744681vw 0 0 2.1276595744681vw;

}

.logs tbody tr td:last-child {

    border-radius: 0 2.1276595744681vw 2.1276595744681vw 0;

}
.cssload-loader {
    width: 64.893617021277vw;
    height: 13.031914893617vw;
    line-height: 13.031914893617vw;
    text-align: center;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    font-family: helvetica, arial, sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    font-size:4.7872340425532vw;
    color: rgb(251, 248, 242);
    letter-spacing: 0.1em;
    display: none;
    z-index: 800;
}
.cssload-loader.show{display: block}

.cssload-loader::before, .cssload-loader::after {
    content: "";
    display: block;
    width: 3.9893617021277vw;
    height: 3.9893617021277vw;
    background: rgb(255, 255, 255);
    position: absolute;
    animation: cssload-load 0.81s infinite alternate ease-in-out;
    -o-animation: cssload-load 0.81s infinite alternate ease-in-out;
    -ms-animation: cssload-load 0.81s infinite alternate ease-in-out;
    -webkit-animation: cssload-load 0.81s infinite alternate ease-in-out;
    -moz-animation: cssload-load 0.81s infinite alternate ease-in-out;
}
.cssload-loader::before {
    top: 0;
}
.cssload-loader::after {
    bottom: 0;
}



@keyframes cssload-load {
    0% {
        left: 0;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
    50% {
        height: 2.1276595744681vw;
        width: 10.372340425532vw;
    }
    100% {
        left: 60.904255319149vw;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
}

@-o-keyframes cssload-load {
    0% {
        left: 0;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
    50% {
        height: 2.1276595744681vw;
        width: 10.372340425532vw;
    }
    100% {
        left: 60.904255319149vw;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
}

@-ms-keyframes cssload-load {
    0% {
        left: 0;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
    50% {
        height: 2.1276595744681vw;
        width: 10.372340425532vw;
    }
    100% {
        left: 60.904255319149vw;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
}

@-webkit-keyframes cssload-load {
    0% {
        left: 0;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
    50% {
        height: 2.1276595744681vw;
        width: 10.372340425532vw;
    }
    100% {
        left: 60.904255319149vw;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
}

@-moz-keyframes cssload-load {
    0% {
        left: 0;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
    50% {
        height: 2.1276595744681vw;
        width: 10.372340425532vw;
    }
    100% {
        left: 60.904255319149vw;
        height: 7.7127659574468vw;
        width: 3.9893617021277vw;
    }
}




.qr_scan {
    width: 13.297872340426vw;
    height: 13.297872340426vw;
    position: absolute;
    left: 23.936170212766vw; /* Примерное смещение после слова "Добавить" */
    top: 1.3297872340426vw; /* Сдвигаем чуть ниже, чтобы выровнять по центру текста */
    
    background-size: 80%; /* Увеличиваем иконку */
    cursor: pointer;
}



/* Стили для экрана загрузки */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#loading-screen p {
    color: #e0e0e0;
    margin-top: 5.3191489361702vw;
    font-size: 4.7872340425532vw;
}

.loader {
    width: 13.297872340426vw;
    height: 13.297872340426vw;
    border: 1.3297872340426vw solid #1c1c1c;
    border-top: 1.3297872340426vw solid #ff9500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Классы для управления видимостью */
.hidden {
    display: none !important;
}

.visible-flex {
    display: flex !important;
}


#registration_win .form { padding: 5.3191489361702vw; }
#registration_win .city-title { font-weight: bold; margin: 2.6595744680851vw 0 1.3297872340426vw; }
#registration_win label { display: block; margin: 1.3297872340426vw 0; }


.zaika {
    background-color: pink;
    padding: 0.53191489361702vw 1.3297872340426vw;
    border-radius: 0.79787234042553vw;
}
.comment .birthday.blinking {
    animation: blink 1s infinite;
}
@keyframes blink {
    0% { background-color: yellow; }
    50% { background-color: pink; }
    100% { background-color: violet; }
}
.comment .birthday {
    padding: 0.53191489361702vw 1.3297872340426vw;
    border-radius: 0.79787234042553vw;
}


/* ДОБАВЛЕНО: Стили для плашек оплаты */
.payment-green {
    background-color: green;
    color: white;
    padding: 2.6595744680851vw;
    margin: 2.6595744680851vw 0;
    border-radius: 1.063829787234vw;
    text-align: center;
    font-weight: bold;
}

.payment-red {
    background-color: red;
    color: white;
    padding: 2.6595744680851vw;
    margin: 2.6595744680851vw 0;
    border-radius: 1.063829787234vw;
    text-align: center;
    font-weight: bold;
}




.photos_list {
    overflow-y: auto; /* Прокрутка по вертикали, если контент больше */
    height: calc(100vh - 26.595744680851vw - 39.893617021277vw); /* 100vh минус примерная высота top_nav (50-26.595744680851vw) и bottom_nav (100-53.191489361702vw с формой). Подгоните под ваш дизайн, измерив в DevTools */
    margin: 10.63829787234vw 0 1.3297872340426vw 0;
    box-sizing: border-box; /* Чтобы padding не добавлял высоту */
}
.photos_list h3 {
    margin: 2.6595744680851vw 0 1.3297872340426vw 2.6595744680851vw; /* Отступ сверху/слева для заголовков, как в .title */
}
.photos_list ul {
    margin: 0;
    padding: 0 2.6595744680851vw 0 2.6595744680851vw; /* Отступы для списков, чтобы не сливались с краем */
    list-style: none;
}
.photos_list li {
    padding: 1.3297872340426vw 0; /* Вертикальные отступы для элементов списка */
    border-bottom: 0.26595744680851vw solid #eee; /* Легкая разделительная линия, опционально */
}








.button-group {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-bottom: 1.3297872340426vw;
    width: 50%; /* Полная ширина, чтобы избежать сжатия */
    overflow-x: visible; /* Видимость за краем, если нужно */
}

.icon-button {
    display: flex;
    align-items: center;
    padding: 1.5957446808511vw 1.5957446808511vw; /* Уменьшенные отступы */
    flex-basis: 50%; /* 50% для каждой */
    max-width: 50%;
    margin: 1% 1%; /* Минимальный отступ */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box; /* Учёт padding в ширине */
    min-width: 0; /* Разрешение сжатия, если текст длинный */
	justify-content: center; /* Горизонтальное центрирование иконки и текста */
	border-radius: 1.063829787234vw !important; /* Скругление углов, переопределяет .bottom_nav button */
}

.icon-button svg {
    margin-right: 1.5957446808511vw;
    flex-shrink: 0;
}




.delete-icon {
    cursor: pointer;
    margin-left: 2.6595744680851vw;
    display: inline-block;
    vertical-align: middle;
}
.delete-icon svg {
    width: 4.2553191489362vw;
    height: 4.2553191489362vw;
    fill: red; /* Цвет корзины */
}




.photo_view {
    margin-top: 15.957446808511vw; /* Отступ ниже nav */
    height: calc(100vh - 15.957446808511vw); /* Полная высота минус nav */
    overflow-y: auto; /* Прокрутка, если фото большое */
    padding: 2.6595744680851vw;
}



#photo_name {
    background-color: #f0f0f0; /* Сероватый фон */
    border: 0.26595744680851vw solid #ccc; /* Лёгкая граница для видимости */
    padding: 3.1914893617021vw; /* Отступы внутри */
    width: 100%; /* Полная ширина */
    box-sizing: border-box; /* Учёт отступов в ширине */
    color: #333; /* Тёмный текст для контраста */
    font-size: 5.3191489361702vw; /* Читабельный размер */
}

#photo_name:focus {
    background-color: #fff; /* Белый фон при фокусе */
    border-color: #2156b9; /* Акцентный цвет при вводе */
    outline: none; /* Убрать стандартный outline */
}

