/* Контейнер для кнопки APK по центру */
.apk-button-center {
    display: none;
    justify-content: center;
    padding: 5px 15px;
}

/* Мобильная кнопка скачать APK */
.download-apk-mobile {
    display: flex;
    background-color: #ff0000 !important;
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 11px;
    align-items: center;
    gap: 4px;
    font-weight: bold;
}

.download-apk-mobile img {
    width: 14px;
    height: 14px;
}

.download-apk-mobile span {
    font-size: 9px;
    opacity: 0.8;
}

/* Кнопки входа и регистрации закреплены внизу экрана */
.mobile-auth-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    flex-direction: row;
    gap: 15px;
    padding: 15px 20px;
    justify-content: center;
    background-color: #1a1a1a !important;
    border-top: 2px solid #ff0000 !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.mobile-auth-bottom .login,
.mobile-auth-bottom .reg {
    flex: 1;
    max-width: 150px;
    padding: 15px 20px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    background-color: #ff0000 !important;
    color: #ffffff !important;
    border: 1px solid #ff0000 !important;
}

.mobile-auth-bottom .login:hover,
.mobile-auth-bottom .reg:hover {
    background-color: #cc0000 !important;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .apk-button-center {
        display: flex !important;
    }
    
    .mobile-auth-bottom {
        display: flex !important;
    }
    
    /* Отступ снизу для контента */
    body {
        padding-bottom: 80px !important;
    }
    
    /* Показываем бургер-меню в мобильной версии */
    .burger-menu {
        display: flex !important;
    }
    
    /* Делаем хедер более компактным */
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    
    /* Плашка куки над кнопками входа и регистрации */
    .cookies {
        position: fixed !important;
        bottom: 80px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        margin: 0 !important;
    }
    
    /* Скрываем старую кнопку скачать APK внизу страницы на мобильных */
    .download-app {
        display: none !important;
    }
    
    /* Делаем хедер более компактным */
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    
    /* Показываем бургер-меню в мобильной версии */
    .burger-menu {
        display: flex !important;
    }
}