@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

body{
    background-color: #f5f6fe;
    font-family: 'Roboto';
    margin: 0 !important;
}

.filter{
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
    margin-left: 7px;
}

.select_filter{
    line-height: 1.5rem;
    min-width: 11rem;
    font-size: 1rem;
    max-width: 11rem;
    margin-left: 1rem;
    min-height: 1.5rem;
    max-height: 1.5rem;
}

.link_big{
    display: inline-block;
    padding: 10px;
    vertical-align: top;
}

.modal_costs{
    display: inline-block;
    padding: 10px 0 0 10px;
    vertical-align: top;
}

.modal_profit{
    display: inline-block;
    vertical-align: top;
    padding-top: 10px;
    padding-right: 10px;
}


.above_container{
    overflow: auto;
}

.big_container{
    margin-left: 7vw;
    margin-top: 5vh;
    width: 86vw;
}

.btn_pagination{
    color: black;
    padding: 3px 6px;
    text-decoration: none;
    border: 1px solid grey;
    font-size: 0.8em;
}

.btn_pagination_active{
    background-color: #70b2ff;
    color: white;
}

.above_name{
    margin-right: 30px;
    display: inline-block;
    text-align: left;
    font-size: 1.6rem;
    font-weight: bolder;
    letter-spacing: 0.01rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 5px;
}

.above_links{
    text-align: center;
}

.backlink{
    color: grey
}

.above_link{
    display: inline-block;
    /* float: right; */
    padding: 10px 17px 8px 17px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
}

.link_action_big{
    background-color: #70b2ff;
    margin-right: 10px;
    border-color: #70b2ff;
    color: #ffffff;
}

.reload_link{
    cursor: pointer;
    display: inline-block;
    /* float: right; */
    padding: 10px 17px 8px 17px;
    border: 1px solid;
    border-radius: 4px;
    color: #ffffff;
    background-color: #70b2ff;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 20px;
    border-color: #70b2ff;
}

.table_button{
    border: 1px solid #bcc1cb;
    background-color: #ffffff;
    color: #5d6778;
    margin-left: 1rem;
    cursor: pointer;
    display: inline-block;
    padding: 6px 10px 6px 10px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    border-color: #70b2ff;
    margin-bottom: 10px;
}

.manager_links{
    cursor: pointer;
    display: inline-block;
    padding: 10px 17px 8px 17px;
    border: 1px solid;
    border-radius: 4px;
    color: #ffffff;
    background-color: #9081da;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 20px;
    border-color: #9081da;
}

.no_margin{
    margin-right: 0;
}

.container_filter, .container_body{
    border-radius: 4px;
    background-color: #ffffff;
    width: 100%;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
}


.container_filter{
    text-align: left;
    padding-top: 10px;
    height: auto;
    margin-top: 20px;
    padding-bottom: 10px;
}

.filter_col{
    margin-left: 0.5rem;
    display: inline-block;
}

.margin_right{
    margin-right: 20px;
}
.filter_btn{
    display: inline-block;
    padding: 10px 17px 8px 17px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #9081da;
    font-size: 0.8rem;
    font-weight: 500;
}

.div_filter_text{
    font-weight: 400;
    font-size: 0.6rem;
}

.div_filter_input{
    margin-top: 5px;
}

.div_filter_button{
    padding-top: 10px;
    display: inline-block;
}

.filter_button{
    font-size: 0.7rem;
    padding: 5px 7px 3px 7px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    background-color: #70b2ff;
    font-weight: 400;
    cursor: pointer;
    text-transform: none;
	cursor: pointer;
	outline: inherit;
}

.filter_input{
    margin-right: 10px;
    border: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 5px 10px 4px 10px;
    text-align: center;
    width: 10rem;
    height: 1.5rem;
}

.smaller_select{
    min-width: 7rem;
    max-width: 7rem;
    margin-left: 1rem;
    min-height: 1rem;
    max-height: 1rem;
}

.filter_col_not_first{
    margin-left: 1rem;
}

.container_body{
    padding-top: 10px;
    margin-top: 10px;
    padding-bottom: 10px;
}

.div_input_search{
    padding-left: 10px;
    float: left;
    margin-bottom: 10px;
}

.input_search{
    border: 1px solid #cccccc;
    border-radius: 4px;
    text-align: center;
    width: 10rem;
    height: 1.5rem;
}

.div_table_main{
    margin-top: 10px;
    overflow-x: auto;
    min-width: 100%;
    padding-bottom: 20px;
}

.table_main{
    min-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    width: auto;
    text-align: center;
    border: 1px solid #cccccc;
}

.table_main td, .table_main th{
    padding: 0.5rem 0.5rem;
    white-space: nowrap;
    border: 1px solid #cccccc;
    height: 30px;
}

.table_main th{
    cursor: pointer;
}

a:hover, a:visited, a:link, a:active{
    text-decoration: none;
    color: #70B2FF;
}

.backlink:hover, .backlink:visited, .backlink:link, .backlink:active{
    color: #5d6778;
}

.link_stat:hover, .link_stat:visited, .link_stat:link, .link_stat:active{
    color: #ffffff;
}

.btn_share:hover, .btn_share:visited, .btn_share:link, .btn_share:active{
    color: #5d6778;
}

.btn_share:hover{
    color: #70B2FF;
    border: 1px solid #70B2FF;
}

.btn_share:active{
    padding: calc(0.125rem * 1.3) calc(0.5rem * 1.3);
    border: 2px solid #70B2FF;
}

.btn_share{
    cursor: pointer;
    border: 1px solid #bcc1cb;
    background-color: #ffffff;
    color: #5d6778;
    padding: 0.125rem 0.5rem;
    font-size: .75rem;
}

.div_share:hover, .div_share:visited, .div_share:link, .div_share:active{
    color: #5d6778;
}

.div_share:hover{
    color: #70B2FF;
    border: 1px solid #70B2FF;
}

.div_share:active{
    padding: calc(0.125rem * 1.3) calc(0.5rem * 1.3);
    border: 2px solid #70B2FF;
}
.clickable:hover {
    cursor: pointer;
    text-decoration: underline;
    color: blue; /* Or any other styling that indicates clickability */
}
.div_share {
    display: inline-block;
    margin: 0 auto;
    border: 1px solid #bcc1cb;
    background-color: #ffffff;
    color: #5d6778;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
}

#copyNotification{
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background-color: black; 
    color: white; 
    padding: 10px; 
    border-radius: 5px;
}

.spliter{
    height: 5px;
}

.form_button{
    color: #ffffff;
    background-color: #70b2ff;
    border-color: #70b2ff;
    padding: 10px 17px 8px 17px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 2%;
    margin-top: 2%;
    margin-bottom: 1.5%;
    cursor: pointer;
}

.display_inline{
    display: inline-block;
}

.form_el{
    width: 96%;
    margin-left: 2%;
}

.form_input{
    width: 100%;
}

.form_input{
    margin-top: 0.5rem;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    height: 2rem;
}

.form_el{
    margin-top: 15px;
}


.SumoSelect{
    margin-top: 0.5rem;
    width: 100%;
}

.placeholder{
    height: 1.8rem;
}

.from_cont{
    margin-top: 2rem;
}
.button_costs{
    background-color: #9081da;
    padding: 5px;
    width: 25px;
    height: 25px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    max-width: fit-content;
    border-radius: 5px;
}

.mt-bt-10{
    margin-bottom: 10px;
}

.ml-10{
    margin-left: 10px;
}

.vertical-middle{
    vertical-align: middle;
}

.button_costs:hover{
    cursor: pointer;
}

.icon{
    max-width: 100%;
    max-height: 100%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    text-align: center;
  }
  
  .close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
  }
  
  .modal_form select, .modal_form input{
    width: 80%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    appearance: none; /* Removes default styling of select boxes */
    background-color: #fff; /* Sets a common background color */
    max-width: 80%;
  }
  .be_hover:hover{
    cursor: pointer;
  }

.modal_button{
    padding: 10px 17px 8px 17px;
    border: 1px solid;
    border-radius: 4px;
    color: #ffffff;
    background-color: #70b2ff;
    font-size: 0.8rem;
    font-weight: 500;
    border-color: #70b2ff;
    width: fit-content;
    margin: 0 auto;
}

.input_number::-webkit-inner-spin-button,
.input_number::-webkit-outer-spin-button{
            -webkit-appearance: none;
            margin: 0;
        }

.vert_align_top{
    vertical-align: top;
}




.flatpickr-monthSelect-months {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 10px; /* Увеличенные отступы */
    border-top: 1px solid #e2e8f0; /* Граница для разделения */
    margin-top: 10px; /* Отступ сверху для разделения */
}

.flatpickr-monthSelect-month {
    flex: 1 1 20%;
    margin: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s; /* Анимация для плавности */
}

.flatpickr-monthSelect-month:hover {
    color: #3182ce;
}

.flatpickr-monthSelect-month.selected {
    border: 2px solid #3182ce;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Тень для выделенного элемента */
}

.flatpickr-monthSelect-month.today {
    color: #B37474
}
  
  

@media only screen and (max-width: 768px) {
    .totalrows{
        text-align: left;
    }
    .link_big{
        display: block;
        padding: 5px;
    }
    .filter_col, .modal_costs, .filter, .div_filter_button{
        display: block;
        margin: 0;
        padding: 0;
        margin-left: 1rem;
    }
    .filter_col, .modal_costs, .div_filter_button{
        margin-top: 0.5rem;
    }
    .filter_input{
        width: 100%;
    }
    .modal-content{
        width: 80%;
    }
    .box_pagination_container{
        text-align: left;
    }
    .filter_input{
        width: 80%;
    }
    .div_share{
        width: 100%;
    }
}

.tab_passive, .tab_active{
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: 0.01rem;
    font-weight: 500;
}

.tab_passive{
    border-bottom-color: #cbd5e0;
    cursor: pointer;
}

.tab_active{
    border-bottom-color: #3182ce;
}

#monthPicker {
    margin-right: 10px;
    border: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 5px 10px 4px 10px;
    text-align: center;
    width: 6rem;
    height: 1.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#monthPicker:focus {
    border-color: #3182ce; /* Меняем цвет границы при фокусе на более яркий */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Увеличиваем тень при фокусе */
    outline: none; /* Убираем стандартный контур фокуса */
}

.group-item {
    display: inline-block;
    margin: 10px;
    padding: 7px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .group-item:hover {
    background-color: #e9e9e9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .group-link {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05rem;
  }

  .group-selected {
    background-color: #e0f7fa;  /* Светло-голубой фон для выделения */
    border: 1px solid #b2ebf2;  /* Граница более яркого цвета для лучшего контраста */
}

.group-selected:hover {
    background-color: #b2ebf2;  /* Темнее при наведении */
}


  .group-link:hover {
    color: #007bff;
  }




  .dashboard_header {
    display: flex;
    align-items: center; 
    width: 100%;
}

.dashboard_info {
    margin-left: 10px;
    flex: 1 1 60%; /* Увеличенный процент занимаемого пространства */
    text-align: left;
}

.dashboard_edit_icon {
    border: 1px solid #337ab7;
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
    color: #337ab7;
}

.dashboard_numbers {
    flex: 1 0 40%; /* Фиксированный процент занимаемого пространства */
    justify-content: flex-end;
    text-align: right;
    color: black;
    font-weight: bold; /* Увеличенный вес шрифта для выделения чисел */
}

.dashboard_header h3 {
    font-weight: bold;
    color: #333;
    font-size: 1.2em; /* Увеличенный размер шрифта */
    margin: 0;
    cursor: pointer;
}
  
.dashboard_item {
    background-color: #f7f7f7;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Добавлен тень для лучшей визуализации */
} 
  
.progress_bar {
    height: 15px; /* Увеличена высота полосы прогресса */
    background-color: #e0e0e0;
    border-radius: 8px;
    margin-top: 10px;
}
  
.progress {
    height: 100%;
    background-color: #007bff;
    border-radius: 8px;
    transition: width 0.4s ease;
}

.channelStat-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* полупрозрачный черный фон */
    animation: fadeIn 0.3s; /* анимация появления */
}

.channelStat-modal-content {
    background-color: #fefefe;
    padding: 30px; 
    margin: 10% auto;
    border: 1px solid #888;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 10px;
  }

  .custom-legend table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .custom-legend td {
    padding: 8px;
    border-bottom: 1px solid #ccc;
  }
  
  .custom-legend tr:last-child td {
    border-bottom: none;
  }
  
  
  .pagination-controls {
    text-align: right;
    margin-top: 20px;
}

.box_pagination_container {
    margin-bottom: 10px; /* Отступ между элементами пагинации и контролем строк */
}

.rows-control {
    display: flex;
    align-items: center; /* Центрирование элементов в строке */
    justify-content: flex-end; /* Выравнивание элементов по правому краю */
    margin-bottom: 10px; /* Дополнительный отступ от следующего контента */
}

.rows-control span {
    margin: 0 5px; /* Отступы вокруг текста "Show:" и "/" для читаемости */
    font-size: 16px; /* Размер шрифта, соответствующий выпадающему списку */
}

.selectPerPage {
    padding: 5px 10px; /* Паддинг для удобства использования */
    border: 1px solid #ccc; /* Визуальное отделение */
    font-size: 16px; /* Размер шрифта для соответствия тексту */
}

.totalrows {
    color: #666; /* Мягкий цвет текста */
    font-size: 14px; /* Немного меньший размер шрифта для различия */
    margin-top: 5px; /* Отступ от контролов к общему числу строк */
}

.image_table{
    max-width: 20px;
    max-height: 20px;
    margin-right: 5px; 
    vertical-align:text-bottom;
}

