@font-face {
    font-family: 'PublicKeyToken';
    src: url('/../static/admin/font/1.ttf') format('truetype');
}

.menu{
    border-radius: 4px;
    background: var(--app1);
    height: 15px;
    width: 15px;
    padding: 10px;
}

.menu_container {
    position: relative;
    display: inline-flex;
}

.menu_content {
    top: 40px;
    left: 20px;
    display: none;
    position: absolute;
    border-radius: 4px;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.menu_container:hover .menu_content {
    display: block;
}

.menu_btn{
    border-radius: 10px;
    border-style: none;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    background: var(--white);
}

.menu_btn:hover{
    background: var(--app8);
}

.menu_btn_txt{
    color: var(--app2);
    font-size: 14px;
    margin-left: 5px;
}

.menu_btn_ico{
    width: 15px;
    height: 15px;
}

.category_container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: calc(100% - 20px);
    background: var(--app3);
    padding: 10px;
    gap: 5px;
}

.category_item{
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    align-items: flex-start;
    padding: 10px;
}

.category_item:hover{
    background: var(--app8);
}

.category_item_txt{
    color: var(--app2);
    margin-left: 5px;
    font-size: 14px;
}

.category_item_ico{
    height: 15px;
    width: 15px;
}

.category_item_head{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.category_item_desc{
    margin-top: 5px;
    font-size: 12px;
    display: none;
}

.filter_cmds {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--card-border, #e2e8f0);
    background: var(--white, #ffffff);
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.filter_cmd_clear,
.filter_cmd_ok {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.15s ease;
    text-align: center;
    box-sizing: border-box;
}

.filter_cmd_clear {
    background: #cbd5e1;
    color: var(--text-main, #1e293b);
}
.filter_cmd_clear:hover {
    background: #94a3b8;
}

.filter_cmd_ok {
    background: var(--primary-green, #00bd8e);
    color: #ffffff;
}
.filter_cmd_ok:hover {
    background: var(--primary-green-hover, #009a74);
}

.filter_container {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: calc(100vh - 140px);
    background: var(--white, #ffffff);
    border: 1px solid var(--card-border, #e2e8f0);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    overflow: hidden;
    gap: 10px;
}

.field_period {
    padding: 5px;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--app4);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter_name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white, #ffffff);
    background: var(--primary-green, #00bd8e);
    padding: 8px 12px;
    margin: -14px -14px 0px -14px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.filter_presets {
    display: flex;
    background: #f8f8f8;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    flex-direction: row;
}

.filter_preset_btn {
    width: 100%;
    background: var(--app3);
    border-style: none;
    padding: 5px;
    cursor: pointer;
    color: var(--black);
    transition: all 0.2s;
}

.filter_preset_btn:hover {
    background: var(--app8);
    color: var(--app2);
    border-color: #5b80b2;
}

.filter_preset_btn.active {
    background: #79aec8;
    color: white;
}

.field_period_dates{
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field_period_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.field_period_txt {
    font-size: 12px;
    color: var(--black);
    min-width: 60px;
}

.field_period_date {
    border: 1px solid var(--app4);
    border-radius: 4px;
    padding: 3px 5px;
    font-family: sans-serif;
    color: #333;
    width: 135px;
    outline: none;
    background: #fff;
}

.field_period_date:focus {
    border-color: #79aec8;
}

.field_period_clear {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: 5px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.field_period_clear:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .field_period {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.page_text{
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    font-size: 14px;
}

.page_text:hover, .page_current_text:hover{
    background: var(--colorSelect);
}

.field_pages {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    /* margin-bottom: 12px; */
    /* padding-bottom: 8px; */
    border-bottom: 1px solid var(--card-border, #e2e8f0);
    flex-shrink: 0;
    width: 100%;
    /* overflow-x: scroll; */
}

.field_pages_numbers{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding-bottom: 5px;
    width: 100%;
    overflow-x: scroll;
}

.page_next_btn{
    cursor: pointer;
    display: grid;
    width: 30px;
    height: 30px;
}

.page_prev_btn{
    /* margin-right: 5px; */
    cursor: pointer;
    display: grid;
    width: 30px;
    height: 30px;
}

.page_next_btn:hover, .page_prev_btn:hover{
    background: var(--colorSelect);
    border-radius: 3px;
}

.page_text{
    cursor: pointer;
    /* padding: 2px; */
    border-color: var(--app4);
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    /* min-width: 15px; */
    font-size: 14px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.page_text:hover, .page_current_text:hover{
    background: var(--app2);
    color: var(--white);
}

.page_current_text{
    background: var(--app1);
    cursor: pointer;
    padding: 2px 5px;
    border-color: var(--app4);
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    /* min-width: 15px; */
    display: flex;
    font-size: 14px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}


.field_drop{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.field_drop_head{
    font-size: 12px;
    color: var(--colorHint);
    margin-bottom: 5px;

}

.selector {
    position: relative;
    width: 100%;
    /* height: 40px; */
}

.selector:not(.isUp) .selector-options {
    top: 100%;
    margin-top: 2px;
}

.selector.isUp .selector-options {
    bottom: 100%;
    top: auto;
    margin-bottom: 2px;
}

.selector-trigger {
    font-size: 14px;
    background-color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    align-content: center;
    position: relative;
    padding: 5px 10px;
    padding-right: 20px;
    overflow: hidden;
    white-space: nowrap;
    border-style: solid;
    border-width: 1px;
    border-color: var(--app4);
}

.selector-trigger::after {
    content: "\25BE";
    position: absolute;
    top: 0;
    height: 100%;
    width: 20px;
    right: 0px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    background-color: white;
    border-radius: 5px;
}

.selector-trigger:hover {
    border-color: var(--app2);
}

.selector-options {
    position: absolute;
    left: 0;
    width: 100%;
    border: 1px solid #6f6f6f;
    border-radius: 10px;
    background-color: #fff;
    z-index: 1;
    display: none;
}

.selector.isActive .selector-options {
    display: block;
    overflow-y: scroll;
    width: max-content;
    width: 100%;
    max-height: 400px;
}

.selector-option {
    position: relative;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
}

.selector-option:hover {
    background-color: var(--app8);
    color: var(--app2);
}

.selector-option:not(:last-of-type)::after {
    content: "";
    position: absolute;
    bottom: 0;
}

.field_input_or{
    display: flex;
    flex-direction: column;
    /* margin-bottom: 10px; */
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}


.field_input{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

.field_input_head{
    font-size: 12px;
    color: var(--colorHint);
    margin-bottom: 5px;
}

.field_input_data{
    font-size: 13px;
    width: -webkit-fill-available;
    background-color: var(--white);
    padding: 5px 10px;
    white-space: nowrap;
    border-style: solid;
    border-width: 1px;
    border-color: var(--app4);
    border-radius: 5px;
}

.field_input_data:hover{
    border-color: var(--app2);
}

.field_input_data, .selector-trigger {
    width: 100% !important;
    box-sizing: border-box;
}

.field_check{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    background: var(--white);
    border-radius: 6px;
    padding: 10px;
}

.field_check:hover{
    border-color: var(--app2);
}

.field_check_box{
    cursor: pointer;
    margin: 0;
}

.field_check_head{
    white-space: nowrap;
    font-size: 13px;
}

.field_range{
    width: 100%;
    display: flex;
    background: var(--white);
    border-color: var(--app4);
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    flex-direction: column;
    flex-wrap: nowrap;
}

.range-slider-container {
    margin: 5px;
}

.range-values {
    text-align: center;
    margin-bottom: 5px;
}

.slider-wrapper {
    position: relative;
    height: 20px;
}

.range-input {
    position: absolute;
    width: 100%;
    pointer-events: none;
    appearance: none;
    background: none;
    margin: 0;
    outline: none;
    z-index: 1;
}

.range-input::-webkit-slider-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #79aec8;
    cursor: pointer;
    pointer-events: auto;
    appearance: none;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.slider-track {
    position: absolute;
    height: 5px;
    width: 100%;
    background: #ddd;
    top: 5px;
    border-radius: 5px;
}

.field_range_container{

}

.field_range_from{

}

.field_range_to{

}

.field_select{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.field_select_head{
    font-size: 12px;
    color: var(--colorHint);
    margin-bottom: 5px;

}

.field_select_val{
    display: inline;
    align-items: center;
    align-content: center;
    width: -webkit-fill-available;
    background-color: var(--white);
    padding: 5px 10px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--app4);
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 15px;
    font-size: 14px;
}

.field_select_val:hover{
    border-color: var(--app2);
}

.page_input{
    display: none;
}

.player_container{
    display: flex;
    gap: 10px;
    flex-direction: column;
    flex-wrap: nowrap;
}

.player_controls{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.player_speed_container{
    display: flex;
    background: #f8f8f8;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    flex-direction: row;
    width: 100%;
}

.player_speed{
    width: 100%;
    background: var(--app3);
    border-style: none;
    padding: 5px;
    cursor: pointer;
    color: var(--black);
    transition: all 0.2s;
}

.player_speed:hover {
    background: var(--app8);
    color: var(--app2);
    border-color: #5b80b2;
}

.player_speed.active {
    background: #79aec8;
    color: white;
}

.player_btn{
    cursor: pointer;
    height: 30px;
    width: 30px;
    padding: 5px;
}

.player_progress{
    width: 100%;
    background: var(--app8);
    border-radius: 10px;
    margin: 0;
    outline: none;
    z-index: 1;
}

.player_progress::-webkit-slider-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #79aec8;
    cursor: pointer;
    appearance: none;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.player_screen {
    position: relative;
    width: 100%;
    background: #000;
    aspect-ratio: 9 / 16;
}

.player_screen_video{
    width: 100%;
    height: 100%;
}

.player_screen_preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
}

.player_time{

}

.filter_container > .field_drop,
.filter_container > .field_input,
.filter_container > .field_input_or,
.filter_container > .field_period,
.filter_container > .field_range,
.filter_container > .field_select,
.filter_container > .filter_drop {
    width: 100%;
    box-sizing: border-box;
}

.filter_container {
    justify-content: space-between;
}

.filter_container {
    overflow-y: auto !important;
}