/* Шрифты теперь загружаются через font-cache.js
@font-face {
    font-family: 'Karateki';
    src: url('../fonts/korataki_regular.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
}
*/

:root {
    --color-green: #00E853;
    --color-purple: #8921FF;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-dark: #1B1B28;
    --color-darker: #12121E;
    --color-darker-hover: #1f1f30;
    --color-gray: #8E8E8E;
    --color-light-gray: #A2A3A5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: 'Montserrat', sans-serif;
}

.container {
    padding: 20px 8px;
    padding-bottom: 80px;
}

/* Профиль */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    background: var(--color-dark);
    padding: 20px;
    border-radius: 25px;
}

.profile-section::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 234px;
    background: radial-gradient(
        circle at center,
        rgba(0, 232, 83, 0.8) 0%,
        rgba(0, 232, 83, 0.3) 25%,
        rgba(0, 0, 0, 0) 45%
    );
    pointer-events: none;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    position: relative;
    margin-bottom: 15px;
    z-index: 2;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background-color: var(--color-dark);
    position: relative;
    z-index: 2;
}

/* Убираем лишние псевдоэлементы */
.profile-image::before,
.profile-image::after {
    display: none;
}

.profile-info {
    position: relative;
    z-index: 2;
}

.profile-info h2 {
    font-family: 'Karateki', sans-serif;
    font-size: 18px;
    color: var(--color-white);
}

.profile-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: var(--color-light-gray);
}

/* Филиал и Баланс - общий контейнер */
.section-container {
    border-radius: 20px;
    margin-bottom: 15px;
}

/* Филиал */
.filial-title {
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-left: 8px;
    font-weight: 500;
}

/* Локация и Баланс */
.location-section, .balance-section {
    background-color: var(--color-dark);
    border-radius: 15px;
    padding: 12px;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Контейнер для информации */
.location-info, .balance {
    width: calc(100% - 120px); /* Фиксированное пространство для контента */
}

.location-info h3, .balance h3 {
    font-family: 'Karateki', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    color: white;
}

.location-info p, .balance p {
    color: var(--color-green);
    font-size: 0.85rem;
}

/* Стили кнопок */
.action-button {
    background-color: transparent;
    border: 1px solid var(--color-green);
    color: var(--color-white);
    padding: 8px 0;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    width: 100px; /* Фиксированная ширина */
    text-align: center;
}

.action-button::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 10px;
    pointer-events: none;
}

/* Баланс */
.balance-title {
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: 25px;
    margin-bottom: 10px;
    padding-left: 8px;
    font-weight: 500;
}

.balance h3 {
    font-family: 'Karateki', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 2px;
}

.balance p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--color-green);
}

/* Новости и акции */
.news-title {
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: 25px;
    margin-bottom: 10px;
    padding-left: 8px;
    font-weight: 500;
}

/* Секции на странице */
.section-block {
    margin-top: 25px;
    padding: 0 8px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

/* Контейнер для новостей */
.news-section {
    display: flex;
    overflow-x: auto;
    padding: 15px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin: 0;
    padding-left: 8px;
    position: relative;
    z-index: 2;
}

/* Убираем скроллбар полностью */
.news-section::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.news-section {
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Внешний контейнер карточки */
.news-item-wrapper {
    position: relative;
    padding: 8px;
    flex: 0 0 auto;
    margin: 0;
    z-index: 2;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.news-item-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Зеленая обводка */
.news-item-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--color-green);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 232, 83, 0.25), 0 0 12px rgba(0, 232, 83, 0.2);
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
    transition: all 0.3s ease;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 6px 16px rgba(0, 232, 83, 0.25), 0 0 12px rgba(0, 232, 83, 0.2);
    }
    100% {
        box-shadow: 0 8px 24px rgba(0, 232, 83, 0.45), 0 0 20px rgba(0, 232, 83, 0.35);
    }
}

.news-item-wrapper:hover .news-item-border {
    box-shadow: 0 10px 28px rgba(0, 232, 83, 0.5), 0 0 20px rgba(0, 232, 83, 0.4);
    border-width: 3px;
}

/* Сама карточка новости */
.news-item {
    width: 100px;
    height: 100px;
    background-color: #1A1B23;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    margin: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    filter: contrast(1.1) brightness(1.05);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.news-item-wrapper:hover .news-item::before {
    opacity: 0.7;
}

/* Текст новости */
.news-item span {
    width: 100%;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
    background: transparent;
    border-radius: 0 0 12px 12px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.news-item-wrapper:hover .news-item span {
    transform: translateY(-3px);
}

/* Стили для модального окна новостей */
.announcement-modal {
    display: flex;
    justify-content: center;
    align-items: center;
}

.announcement-modal .modal-content {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 232, 83, 0.5);
    background-color: var(--color-dark);
    padding: 0;
    margin: 0;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.announcement-image {
    position: relative;
    width: 100%;
    height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.announcement-modal .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 15;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.announcement-modal .close-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
    color: var(--color-green);
}

.announcement-modal .modal-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
    z-index: 10;
    backdrop-filter: blur(3px);
}

.announcement-modal .modal-body h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Karateki', sans-serif;
    letter-spacing: 0.5px;
}

.announcement-modal .modal-body p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-white);
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    max-height: 30vh;
    overflow-y: auto;
    padding-right: 5px;
}

.announcement-modal .modal-body p::-webkit-scrollbar {
    width: 3px;
}

.announcement-modal .modal-body p::-webkit-scrollbar-thumb {
    background-color: var(--color-green);
    border-radius: 3px;
}

.announcement-modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Индикатор таймера */
.timer-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-green);
    transform-origin: left;
    transition: transform 5s linear;
}

/* Навигация в модальном окне */
.click-area {
    position: absolute;
    height: 100%;
    width: 15%;
    top: 0;
    z-index: 5;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.click-area.left {
    left: 0;
}

.click-area.right {
    right: 0;
}

.click-area:active {
    background-color: rgba(0, 0, 0, 0.1);
}

.click-area.left::before, 
.click-area.right::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-size: 28px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.click-area.left::before {
    left: 10px;
    background-image: url('../icons/arrow-left.svg');
}

.click-area.right::before {
    right: 10px;
    background-image: url('../icons/arrow-right.svg');
}

.click-area:hover::before {
    opacity: 1;
}

/* Навигация */
.navigation {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #1A1B23;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navigation::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, transparent, var(--color-black));
    pointer-events: none;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 12px;
    position: relative;
    padding: 8px 16px;
}

/* Добавляем градиент для активной иконки на главной */
.nav-item.active[data-page="home"] {
    position: relative;
}

.nav-item.active[data-page="home"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(
        circle at center,
        rgba(0, 232, 83, 0.8) 0%,
        rgba(0, 232, 83, 0.3) 50%,
        rgba(0, 0, 0, 0) 70%
    );
    z-index: -1;
}

.nav-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    opacity: 0.5;
}

.nav-item.active {
    color: #00E853;
}

.nav-item.active img {
    opacity: 1;
}

.nav-item span {
    transition: color 0.3s ease;
}

.nav-item.active {
    color: var(--color-green);
    text-shadow: 0 0 10px rgba(0, 232, 83, 0.7);
}

.nav-item.active img {
    opacity: 1;
    filter: invert(67%) sepia(72%) saturate(1231%) hue-rotate(101deg) brightness(200%) contrast(98%) drop-shadow(0 0 8px rgba(0, 232, 83, 0.7));
}

.nav-item span:last-child {
    font-family: 'Karateki', sans-serif;
    font-size: 10px;
}

/* Общие стили для всех заголовков секций */
.section-header {
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-light-gray);
    margin-bottom: 10px;
    padding-left: 8px;
    display: flex;
    align-items: center;
}

.section-header::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: var(--color-green);
    margin-right: 8px;
    border-radius: 2px;
}

/* Модальное окно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.modal.show {
    opacity: 1;
    display: flex;
}

.modal-content {
    background-color: var(--color-darker);
    width: 95%;
    max-width: 460px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 232, 83, 0.3);
    border: 1px solid rgba(0, 232, 83, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-darker);
    border-bottom: 1px solid rgba(0, 232, 83, 0.2);
    position: sticky;
    top: 0;
    z-index: 20;
}

.branch-title {
    color: var(--color-white);
    font-size: 20px;
    margin: 0;
    font-family: 'Karateki', sans-serif;
    text-align: left;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.close-btn {
    color: var(--color-light-gray);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.close-btn:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.close-btn:active {
    transform: scale(0.95);
}

.modal-body {
    padding: 12px 15px;
    overflow-y: auto;
    position: relative;
    flex: 1;
}

/* Стили для списка филиалов */
.branch-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 0;
    padding-bottom: 15px;
    margin-top: 4px;
}

.branch-item {
    background-color: var(--color-darker);
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.branch-item:hover {
    background-color: rgba(0, 232, 83, 0.08);
    transform: translateX(5px);
}

.branch-item:active {
    transform: translateX(0);
}

.branch-info h3 {
    font-size: 15px;
    color: var(--color-white);
    margin-bottom: 5px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.branch-phone, .branch-hours {
    font-size: 12px;
    margin: 0;
    color: var(--color-light-gray);
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.branch-phone::before, .branch-hours::before {
    content: '';
    display: inline-block;
    min-width: 14px;
    height: 14px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    flex-shrink: 0;
}

.branch-phone::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300E853"><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1zM19 12h2c0-4.97-4.03-9-9-9v2c3.87 0 7 3.13 7 7zm-4 0h2c0-2.76-2.24-5-5-5v2c1.66 0 3 1.34 3 3z"/></svg>');
}

.branch-hours::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23A2A3A5"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}

.branch-phone {
    color: var(--color-green);
    margin-bottom: 4px;
}

.branch-item:hover .branch-info h3 {
    color: var(--color-green);
}

/* Стили для поиска филиалов */
.branch-search-container {
    margin-bottom: 10px;
    position: relative;
    background-color: var(--color-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.branch-search {
    width: 100%;
    padding: 10px 40px 10px 12px;
    background-color: transparent;
    border: 1px solid rgba(0, 232, 83, 0.2);
    border-radius: 10px;
    color: var(--color-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.branch-search:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 10px rgba(0, 232, 83, 0.2);
}

.branch-search::placeholder {
    color: var(--color-light-gray);
    opacity: 0.7;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-green);
    pointer-events: none;
    font-size: 14px;
}

.branch-count {
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--color-light-gray);
    display: block;
}

/* Стили для блокировки скролла при открытом модальном окне */
body.modal-open {
    overflow: hidden;
}

/* Анимации для модального окна */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Анимации для таймера в модальном окне */
.timer-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-green);
    transform-origin: left;
    transition: transform 5s linear;
}

/* Области для клика в модальном окне */
.click-area {
    position: absolute;
    height: 100%;
    width: 30%;
    top: 0;
    z-index: 2;
    cursor: pointer;
}

.click-area.left {
    left: 0;
}

.click-area.right {
    right: 0;
}

.modal-body {
    position: -webkit-sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    overflow: visible;
}

.modal-body h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 18px;
}

.modal-body p {
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    font-size: 14px;
}

.timer-bar {
    position: absolute;
    top: 10px;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: rgba(255,255,255,0.3);
}

.timer-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    transform-origin: left;
    transition: transform 5s linear;
}

/* Добавляем стили для текста в карточках */
.news-item span {
    width: 100%;
    padding: 4px;
    background: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон для читаемости */
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

/* Скрываем навигацию при открытом модальном окне */
body.modal-open .navigation {
    display: none;
}

.content-wrapper {
    background: #000000;
    min-height: calc(100vh - 60px);
    padding-bottom: 60px;
}

/* Стили для текущего выбранного филиала */
.branch-item.current-branch {
    background-color: rgba(0, 232, 83, 0.08);
    border-left: 3px solid var(--color-green);
    position: relative;
}

.current-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--color-green);
    color: var(--color-black);
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.branch-item.current-branch:hover {
    background-color: rgba(0, 232, 83, 0.15);
    transform: translateX(5px);
}

.branch-item.current-branch .branch-info h3 {
    color: var(--color-green);
    font-weight: 600;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .modal-header {
        padding: 12px 15px;
    }

    .modal-body {
        padding: 12px 15px;
    }

    .branch-item {
        padding: 10px 12px;
        border-radius: 8px;
    }
    
    .branch-info h3 {
        font-size: 14px;
    }
    
    .branch-list {
        gap: 8px;
    }
}

/* Стили для текущего выбранного филиала */
.branch-item.current-branch {
    background-color: rgba(0, 232, 83, 0.08);
    border-left: 3px solid var(--color-green);
    position: relative;
}

.current-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--color-green);
    color: var(--color-black);
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Стили для выделения текста при поиске */
.highlight {
    color: var(--color-green);
    font-weight: bold;
    background-color: rgba(0, 232, 83, 0.1);
    padding: 0 2px;
    border-radius: 2px;
}

/* Фиксация модального окна на всю высоту экрана */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Гарантируем, что модальное окно будет отображаться правильно */
.branch-modal .modal-content {
    display: flex;
    flex-direction: column;
}

.branch-modal .modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes pulseGlowOrange {
    0% {
        box-shadow: 0 6px 16px rgba(0, 232, 83, 0.25), 0 0 12px rgba(0, 232, 83, 0.2);
    }
    100% {
        box-shadow: 0 8px 24px rgba(0, 232, 83, 0.45), 0 0 20px rgba(0, 232, 83, 0.35);
    }
} 