
/* Управление экранами */
.screen {
    display: none;
    min-height: 100vh;
    flex-direction: column;

}
.screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  /*  box-sizing: border-box;*/
    padding: 5px 5px 0px 5px;
}



.lel_main-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: #333;*/
    color: white;
 /*  background: red;*/
}

.lel_main-menu {
    width: 800px;
   /* padding: 20px;*/
    text-align: center;
 /*   background: green;*/
   /* border-radius: 5px;*/
    font-weight: bold;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 5px;


}








/* Главный контент */
.lel_main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.lel_main-content-area {
    flex: 1;

    margin: auto;
    width: 100%;
    max-width: 800px;
   /* padding: 20px;*/
    text-align: center;
    background: white;
    /*background: var(--primary-color);*/
    /*
    background: #4caf50;

    color: white;
    */

    border-radius: 15px 15px 10px 10px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.3);

}
.lel_main-content-area1
{
    /*
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 5px;
*/

    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;


    width: 800px;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;

    background: #c2185b;
}
/* Фиксированная шапка */
.lel_main-scroll-header {
    height: 60px;
    background: #333;
    border-radius: 10px 10px 0 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 20px;
    /*   padding: 0 20px;*/
    flex-shrink: 0; /* Запрещаем сжатие */

}
.lel_main-scroll-header-market
{
    height: 60px;
    background: var(--primary-light-s);
    border-radius: 10px 10px 0 0;
    color: #e91e63;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 20px;
    /*   padding: 0 20px;*/
    flex-shrink: 0; /* Запрещаем сжатие */
}
.lel_main-scroll-header-chat
{
    height: 60px;
    background: var(--primary-light-s);
    border-radius: 10px 10px 0 0;
    color: #e91e63;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 10px;
    /*   padding: 0 20px;*/
    flex-shrink: 0; /* Запрещаем сжатие */
}
.lel_main-scroll-header-filter
{
    height: 60px;
    background: var(--primary-light-s);
    border-radius: 10px 10px 0 0;
    color: #e91e63;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 10px;
    /*   padding: 0 20px;*/
    flex-shrink: 0; /* Запрещаем сжатие */
}
.lel_main-scroll-header-search
{
    height: 60px;
    background: var(--primary-light-s);
    border-radius: 10px 10px 0 0;
    color: #e91e63;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 10px;
    /*   padding: 0 20px;*/
    flex-shrink: 0; /* Запрещаем сжатие */
}
.lel_main-scroll-header-profile
{
    height: 60px;
    background: var(--primary-light-s);
    border-radius: 10px 10px 0 0;
    color: #e91e63;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 10px;
    /*   padding: 0 20px;*/
    flex-shrink: 0; /* Запрещаем сжатие */
}



/* Контент с прокруткой */
.lel_main-scroll-content {
    flex: 1;
    overflow-y: auto;
    /*  padding: 20px;*/
}




/* Главный блок */
.lel_main-block
{
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    height: calc(100vh - 100px);
    margin: auto;
    margin-bottom: 90px;
}
.lel_main-block-container {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    width: 100%;
    max-width: var(--container-max-width);
    backdrop-filter: blur(10px);
    /* margin-top: 1rem;*/
    overflow: hidden;
}
.lel_main-block-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: white;
    /*background: var(--primary-light); */
}
.lel_main-block-header-title {
    position: relative;
    width: 100%;
}



/* Список  */
.lel_main-block-list {
    height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 1px 0;
}
/* Стили для скроллбара */
.lel_main-block-list::-webkit-scrollbar {
    width: 4px;
}
.lel_main-block-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.lel_main-block-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 2px;
}

.lel_main-block-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}




/* Список  */
.lel_main-block-list-chat {
    height: calc(100vh - 150px);
    overflow-y: auto;
    border-radius: 10px;
}
/* Стили для скроллбара */
.lel_main-block-list-chat::-webkit-scrollbar {
    width: 4px;
}
.lel_main-block-list-chat::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.lel_main-block-list-chat::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 2px;
}

.lel_main-block-list-chat::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}



.lel_main-block-list-search {
    height: calc(100vh - 150px);
    overflow-y: auto;
   /* border-radius: 10px; */
}
/* Стили для скроллбара */
.lel_main-block-list-search::-webkit-scrollbar {
    width: 4px;
}
.lel_main-block-list-search::-webkit-scrollbar-track {
    background: #f1f1f1;
  /*  border-radius: 2px;*/
}
.lel_main-block-list-search::-webkit-scrollbar-thumb {
    background: var(--primary-light);
   /* border-radius: 2px;*/
}
.lel_main-block-list-search::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}







.lel_main-block-list-market {
    height: calc(100vh - 150px);
    overflow-y: auto;
    border-radius: 10px;
    padding: 20px;
}
/* Стили для скроллбара */
.lel_main-block-list-market::-webkit-scrollbar {
    width: 4px;
}
.lel_main-block-list-market::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}
.lel_main-block-list-market::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 2px;
}
.lel_main-block-list-market::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}






.lel_main-block-list-filter {
    /*
    height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 1px 20px;
    color: black;
    */

    height: calc(100vh - 150px);
    overflow-y: auto;
    border-radius: 10px;
    padding: 20px 20px;
}
/* Стили для скроллбара */
.lel_main-block-list-filter::-webkit-scrollbar {
    width: 4px;
}
.lel_main-block-list-filter::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}
.lel_main-block-list-filter::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 2px;
}
.lel_main-block-list-filter::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}




.lel_main-block-list-profile {
    /*
    height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 1px 20px;
    color: black;
*/
    height: calc(100vh - 150px);
    overflow-y: auto;
    border-radius: 10px;
    padding: 20px 20px;

}
/* Стили для скроллбара */
.lel_main-block-list-profile::-webkit-scrollbar {
    width: 4px;
}
.lel_main-block-list-profile::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}
.lel_main-block-list-profile::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 2px;
}
.lel_main-block-list-profile::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


