﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --default-text-color: #171717;
    --secondary-text-color: #9E9E9E;
    --secondary-light-text-color: #BDBDBD;
    --primary-text-color: #1787FB;
    --successful-text-color: #18A957;
    --incorrect-text-color: #DF1642;
    --controversial-text-color: #FFBB38;
    --secondary-dark-text-color: #757575;
    --default-textbox-color: #BDBDBD;
    --primary-button-color: #3D53F5;
    --primary-button-hover-color: #3142C4;
}

.app-layout {    
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loading-img {
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 64px;
    height: 64px;
}

html, body {
    font-family: Inter;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    font-size: 11px;
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/**/
.image-layout {
    display: flex;
    align-items: center;
    height: 100%;
}

.user-image-middle {
    border: 2px solid;
    border-color: #FFFFFF;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0px 0px 1px rgba(48, 49, 51, 0.05), 0px 2px 4px rgba(48, 49, 51, 0.1);
}

.user-image-small {
    border: 2px solid;
    border-color: #FFFFFF;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0px 0px 1px rgba(48, 49, 51, 0.05), 0px 2px 4px rgba(48, 49, 51, 0.1);
}

/*Формы авторизации*/
.authorization-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-form-layout {
    width: 256px;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
}

/*d*/
.textbox-default {
    /*margin: 10px 0px;*/
    padding: 0px 16px;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: #9E9E9E;
    border: 2px solid;
    border-color: #BDBDBD;
    border-radius: 6px;
    background-color: #FFFFFF;
    width: 100%;
    height: 36px;
}

.padding-left-16px {
    padding-left: 16px;
}

.max-content {
    min-width: max-content;
}

/*Контролы*/
.button-primary {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    color: #FFFFFF;
    background-color: #3D53F5;
    border-color: #3D53F5;
    border-radius: 6px;
    width: 100%;
    height: 36px;
}

    .button-primary:hover {
        background-color: #3D53F5;
        border-color: #3D53F5;
    }

    .button-primary:focus {
        outline: none;
    }

.clickable-icon {
        width: 24px;
        height: 24px;
    }

    .clickable-icon:hover {
        cursor: pointer;
    }

.phone-link {
    font-family: Inter;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #1787FB;
    margin: 0px;
    text-align: center;
    padding-bottom: 16px;
}

.error-text {
    font-family: Inter;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #DF1642;
    padding: 0px;
    margin: 0px;
}

.add-button {
    align-items: center;
    background-color: white;
    border: 2px solid #3D53F5;
    border-radius: 4px;
    color: #3D53F5;
    display: flex;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    height: 32px;
    line-height: 20px;
    margin-left: auto;
    margin-right: 20px;
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 5px 16px;
}

    .add-button:focus {
        outline: none;
    }

.button-line-small-primary {
    align-items: center;
    background-color: transparent;
    border-color: #3D53F5;
    border-radius: 8px;
    border-style: solid;
    border-width: 2px;
    color: #3D53F5;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    justify-content: center;
    line-height: 20px;
    min-height: 32px;
    margin-left: 5px;
    margin-right: 5px;
    width: 130px;
}

    .button-line-small-primary:hover {
        border-color: #3D53F5;
        color: #3D53F5;
    }

    .button-line-small-primary:focus {
        outline: none;
    }

.panel-layout {
    height: calc(100vh - 72px);
    width: 100vw;
    overflow-y: auto;
}
/*Таблицы*/
.table-layout {
    height: calc(100vh - (72px + 64px + 72px));
    width: 100vw;
    overflow: auto;
}

    .table-layout table {
        width: 100%;
    }

    .table-layout tbody td {
        padding: 16px 20px;
        border-bottom: 1px solid #EEEEEE;
    }

    .table-layout thead th {
        padding: 18px 20px;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        left: 0;
        background-color: #F5F5F5;
        width: calc(max-content / 2);
        white-space: nowrap;
        z-index: 9999;
    }


.table-item {
    background-color: #FFFFFF;
}

    .table-item:hover {
        background-color: #F5F5F5;
    }

.column-name {
    font-family: Inter;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    margin: 0px;
}

.cell-value {
    font-family: Inter;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    margin: 0px;
}

.default-text {
    color: var(--default-text-color);
}

.secondary-text {
    color: var(--secondary-text-color);
}

.secondary-light-text {
    color: var(--secondary-light-text-color);
}

.primary-text {
    color: var(--primary-text-color);
}

.successful-text {
    color: var(--successful-text-color);
}

.incorrect-text {
    color: var(--incorrect-text-color);
}

.controversial-text {
    color: var(--controversial-text-color);
}



/*Фотография оператора*/
.operator-photo {
    margin-bottom: 5px;
    border: 2px solid;
    border-color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0px 0px 1px rgba(48, 49, 51, 0.05), 0px 2px 4px rgba(48, 49, 51, 0.1);
}

.small-photo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.middle-photo {
    width: 36px;
    height: 36px;
}

.large-photo {
    width: 48px;
    height: 48px;
}

.loading-layout-enabled {
    z-index: 999999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
}

.loading-layout-disabled {
    display: none;
    top: 0;
    left: 0;
    width: 0px;
    height: 0px;
}

.background-transparent {
    background-color: transparent;
}

/*Контейнеры*/
.horizontal-content-container {
    display: flex;
}

.content-vertical-align-start {
    align-items: flex-start;
}

.content-vertical-align-center {
    align-items: center;
}

.content-vertical-align-end {
    align-items: flex-end;
}

.content-horizontal-align-start {
    justify-content: flex-start;
}

.content-horizontal-align-center {
    justify-content: center;
}

.content-horizontal-align-end {
    justify-content: flex-end;
}

.align-right {
    margin-left: auto;
}

.block-width-520 {
    width: 520px;
}

/* полоса прокрутки (скроллбар) */
::-webkit-scrollbar {
    width: 16px; /* ширина для вертикального скролла */
    height: 16px; /* высота для горизонтального скролла */
    background-color: #F5F5F5;
}

/* ползунок скроллбара */
::-webkit-scrollbar-thumb {
    background-color: #BDBDBD;
    border-radius: 8px;
    border: solid 4px #F5F5F5;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #9E9E9E;
    }

/* Стрелки */

::-webkit-scrollbar-button:vertical:start:decrement {
    display: none;
}

::-webkit-scrollbar-button:vertical:end:increment {
    display: none;
}

::-webkit-scrollbar-button:horizontal:start:decrement {
    display: none;
}

::-webkit-scrollbar-button:horizontal:end:increment {
    display: none;
}
.filters-layout {
    padding: 20px;
    background: white;
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content:space-between;
    box-shadow: 0px 0px 1px rgba(48, 49, 51, 0.05), 0px 16px 24px rgba(48, 49, 51, 0.1);
    border-radius: 10px;
}
.filters-one-column{
    width: 250px;
}
.filters-two-column{
    width: 560px;
}
.filters-control-250{
    width:250px;
}
.apply-button {
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 2px solid #3D53F5;
    border-radius: 4px;
    color: #3D53F5;
    display: flex;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
    height: 32px;
    line-height: 20px;
    padding: 5px 16px;
    width: 100%;
}

.apply-button:focus {
    outline: none;
}