html,
body {
    touch-action: manipulation;
    /* отключает даблтап для зума */
    height: 100%;
    font-family: "SF Pro Text", "Myriad Set Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Icons", "Apple Legacy Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.hidden {
    display: none !important;
}

.bold {
    font-weight: bold;
}

.noUnderline {
    text-decoration: none !important;
}

#app {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 100%;
    overflow: hidden;
}

.topPanel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    animation: fadeIn 0.3s ease-in-out forwards;
    padding: 5px 10px;
    box-sizing: border-box;
    border-bottom: solid 1px #ccc;
}

.red {
    color: rgb(175, 0, 0);
}

.deny {
    cursor: not-allowed;
}

.pointer{
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.topPanel .title {
    font-size: 10px;
    color: #000;
    line-height: 12px;
}

.exitButton div {

    border-radius: 5px;
    font-size: 14px;
    padding: 5px 5px;
    text-align: center;
    box-sizing: border-box;
    display: block;
    color: #000;
    text-decoration: none;
    line-height: 12px;
}

.exitButton div:hover {
    color: #1a1a1a;
    cursor: pointer;
}

/*VIEWS GLOBAL*/
#globalView,
#discipleView {
    flex: 1 1 auto;
    min-height: 0;
    /* обязательно для работы скролла внутри */
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.accountsListView,
.roomsListView {
    width: 100%;
    padding: 5px 5px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

.resultsListView {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-height: 0;
    /* обязательно для работы скролла внутри */
    overflow-y: auto;
    /* скролл при переполнении */
    max-height: 100%;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 5px;
}

.tasksListView {
    width: 100%;
    padding: 5px 5px 0 5px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

.tasksContentListView {
    width: 100%;
    padding: 5px 5px 0 5px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.abacusView {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 0 5px;
}

/*SIMPLE INPUT*/

.simpleInput {
    outline: none !important;
    border-radius: 10px !important;
    height: 20px !important;
    font-size: 10px !important;
    box-sizing: border-box;
    padding: 0 5px 0 5px !important;
    margin: 3px 5px 3px 0 !important;
    border: solid 1px #8a8a8a !important;
}

.simpleInput:focus {
    outline: none !important;
}


/*SIMPLE BUTTON*/

.simpleButton {
    color: #fff;
    border-radius: 10px;
    height: 20px;
    font-size: 10px;
    display: flex;
    box-sizing: border-box;
    background: #000;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px 0 5px;
    margin: 3px 5px 3px 0;
    border: solid 1px #000;
    max-width: 180px;
    cursor: pointer;
}

.simpleButtonNoMarinRight {
    margin: 3px 0px 3px 0;
}

.simpleButton.selected {
    color: #000;
    cursor: pointer;
    /* transform: scale(1.005);*/
    background: #fff;
    border: solid 1px #1a1a1a;
}

.simplebuttonLeft {
    border: solid 1px #3d3d3d;
    background-color: #fff;
    color: #000;
    width: auto;
    height: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    line-height: 12px;
    margin-right: 10px;
    padding: 0 3px;
    box-sizing: border-box;
    min-width: 12px;
}

.simplebuttonLeft.online{
     background-color: #3ef83e!important;
     color: #fff!important;
}

.simpleButton.selected .simplebuttonLeft {
    border: solid 1px #000000;
    color: #000;
}


.simplebuttonMiddle {
    white-space: nowrap;
    margin-right: 5px;
}

.simplebuttonRight {
    color: #fff;
    margin-right: 5px;
}

.simplebuttonRight .ctrlbtn{
    display:inline-block;
    padding-left:3px;
}

.simpleButton.selected .simplebuttonRight {
    color: #000;
    font-weight: bold;
}

/*MASTER*/
#masterPanel .simpleButton:last-child {
    margin-right: 0;
}

#masterinput {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 5px 5px 0 5px;
    justify-content: flex-start;
    border-top: solid 1px #fff;
}



#masterPanel {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 0 5px 5px 5px;
    justify-content: flex-start;
    border-top: solid 1px #fff;
    flex-wrap: wrap;
}

#masterPanelView {
    width: 100%;
}

#cleardb {
    cursor: not-allowed;
}

/*LOG*/


#status {
    width: 100%;
    padding-bottom: 30px;
}

#socketStatus {
    width: 100%;
    font-size: 10px;
    background-color: #000;
    color: #fff;
    padding: 0 10px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

#socketStatus .arrow {
    font-size: 10px;
    margin-left: 8px;
}

#socketStatus .copy {
    font-size: 10px;
}

#socketStatus.active {
    box-shadow: inset 5px 0 0 0 #3ef83e;
    /* Зелёная тень слева, 3px */
}

#socketStatus.inactive {
    box-shadow: inset 5px 0 0 0 #ff0909;
    /* Зелёная тень слева, 3px */
}

#socketStatus.loading {
    box-shadow: inset 5px 0 0 0 #dbcd00;
    /* Зелёная тень слева, 3px */
}

#logStatus {
    width: 100%;
    font-size: 14px;
    color: #fff;
    padding: 2px 5px;
    overflow: hidden;
    overflow-y: scroll;
    max-height: 100%;
}


#logStatus ul {
    list-style: none;
    width: 100%;
}

#logStatus li {
    min-height: 14px;
    width: 100%;
    padding: 2px 0 2px 5px;
    border-bottom: 1px solid #eee;
    font-size: 10px;
    color: #575757;
}

#logStatus ul li:last-child {
    border-bottom: 0;

}