.dws_servant_submit_form {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1em
}

#dws_staff_servant_submit_form {
    max-width: unset;
    width: 100%;
    padding: 0
}

.dws_servant_submit_form label {
    margin-bottom: 15px
}

.dws_servant_submit_form label span {
    margin-bottom: 5px;
    display: block;
}

.dws_servant_submit_form label span:first-child:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #ff5c5c;
    border-radius: 100%;
    margin-inline-end: 5px;
}

.dws_servant_submit_form button {
    max-width: 150px;
    width: 100% !important;
    height: 35px !important;
    padding: 5px;
    border-radius: 3px;
    color: #ffffff;
    background-color: #16c900;
}

.dws_servant_submit_form button:hover {
    background-color: #1aad08;
}

.dws-field-desc {
    font-size: 10px;
    font-style: normal;
    display: block;
}

.dws-field-desc:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #ff8100;
    border-radius: 100%;
    margin-inline-end: 5px;
}

.dws-loading {
    display: none;
    justify-content: center;
    align-items: center;
}

.dws-loading div {
    width: 6px;
    height: 6px;
    margin: 0 5px;
    background: #ffffff;
    border-radius: 50%;
    -webkit-animation: 0.9s bounce infinite alternate;
    animation: 0.9s bounce infinite alternate;
}

.dws-loading div:nth-child(2) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.dws-loading div:nth-child(3) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

@-webkit-keyframes bounce {
    to {
        opacity: 0.3;
        transform: translate3d(0, 1px, 0);
    }
}

@keyframes bounce {
    to {
        opacity: 0.3;
        transform: translate3d(0, 1px, 0);
    }
}

.dws-form-loading {
    position: absolute;
    align-items: center;
    justify-content: center;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #00000017;
    z-index: 999;
}

.dws-loading-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    border-top-color: #60c322;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}

.dws-form-waiting,
.dws-form-pending,
.dws-form-success,
.dws-form-error {
    padding: 10px 10px;
    border-radius: 3px;
    display: block;
    margin-bottom: 10px;
}

.dws-form-error {
    background-color: #ff8d8d3b;
    color: #ff5757;
    fill: #ff5757;
}

.dws-form-success {
    background-color: #8dffb03b;
    color: #00cb10;
    fill: #00cb10;
}

.dws-form-pending {
    background-color: #ffbd3a38;
    color: #ff9207;
    fill: #ff9207;
}

.dws-form-waiting {
    background-color: #6c5ce747;
    color: #6c5ce7;
    fill: #6c5ce7;
}

.dws-servants-wrapper {
    display: flex
}

.dws-servants-wrapper .dw-full-width {
    width: 100%;
    padding: .5em
}

.dws-servants-wrapper .dws-servants-form-col {
    width: 40%;
    padding: .5em
}

.dws-servants-wrapper .dws-servants-list-col {
    width: 60%;
    padding: .5em
}

.dws-servant-list {
    padding: .5em 0
}

.dws-servant-item {
    display: flex;
    justify-content: space-between;
    background-color: #f7f7f7;
    margin-bottom: 1em;
    padding: 1em;
    border-radius: 10px;
    align-items: center;
    cursor: pointer;
}

.dws-servant-item:hover {
    background-color: #e2edff
}

.dws-servant-item span {
    flex: 0 0 15%;
}

.dws-status-wrapper {
    display: grid;
    justify-content: flex-end;
}

.dws-status {
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 3px;
}

.dws-form-status.dws-pending,
.dws-status.dws-pending {
    background-color: #ff8733;
    color: #ffffff
}

.dws-form-status.dws-waiting,
.dws-status.dws-waiting {
    background-color: #6c5ce7;
    color: #ffffff
}

.dws-form-status.dws-success,
.dws-status.dws-success {
    background-color: #76cf00;
    color: #ffffff
}

.dws-form-status.dws-reject,
.dws-status.dws-reject {
    background-color: #ff3333;
    color: #ffffff
}

.modal-body label {
    margin-bottom: 15px;
    display: block;
    position: relative
}

.dws-birthday-wrapper {
    position: relative
}

.dws-birthday-wrapper i {
    position: absolute;
    left: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    top: 0;
    font-style: normal;
}

.dws-birthday-wrapper i span {
    background-color: #3cc503;
    color: #ffffff;
    font-weight: normal;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 12px;
    height: 20px;
    display: flex;
    align-items: center;
}

.modal-body label input,
.modal-body label select,
.modal-body label textarea {
    width: 100%;
    max-width: 100%
}

.modal-body label > span {
    margin-bottom: 5px;
    display: block;
    font-weight: bold;
}

.modal-body label > span:first-child:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #ff5c5c;
    border-radius: 100%;
    margin-inline-end: 5px;
}

.modal-body button {
    max-width: 150px;
    width: 100% !important;
    height: 35px !important;
    padding: 5px;
    border-radius: 3px;
    color: #ffffff;
    background-color: #16c900;
}

.modal-body button:hover {
    background-color: #1aad08;
}

.modal-body .servant-avatar {
    text-align: center
}

.dws-form-status-wrapper label,
.dws-form-status-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dws-form-status-wrapper label {
    padding: 10px;
    cursor: pointer;
    margin-top: 10px;
    width: 20%;
}

.dws-form-status-wrapper label input {
    width: unset !important;
    margin-inline-end: 5px
}

.dws-statistics-wrapper {
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #ffffff;
}

.dw-servants-bg {
    background-color: #34495e;
}

.dw-dusting-bg {
    background-color: #0984e3;
}

.dws-statistics-wrapper .dws-status-title {
    padding: 0 1em;
    border-radius: 3px;
    margin-inline-end: 1em;
    text-align: center;
}

.dws-status-title-wrapper > div {
    display: flex;
    margin-bottom: .5em
}

.dws-status-title-wrapper > div span {
    flex: 0 1 100%;
}

.dws-statistics-wrapper .dws-success {
    background-color: #84ba40
}

.dws-statistics-wrapper .dws-waiting {
    background-color: #a29bfe
}

.dws-statistics-wrapper .dws-pending {
    background-color: #ff8733
}

.dws-statistics-wrapper .dws-rejected {
    background-color: #ff3333
}

.dws-statistics {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

#dws_servants_export,
#dws_servants_statistics {
    cursor: pointer;
}

#dws_servants_export {
    color: #ffffff
}

.dws-charts {
    width: 95%;
    max-height: 788px;
    margin: auto;
    position: relative;
    overflow: hidden;
    overflow-y: scroll
}

.dws-charts::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background-color: #787878;
}

.dws-charts::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background-color: #ffffff;
}

.dws-charts::-webkit-scrollbar {
    width: 5px;
    background-color: #f5f5f5;
}

.charts {
    width: 100%;
    height: 100%;
    z-index: 10;
}

.chart:not(:first-child) {
    margin-top: 10px;
}

.chart__title {
    display: block;
    margin: 0 0 10px;
    font-weight: bold;
    opacity: 0;
    animation: 1s anim-lightspeed-in ease forwards;
}

.chart--prod .chart__title {
    animation-delay: 3.3s;
}

.chart--design .chart__title {
    animation-delay: 4.5s;
}

.chart--horiz {
    overflow: hidden;
}

.chart--horiz li {
    display: flex;
    background-color: #efefef;
    margin-bottom: 5px;
    height: 18px;
}

.chart__bar {
    height: 100%;
    background: #7fc12b;
    opacity: 0;
    animation: 1s anim-lightspeed-in ease forwards;
    display: flex;
    align-items: center;
}

.chart--dev .chart__bar {
    animation-delay: 1s;
}

.chart__label {
    padding-right: 10px;
    line-height: 20px;
    color: #040404;
    font-style: normal;
    white-space: nowrap;
}

.dws-pie-chart {
    position: relative;
    /*width: 500px;*/
    min-height: 250px;
    margin: 0;
    /*outline: 1px solid #ccc;*/
}

.dws-pie-chart h2 {
    position: absolute;
    margin: 1rem;
}

/*.dws-pie-chart cite {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    font-size: 80%;*/
/*    padding: 1rem;*/
/*    color: gray;*/
/*}*/

.dws-pie-chart figcaption {
    position: absolute;
    bottom: 1em;
    right: 1em;
    font-size: smaller;
    text-align: right;
}

.dws-pie-chart span:after {
    display: inline-block;
    content: "";
    width: 0.8em;
    height: 0.8em;
    margin-left: 0.4em;
    height: 0.8em;
    border-radius: 0.2em;
    background: currentColor;
}

.dws-tooltip {
    position: relative;
    display: inline-block;
}

.dws-tooltip .dws-tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}

.dws-tooltip:hover .dws-tooltiptext {
    visibility: visible;
    top: -5px;
    right: 105%;
}

.dws-tooltip:hover .dws-tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent black;
}

@keyframes anim-lightspeed-in {
    0% {
        transform: translateX(200%);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#dws_modal_form {
    max-height: 750px;
    overflow-y: scroll;
}

@media screen and (max-width: 1024px) {
    .dws-servants-wrapper {
        flex-direction: column-reverse;
    }

    .dws-servants-wrapper .dws-servants-list-col,
    .dws-servants-wrapper .dws-servants-form-col {
        width: 100%
    }
}