@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&display=swap');

body{
    margin: 0 !important;
    min-height: 100vh;
    font-family: 'Assistant', sans-serif !important;
    color: #333;
}

body.no-scroll{
    overflow: hidden;
}

button{
    cursor: pointer;
}

.site-info {
    text-align: left;
    padding: 0 0 10px 10px;
    font-size: 14px;
}

div#page {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

h1{
    margin: 0;
}

h1.page-title {
    text-align: center;
    font-size: 20px;
    padding-top: 20px;
}

.login-form {
    max-width: 100%;
    width: 500px;
    margin: 0 auto;
    padding: 15px;
}

#loginform{
    max-width: 500px;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    color: #333;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

p.login-username, p.login-password {
    display: flex;
    flex-direction: column;
}

p.login-username label, p.login-password label {
    font-size: 18px;
    margin: 0 0 5px 0;
}

p.login-username input, p.login-password input {
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid #333;
}


#wp-submit{
    background-color: #ffcb00;
    border: none;
    padding: 0;
    width: 100%;
    font-weight: 100;
    min-height: 40px;
    color: #333;
    border-radius: 10px;
}

.small-title{
    margin: 0 0 15px 0;
    font-size: 18px;
}

.sectionWrap{
    max-width: 100%;
    width: 100%;
    margin: 50px auto 0 ;
    padding: 15px;
}

.formWrap{
    position: relative;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    color: #333;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

form.searchUsers {
    display: flex;
    gap: 15px;
    position: relative;
}

.fieldWrap{
    display: flex;
    flex-direction: column;
    width: 16.666%;
    position: relative;
}

.fieldWrap label{
    font-weight: 500;
    margin-bottom: 5px;
}

.fieldWrap input, .fieldWrap select{
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid #333;
}

.fieldWrap button{
    background-color: #ffcb00;
    border: none;
    padding: 0;
    width: 100%;
    font-weight: 100;
    min-height: 40px;
    color: #333;
    border-radius: 10px;
}

.resultsWrap{
    position: relative;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    color: #333;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.resultsHeader {
    display: flex;
    justify-content: space-between;
}

.resultsHeader .title{
    width: calc(14.28% - 7px);
    flex-shrink: 0;
    border-bottom: 1px solid #333;
    font-weight: 600;
}

.resultsHeader .edit{
    width: 60px;
    flex-shrink: 0;
    border-bottom: 1px solid #333;
    font-weight: bold;
}

.row {
    display: flex;
    padding: 5px 0;
}

.row .value{
    width: calc(14.28% - 7px);
    flex-shrink: 0;
    border-bottom: 1px solid #333;
}

.row .edit{
    width: 60px;
    flex-shrink: 0;
    border-bottom: 1px solid #333;
    display: flex;
    gap: 10px;
}

.no-results {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: red;
    margin-top: 30px;
}

button.clearSearch {
    background: transparent;
    border: none;
    padding: 0;
    color: red;
    position: absolute;
}

button.clearSearch {
    background: transparent;
    border: none;
    padding: 0;
    color: red;
    position: absolute;
    top: -45px;
    z-index: 2;
    left: 0;
    cursor: pointer;
}

button.editU {
    padding: 3px;
    background: transparent;
    border: none;
}

button.deleteU {
    padding: 3px;
    background: transparent;
    border: none;
    color: red;
}

.popupWrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    z-index: 9;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popUpIn{
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    width: 500px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    color: #333;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

button.closePop {
    position: absolute;
    left: 10px;
    top: 10px;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 30px;
    line-height: 0;
}

.editUser .fieldWrap{
    width: 100%;
    flex-direction: row;
    margin-bottom: 10px;
}

.editUser .fieldWrap label{
    min-width: 100px;
    margin: 0;
}

.editUser .fieldWrap input, .editUser .fieldWrap select{
    flex: 1;
}

.newMember {
    position: absolute;
    left: 15px;
    top: 15px;
}

button.openPopNew {
    background: transparent;
    border: none;
    padding: 0;
    direction: ltr;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    display: flex;
    align-items: center;
}

button.openPopNew i{
    font-size: 20px;
    margin-left: 5px;
}

input[type="file"] {
    display: none;
}

.file-upload{
    display: block;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid #333;
}

form.importUsers {
    position: absolute;
    left: 0;
    top: -50px;
}

tr.redBg{
    background: red;
}

.import-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-weight: bold;
    color: red;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #ffcb00;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

.fieldWrap .showRoutesSearch, .fieldWrap .showRoutesAddEdit{
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #fff;
}

.routeListWrapSearch{
    position: absolute;
    display: flex;
    top: 100%;
    flex-direction: column;
    z-index: 2;
    background: #fff;
    border: 1px solid #333;
    width: 100%;
    border-top: none;
    padding: 5px;
    border-radius: 0px 0px 4px 4px;
}

.routeListWrapSearchAddEdit{
    width: 100%;
    display: flex;
    border-radius: 10px;
    border: 1px solid #333;
    padding: 5px;
    flex-direction: column;
    max-height: 150px;
    overflow: scroll;
}

.routeListWrapSearch label.container, .routeListWrapSearchAddEdit label.container {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    margin-bottom: 5px;
}
.routeListWrapSearch label.container input, .routeListWrapSearchAddEdit label.container input{
    min-height: 15px;
    width: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    height: 15px !important;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media(max-width: 767px){
    form.searchUsers{
        flex-direction: column;
    }
    .fieldWrap{
        width: 100%;
    }
    .resultsWrap{
        overflow: scroll;
    }
    .resultsWrapIn{
        width: 100%;
        overflow: scroll;
    }
    .resultsHeader, .results {
        min-width: 1000px;
    }
}