﻿* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'seyagh';
    src: url('../font/seyagh.ttf') format('truetype');
}

body, html {
    font-family: 'seyagh' !important;
    font-size: 12px;
    height: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
}

#root {
    height: 100%;
    overflow: hidden;
}


::-webkit-scrollbar {
    width: 2px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #0072CB;
    border-radius: 50px;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #0056a0;
    }

/*Login page*/
.login {
    direction: rtl;
    background-color: #ECEFF1;
    height: 100%;
}

    .login .login-wrapper {
        background-color: #fff;
        border-radius: 24px;
        padding: 40px 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 450px;
        width: 400px;
        position: relative;
    }

        .login .login-wrapper .has-float-label, .login .login-wrapper button {
            width: 300px;
        }

        .login .login-wrapper .version {
            position: absolute;
            bottom: 16px;
            color: #016abbe8;
            font-size: 10px;
        }

    .login .background-image img {
        position: fixed;
        left: 0;
        border: 0;
        top: 0;
        width: max-content;
        height: 100vh;
    }

    .login .login-wrapper .title {
        font-weight: 700;
        font-size: 16px;
        color: #37474F;
        width: 100%;
        margin-bottom: 20px;
    }

.centeral {
    display: flex;
    align-items: center;
    justify-content: center;
}
/*Public*/


button {
    box-shadow: 0px 1px 3px 0px #00000033 !important;
    border-radius: 4px !important;
    padding: 4px 16px !important;
    border: none !important;
}

    button.blue {
        background-color: #016ABB;
        color: #fff;
    }

#js-properties-panel button {
    box-shadow: unset !important;
    border-radius: unset !important;
    padding: unset !important;
}


select {
    width: 100%;
    border-radius: 2px;
    border: 1px solid #D7D7D7;
    padding: 5px 4px;
}

    select:focus-visible {
        outline: unset;
    }

input {
    border-radius: 2px;
    border: 1px solid #D7D7D7;
    padding: 5px 4px;
}

    input:focus-visible {
        outline: unset;
    }

textarea {
    width: 100%;
    min-height: 250px;
    border-radius: 2px;
    border: 1px solid #D7D7D7;
    padding: 5px 4px;
}

    textarea:focus-visible {
        outline: unset;
    }

.has-float-label-textarea textarea {
    border-radius: 2px !important;
    border: 1px solid #D7D7D7 !important;
    padding: 15px;
}

.has-float-label-textarea {
    position: relative;
    margin-bottom: 10px;
    padding-right: 0;
}

    .has-float-label-textarea > span {
        position: absolute;
        cursor: text;
        font-size: 11px;
        opacity: 1;
        transition: all .2s;
        top: -2px;
        right: 8px;
        z-index: 3;
        line-height: 1;
        color: #565656;
        padding: 1px 2px;
    }

        .has-float-label-textarea > span:after {
            content: "";
            width: 120%;
            height: 1px;
            background-color: #fff;
            display: block;
            margin-top: -5px;
            margin-right: -5px;
        }

.has-float-label {
    position: relative;
    margin-bottom: 10px;
    padding-right: 0;
}

    .has-float-label > span {
        position: absolute;
        cursor: text;
        font-size: 11px;
        opacity: 1;
        -webkit-transition: all .2s;
        transition: all .2s;
        top: -7px;
        right: 8px;
        z-index: 3;
        line-height: 1;
        padding: 0 1px;
        color: #565656;
        padding: 1px 2px;
    }

    .has-float-label:has(textarea) > span {
        top: -2px;
    }

    .has-float-label > span:after {
        content: "";
        width: 110%;
        height: 1px;
        background-color: #fff;
        display: block;
        margin-top: -5px;
        margin-right: -5px;
    }


    .has-float-label.error > span {
        color: #b75d5d;
    }

    .has-float-label.error > input, .has-float-label.error > select {
        background-color: snow;
        border-color: #b75d5d;
    }

/*.content {
    margin-top: 15px;
}*/

.content table {
    padding: 20px 0;
    table-layout: fixed;
}

    .content table thead {
        position: sticky;
        top: 0;
    }

        .content table thead tr th {
            background-color: #546E7A !important;
            color: #fff !important;
        }



.fixed-width-td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-version {
    width: 73px;
}

.col-last-update {
    width: 111px;
}

.col-instance-count {
    width: 90px;
}

.col-status {
    width: 55px;
}

.col-edit {
    width: 30px;
}

.col-delete {
    width: 30px;
}


.input-wrapper {
    position: relative;
}

    .input-wrapper > label {
        position: absolute;
        top: -8px;
        right: 11px;
        color: #565656;
        font-size: 11px;
        background-color: #fff;
        padding: 0px 5px;
        z-index: 2;
    }

    .input-wrapper > input {
        height: 36px;
    }

    .input-wrapper .eye {
        top: 5px;
        left: 10px;
    }


.button-accept {
    width: 166px;
    height: 30px;
    background-color: #30859a;
    margin-bottom: 24px;
}

    .button-accept:hover, .button-accept:active {
        background-color: #1b6173 !important;
    }



.user-dropdown #dropdown-custom-toggle::after {
    display: none;
}

.user-dropdown .dropdown-item {
    text-align: right;
}



.nav-tabs > li > button.active,
.nav-tabs > li > button.active:focus,
.nav-tabs > li > button.active:hover {
    border-top: 4px solid #0277bd !important;
    background-color: #e3f2fd !important;
    color: #555 !important;
}

.nav-tabs > li > button {
    border-top: 4px solid unset !important;
    background-color: unset !important;
    color: #428bca !important;
    box-shadow: unset !important;
    padding: 8px 14px !important;
    text-decoration: none !important;
}


h3.title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}



body *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

body *::-webkit-scrollbar-track {
    background-color: #F0F2F4;
    border-radius: 4px;
}

body *::-webkit-scrollbar-thumb {
    background-color: #8B8B8B;
    border-radius: 8px;
}

    body *::-webkit-scrollbar-thumb:hover {
        background-color: #676767;
    }


.box-type-1 > .header {
    background-color: #004b70;
    line-height: 30px;
    color: #fff;
    margin-top: 8px;
    padding: 0 15px;
}

.box-type-1 > .body {
    background-color: #fafafa;
    overflow: auto;
    padding: 15px;
}

    .box-type-1 > .body .items {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

        .box-type-1 > .body .items .item {
            display: flex;
            align-items: center;
            gap: 8px;
        }






.button-accept {
    background: #1966D2;
    padding: 6px 24px;
    border-radius: 50px;
    box-shadow: unset;
    height: 40px;
    cursor: pointer;
    font-weight: 500;
    color: #fff;
}

    .button-accept.disabled {
        background: #1C1B1B1F;
        color: #1C1B1B6F;
        cursor: default;
    }

.button-default {
    border: 1px solid #72787D;
    border-radius: 50px;
    box-shadow: unset;
    height: 40px;
    cursor: pointer;
    color: #1966D2;
    background: none;
    width: 99px;
    font-weight: 500;
}

    .button-default.disabled {
        border-color: #1C1B1B1F !important;
        color: #1C1B1B6F !important;
        cursor: not-allowed !important;
        background-color: unset !important
    }

.button-cancel {
    border: 1px solid #F8F6F3;
    padding: 6px 24px;
    background: #F8F6F3;
    border-radius: 50px;
    box-shadow: unset;
    height: 40px;
    cursor: pointer;
    color: #535351;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.grid .button-accept, .grid .button-default, .no-radius {
    padding: 0px 16px;
    border-radius: 2px !important;
    height: 24px !important;
    cursor: pointer;
    line-height: 16px !important;
}

.grid .button-default, .navbar-fixed-bottom .button-default {
    background: #F8F6F3;
    color: #1C1B1B;
    border: 1px solid #C2C7CD;
}

.grid .button-accept, .navbar-fixed-bottom .button-accept {
    background: #0077ED;
}


.dropdown-menu > li > a {
    display: flex;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-menu > li > a {
    font-size: 11px;
    line-height: 24px;
    cursor: pointer;
}

.dropdown-toggle::after {
    display: none;
}


.ant-tree-list-holder-inner {
    background-color: #f0f0f042;
}

.modal-title {
    width: 100%;
}

/** HARD FORM **/
.demo-header {
    padding: 7px 0;
    margin-bottom: 12px;
    background-color: #eceff1;
    display: flex;
    border: 1px solid #DDDDDD;
    height: 44px;
    position: fixed;
    width: 100%;
    z-index: 100;
}

    .demo-header .form-name {
        font-weight: 700;
        line-height: 28px;
        padding: 0px 16px 0;
        font-size: 12px;
    }

.page-body {
    padding: 75px 50px;
    height: calc(100vh - 75px);
}

.btn-cancel {
    background-color: unset !important;
    color: #000 !important;
    box-shadow: unset !important;
}

.btn-primary {
    background-color: #01a0bb !important;
}


.invalid-feedback {
    display: flex;
    width: 100%;
    color: var(--bs-form-invalid-color);
    position: absolute;
    bottom: -15px;
    background-color: #e7e7e742;
    padding: 1px 5px;
    font-size: 10px;
    border-radius: 0 0 5px 5px;
}

.form-switch {
    display: flex;
    flex-direction: row-reverse;
    gap: 3px;
    align-items: center;
    justify-content: flex-end;
    padding-top: 8px;
    padding-right: 14px;
}

.between-Grid-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 100%;
}

    .between-Grid-button > img {
        max-width: 40px;
        cursor: pointer;
    }


#error-modal-root {
    z-index: 10100;
    position: relative;
}