:root {
    --tg-theme-bg-color: #FFFFFF;
    --tg-theme-secondary-bg-color: #efefef;
    --tg-theme-gray: #bfbfbf;
    --tg-theme-text-color: #000000;
    --tg-theme-button-color: #007bff;
    --tg-theme-button-text-color: #FFFFFF;
}

.page-container {
    width: 100%;
    position: absolute;
}

.page-container-find {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #FFFFFF;
}

/*search style*/
/*VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV*/
.search-container {
    width: 100%; display: flex; align-items: center; background-color: #eeeeee;
    border-radius: 6px; padding: 10px; margin: 10px; transition: width 0.3s ease; cursor: pointer;
}

.search-icon {
    width: 22px; height: 22px; margin-right: 10px; margin-left: 15px;
}

.search-input {
    border: none; background: transparent; outline: none; flex-grow: 1;
}

.cancel-search-button {
    display: none; margin-left: 10px; color: blue; cursor: pointer;
}
/*^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/

.gray-line-2p {
    height: 2px; background-color: #efefef;
}

.gray-line-1p {
    height: 1px; background-color: #efefef;
}

.left-title-tg{
    font-size: 28px; font-weight: bold; margin: 20px; text-align: left;
}

.button-width{
    width: 100%; padding: 15px; border: none; background-color: white;
    cursor: pointer; display: flex; align-items: center;
}

.icon-button-width-left{
    width: 20px; height: 20px; margin-right: 10px;
}

.icon-button-width-right{
    width: 15px; height: 15px; margin-left: 10px;
}

.icon-to-blue {
    filter: brightness(0) saturate(100%) invert(44%) sepia(97%) saturate(4535%) hue-rotate(185deg) brightness(105%) contrast(101%);
}

.hor-scroll-container {
    display: flex;
    overflow-x: auto; /* Включаем горизонтальную прокрутку */
    overflow-y: hidden; /* Скрываем вертикальную прокрутку */
    white-space: nowrap; /* Запрещаем перенос строк */
    height: 160px; /* Высота контейнера */
    padding: 10px; /* Отступы внутри контейнера */
    box-sizing: border-box; /* Учитываем отступы в общей высоте */
}

.hor-scroll-container::-webkit-scrollbar {
    display: none; /* Скрываем полосу прокрутки в веб-кит браузерах */
}

.hor-item {
    flex: 0 0 auto; /* Элементы не растягиваются и не сжимаются */
    margin-right: 20px; /* Отступ между элементами */
    text-align: center; /* Центрируем текст под изображениями */
    cursor: pointer;
}

.hor-item img {
    width: 130px; /* Ширина изображений */
    height: 85px; /* Высота изображений */
    border-radius: 7px; /* Скругленные края */
}

.hor-item p {
    max-width: 125px;
    overflow-wrap: break-word;
    white-space: normal;
}

/* VV контейнер app*/
.app-container-data {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    gap: 20px; /* Отступ между карточками */
    margin: 10px;
}

.app-card-data {
    background-color: #eeeeee;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 350px;
    cursor: pointer;

    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: calc(25% - 15px);

    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .app-card-data {
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: calc(33% - 12px);
    }
}

@media (max-width: 700px) {
    .app-card-data {
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: calc(50% - 10px);
    }
}

@media (max-width: 400px) {
    .app-card-data {
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: 100%;
    }
}

.app-card-data img {
    width: 100%;
    height: 100%;
    max-width: 250px;
    border-radius: 10px 10px 0px 0px;
}
/*^^ контейнер app ^^*/

.title-main-page{
    font-size: 28px;
    font-weight: bold;
    margin-top: 18px;
    margin-bottom: 10px;
    margin-left: 14px;
    text-align: left;
}

.line-radio {
    border-bottom: 1px solid #efefef;
    padding-top: 19px;
    padding-bottom: 6px;
    margin-left: 14px;
    margin-right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.line-character {
    border-bottom: 1px solid #efefef;
    padding-top: 13px;
    padding-bottom: 3px;
    margin-left: 14px;
    margin-right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bookmark-container {
    width: 34px;
    height: 34px;
    border: 1px solid #000000;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center
}

.bookmark-container img {
    width: 18px;
    height: 18px;
}

.bookmark-loader {
    width: 20px; /* Размер кружка */
    height: 20px; /* Размер кружка */
    border: 3px solid #000; /* Цвет и ширина границы */
    border-top: 3px solid transparent; /* Прозрачная верхняя граница для эффекта вращения */
    border-radius: 50%; /* Кружок */
    animation: spin 1s linear infinite; /* Анимация вращения */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blue-button-app-kor {
    height: 42px;
    align-items: center;
    background: #5687DD;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    text-align: center;
    width: 100%;
    color: #FFFFFF
}

.blue-button-app-kor:disabled {
    height: 42px;
    align-items: center;
    background: #5676ad;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    text-align: center;
    width: 100%;
    color: #FFFFFF
}

.blue-button-app {
    height: 42px;
    align-items: center;
    background: #5687DD;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    text-align: center;
    width: 100%;
    color: #FFFFFF
}

.blue-button-app:disabled {
    height: 42px;
    align-items: center;
    background: #EEEEEE;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    text-align: center;
    width: 100%;
    color: #AAAAAA
}

/* end mi style*/

.container-scroll-h {
    align-items: flex-start;
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    overflow-x: scroll;
    box-sizing: border-box;
    width: 100%;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.container-scroll-h::-webkit-scrollbar { 
    display: none;
}

.container-scroll-h-categories {
    padding: 16px;
    gap: 16px;
    position: sticky;
    top: 0;
    background-color: var(--tg-theme-bg-color);
}

.container-scroll-h-screenshot-list-preview {
    padding: 0px 16px;
    gap: 16px;
    height: 360px;
}

.image-app-screenshot-item-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.button-ripple-primary {
}

.button-ripple-primary:hover {
}

.button-ripple-primary:active {
}

.button-ripple-secondary {
}

.button-ripple-secondary:hover {
}

.button-ripple-secondary:active {
}