a{
    cursor: pointer;
}

.user-name-text {
    display: flex;
    justify-content: center;
    align-items: center;
}
.user-name-text h3{margin-left: 5px;
}

#description{
    resize: none;
    min-height: 100px;
    max-height: 250px;
}

.recordlist-description {
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.userlist-note {
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.recordlist-description:hover,
.userlist-note:hover {
    overflow: auto;
    white-space: wrap;
    text-overflow: unset;
}


.recordlist-nickname{
    text-transform: capitalize;
}

.popup-blur{
    filter: blur(5px);
}

.flex-col{
    flex-direction: column;
}

#payFromPrepaidForm{
    display: none;
}

#payFromPrepaidForm.show{
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b2b2b280;
}

/* Home filters */
#filters-toggle{
    cursor: pointer;
    display: flex;
}

#filters-toggle i{
    rotate: 0deg;
}

#filters-toggle.rotate i{
    rotate: 180deg;
    transition: all 0.4s ease-in;
}

.accordion-header.hidden{
    display: none;
}

.accordion-item.filters {
    background: transparent;
    border: 0;
}

.accordion-item.filters .accordion-body{
    margin-top: 20px;
}

.filters-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
@media(max-width:767px){
    .filters-wrapper{
        flex-direction: column !important;
    }
}

.filters-wrapper .filter-box{
    display: flex;
    flex-direction: column;
    margin-right: 30px;
    margin-bottom: 15px;
}

.filter-box .users-box {
    max-height: 150px;
    overflow: auto;
    padding-right: 15px;
}

#filters-buttons{
    margin-top: 5px;
}

.accordion-body.filters-hidden {
    padding: 16px 20px !important;
    border-radius: 5px;
}

.page-item.active span {
    background: #605DFF !important;
    color: #fff !important;
}

/* Flash message animation */
@media(min-width:501px){
    .animated-move-in-out{
        right: -500px;
        animation: moveRightAndBack 6s ease-in-out;
    }
    @keyframes moveRightAndBack {
        0% {
            right: -350px;
        }
        15% {
            right: 20px;
        }
        50% {
            right: 20px;
        }
        95% {
            right: -250px;
        }
        100% {
            right: -450px;
        }
    }
}
@media(max-width:500px){
    .animated-move-in-out{
        right: -100vw;
        animation: moveRightAndBack 6s ease-in-out;
    }
    @keyframes moveRightAndBack {
        0% {
            right: -100vw;
        }
        15% {
            right: 0;
        }
        50% {
            right: 0;
        }
        95% {
            right: -110vw;
        }
        100% {
            right: -120vw;
        }
    }
}

.flash-message {
    max-width: 350px;
    top: 20px;
    right: -350px;
    z-index: 1000;
    position: fixed !important;
}

.alert-hidden{
    display: none;
}

/* Admin edit user danger zone */
.nav-link.dangerzone,
.nav-link.dangerzone:hover{
    color: rgb(253, 88, 18);
}
.nav-link.dangerzone.active{
    color: #fff !important;
}

.nav-pills .nav-link.active.dangerzone,
.nav-pills .show > .nav-link {
    color: #fff !important;
    background-color: rgb(253, 88, 18) !important;
}

/* Hide user charts downloads */
#earning_charts__user .apexcharts-toolbar{
    display: none;
}

.hidden{
    display: none !important;
}

/* Availability Schedule */
.clickable{
    cursor: pointer;
}
/* empty tds */
td.clickable{
    background: #ff83834f !important;
}
/* filled tds */
td.clickable:has(div){
    background: #c1ffc14f !important;
}

/* Fixed centering for user data */
#availability-schedule .ms-m-10:first-child{
    margin-left: 0px;
}
#availability-schedule .ms-m-10:nth-child(2){
    margin-left: -10px;
}

/* Projects */
.project-list-description{
    max-width: 200px;
    padding-right: 30px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#users-from-project .table{
    max-width: 100%;
}

#delete-project-wrapper{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000020;
}
#delete-project-wrapper > div{
    /* max-width: 400px; */
}