.cursor-pointer {
    cursor: pointer;
}

.app-btn-primary {
    background-color: #6099C7;
    color: #ffffff;
}

.app-btn-outline-primary {
    background-color: #ffffff;
    color: #6099C7;
    border-color: #6099C7;
}

.app-btn-outline-danger {
    background-color: #ffffff;
    color: #DD5F5F;
    border-color: #DD5F5F;
}

.accent-text {
    color: #6099C7;
}

.command-bar-wrapper {
    z-index: 1;
}
.sticky-bottom,
.sticky-top {
    z-index: 1;
}

.aside {
    background-color: #6099C7 !important;
    color: #ffffff !important;
}
.aside .bg-dark {
    background-color: #6099C7 !important;
}
.aside .nav .nav-item.active .nav-link {
    background-color: #43769F !important;
}
.aside .nav .nav-item .nav-link:hover {
    background-color: #43769F !important;
}
.aside .profile-container {
    background-color: #ffffff;
}

.aside .profile-container .text-white {
    color: #6099C7 !important;
}

.btn-round {
    border-radius: 50%;
}


.white-card {
    padding: 22px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 40px 0 #E4E6F2;
}

/* INPUT */
.default-text-input {
    background-color: #F6F7FC;
    border-color: #F6F7FC;
}
.default-text-input .el-input__wrapper {
    background-color: #F6F7FC;
    box-shadow: none;
}
.default-text-input .el-input__wrapper.is-focus,
.default-text-input .el-input__wrapper:hover {
    box-shadow: none;
}

.default-text-input input {
    font-size: 16px;
    font-weight: 400;
}

.default-text-input .el-input-group__append {
    box-shadow: none;
}

.default-text-input.short-append .el-input-group__append {
    padding-left: 5px !important;
    padding-right: 10px !important;
}

/* SELECT */
.default-select-style {
    background-color: #F6F7FC;
    border-color: #F6F7FC;
}

.default-select-style .el-select-dropdown__item.is-hovering {
    background-color: #dfdfdf;
}

.default-select-style .el-select__wrapper {
    background-color: #F6F7FC;
    border-color: #F6F7FC;
}

.el-date-editor.default-datepicker-style {
    width: 100% !important;
}

.default-datepicker-style .el-input__wrapper,
.default-select-style .el-input__wrapper {
    background-color: #F6F7FC;
    border-color: #F6F7FC;
    width: 100% !important;
}
.default-select-style .el-select__placeholder.is-transparent {
    color: rgba(168, 171, 178, 0.6);
}

.custom-active-select.el-select--large .el-select__wrapper,
.custom-active-select .el-select__wrapper,
.custom-active-select .el-select__wrapper.is-focused {
    box-shadow: 0 0 0 1px #009131 inset;
    min-height: 35px;
}

.custom-active-select .el-select__placeholder,
.custom-active-select .el-select__caret {
    color: #009131;
}

.custom-active-select.as-archive .el-select__wrapper,
.custom-active-select.as-archive .el-select__wrapper.is-focused {
    box-shadow: 0 0 0 1px #6E60C7 inset;
}

.custom-active-select.as-archive .el-select__placeholder,
.custom-active-select.as-archive .el-select__caret {
    color: #6E60C7;
}

.custom-active-select .el-select__wrapper.is-disabled {
    box-shadow: 0 0 0 1px var(--el-select-disabled-border) inset !important;
}

.custom-active-select .el-select__wrapper.is-disabled .el-select__caret {
    color: var(--el-select-disabled-color);
}

/* BUTTONS */
.custom-button.el-button+.custom-button.el-button {
    margin-left: 0;
}

.custom-button.el-button {
    min-width: 35px;
    height: 35px;
    padding: 0 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 35px;
    border-width: 0;
}

.custom-button.el-button.icon {
    width: 35px;
    padding: 0;
}

.custom-button.el-button.icon.rounded {
    border-radius: 50% !important;
}

.custom-button.el-button.wider {
    padding: 0 32px;
}

.custom-button.el-button.icon.large {
    min-width: 40px;
    height: 40px;
    line-height: 40px;
}

.custom-button.el-button.small {
    min-width: 24px;
    height: 24px;
    line-height: 24px;
}

.custom-button.el-button.icon.small {
    width: 24px;
    padding: 0;
}

.custom-button.el-button.icon.x-small {
    min-width: 16px;
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 3px;
}

.custom-button.el-button[disabled],
.custom-button.el-button:disabled {
    pointer-events: none;
}

.custom-button.el-button.el-button--primary  {
    --el-button-bg-color: #6099C7;
    --el-button-active-bg-color: #3c80a8;
    --el-button-hover-bg-color: #4d8cc3;
    --text-color: #F5F5F5;
    --el-button-disabled-bg-color: rgba(96, 153, 199, 0.5);
}

.custom-button.el-button.el-button--primary.stroked  {
    --el-button-bg-color: #fff;
    --el-button-active-bg-color: #ddd;
    --el-button-hover-bg-color: #eee;
    --el-button-text-color: #6099C7;
    --el-button-border-color: #6099C7;
    --el-button-hover-text-color: #4d8cc3;
    --el-button-hover-border-color: #4d8cc3;
    --el-button-active-color: #3c80a8;
    --el-button-active-border-color: #3c80a8;
    border-width: 1px;
}

.custom-button.el-button.el-button--info  {
    --el-button-bg-color: #6E60C7;
    --el-button-active-bg-color: #493b93;
    --el-button-hover-bg-color: #57499f;
    --text-color: #F5F5F5;
    --el-button-disabled-bg-color: rgba(110, 96, 199, 0.5);
}

.custom-button.el-button.el-button--text  {
    background-color: #ECEDF3;
    color: #000 !important;
    font-weight: 400;
}
.custom-button.el-button.el-button--text:hover {
    background-color: #d8dae2;
}
.custom-button.el-button.el-button--text:active {
    background-color: #c4c6d1;
}

.custom-button.el-button.el-button--warning  {
    --el-button-bg-color: #ABABAB;
    --el-button-active-bg-color: #8c8c8c;
    --el-button-hover-bg-color: #c0c0c0;
    --text-color: #F5F5F5;
}

.custom-button.el-button.el-button--danger  {
    --el-button-bg-color: #DD5F5F;
    --el-button-active-bg-color: #B34B4B;
    --el-button-hover-bg-color: #E97A7A;
    --text-color: #F5F5F5;
}

.custom-button.el-button.el-button--danger.stroked  {
    --el-button-bg-color: #fff;
    --el-button-active-bg-color: #ddd;
    --el-button-hover-bg-color: #eee;
    --el-button-text-color: #DD5F5F;
    --el-button-border-color: #DD5F5F;
    --el-button-hover-text-color: #E97A7A;
    --el-button-hover-border-color: #E97A7A;
    --el-button-active-color: #B34B4B;
    --el-button-active-border-color: #B34B4B;
    border-width: 1px;
}

.custom-button.el-button.el-button--success {
    --el-button-bg-color: #009131;
    --el-button-active-bg-color: #007725;
    --el-button-hover-bg-color: #00a640;
    --text-color: #F5F5F5;
}

.custom-button.el-button.el-button--success.stroked {
    --el-button-bg-color: #fff;
    --el-button-active-bg-color: #ddd;
    --el-button-hover-bg-color: #eee;
    --el-button-text-color: #009131;
    --el-button-border-color: #009131;
    --el-button-hover-text-color: #00a640;
    --el-button-hover-border-color: #00a640;
    --el-button-active-color: #007725;
    --el-button-active-border-color: #007725;
    border-width: 1px;
}

/* TABLE */
.custom-table.el-table {
    background-color: transparent;
    width: 100%;
    color: #292D32;
}
.custom-table.el-table td.el-table__cell {
    padding: 16px 0;
}
.custom-table.el-table.custom-table_grow {
    flex-grow: 1;
}
.custom-table.el-table .el-table__header {
    width: 100% !important; /* width header */
}
.custom-table.el-table .el-scrollbar__view {
    display: block;
    .el-table__body {
        width: 100% !important; /* width content */
    }
}
.custom-table.el-table .el-table__inner-wrapper:before {
    background-color: transparent  /* border table bottom (no data) */
}
.custom-table.el-table th.el-table__cell {
    background-color: transparent;
    vertical-align: top;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.16;
}
.custom-table.el-table tr {
    background-color: transparent;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.16;
}
.custom-table.el-table .phone {
    font-weight: 700;
    color: #6099C7;
}

/* MODAL */
.custom-modal.el-dialog {
    padding: 40px;
    border-radius: 16px;
    overflow: hidden;
    max-width: calc(100% - 32px);
}
@media (max-width: 768px) {
    .custom-modal.el-dialog {
        padding: 24px 16px;
    }
}
.custom-modal.el-dialog .el-dialog__header {
    margin-bottom: 0;
    padding-bottom: 0;
}
.custom-modal.el-dialog .el-dialog__title {
    /*display: block;*/
    /*font-size: 24px;*/
    /*font-weight: 600;*/
    /*line-height: 1.2;*/
    /*text-align: center;*/
}
.custom-modal.el-dialog .custom-modal__group-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.custom-modal.el-dialog .custom-modal__header {
    position: relative;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .custom-modal.el-dialog .custom-modal__header {
        margin-bottom: 16px;
    }
}
.custom-modal.el-dialog .custom-modal__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 4px;
    color: #292D32;
}
.custom-modal.el-dialog .custom-modal__subtitle {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #6099C7;
    text-align: center;
}
.custom-modal.el-dialog .custom-modal__header .custom-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.custom-modal.el-dialog h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #6099C7;
    margin-bottom: 16px;
}
.custom-modal.el-dialog .button-group {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 40px;
}
.custom-modal.el-dialog .card-group {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .custom-modal.el-dialog .button-group {
        flex-direction: column;
        gap: 12px;
    }
}
.custom-modal.el-dialog .button-block {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.custom-modal.el-dialog .button-block_space-between {
    justify-content: space-between;
}
.custom-modal.el-dialog .button-block_margin-top {
    margin-top: 40px;
}
.custom-modal.el-dialog .button-block_end {
    justify-content: flex-end;
}
.custom-modal.el-dialog .card-block {
    display: flex;
    gap: 24px;
}
.custom-modal.el-dialog .card-block-card {
    position: relative;
    cursor: pointer;
}
.custom-modal.el-dialog .card-block-card.active {
    cursor: auto;
    border: 1px solid #6099C7;
}
.custom-modal.el-dialog .card-block-card.active:after {
    content: "✓";
    position: absolute;
    color: green;
    top: 0;
    right: 5px;
    font-size: 25px;
}

.custom-modal.el-dialog .card-block-card p {
    margin-bottom: 5px;
}
.custom-modal.el-dialog .card-block-card .text-small-muted {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 10px;
}
.custom-modal.el-dialog .card-block-card .custom-button {
    width: 100%;
}

@media (max-width: 768px) {
    .custom-modal.el-dialog .button-block {
        width: 100%;
        gap: 12px;
    }
    .custom-modal.el-dialog .button-block .custom-button {
        flex-grow: 1;
    }
    .custom-modal.el-dialog .button-block .custom-button.sm-large {
        width: 100%;
    }
    .custom-modal.el-dialog .card-block {
        width: 100%;
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
}
.custom-modal.el-dialog .el-form-item {
    margin-bottom: 16px;
}
.custom-modal.el-dialog .el-form-item__content {
    display: flex;
    flex-wrap: nowrap;
}
.custom-modal.el-dialog label {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.16;
    padding-right: 8px;
    width: 30%;
    flex: 0 0 30%;
    white-space: break-spaces;
}
@media (max-width: 480px) {
    .custom-modal.el-dialog label {
        font-size: 12px;
    }
}
.custom-modal.el-dialog .el-form-item__content .element-label {
    width: calc(30% - 16px);
    margin-right: 16px;
}
.custom-modal.el-dialog .el-form-item__content .element-input {
    width: calc(70% - 30px);
}

.custom-modal.el-dialog .el-form-item__content .el-form-item__error {
    width: 100%;
    text-align: end;
}

.default-text-input .el-textarea__inner,
.default-text-input .el-textarea__inner:hover,
.default-text-input .el-textarea__inner.is-focused,
.el-select.default-select-style .el-select__wrapper,
.el-select.default-select-style .el-select__wrapper:hover,
.el-select.default-select-style .el-select__wrapper.is-focused,
.custom-modal.el-dialog .el-form-item__content .el-select__wrapper,
.custom-modal.el-dialog .el-form-item__content .el-select__wrapper:hover,
.custom-modal.el-dialog .el-form-item__content .el-select__wrapper.is-focused,
.custom-modal.el-dialog .el-form-item__content .el-input__wrapper,
.custom-modal.el-dialog .el-form-item__content .el-input__wrapper:hover,
.custom-modal.el-dialog .el-form-item__content .el-input__wrapper.is-focused {
    box-shadow: none;
}

.el-cascader.default-select-style .el-input__inner,
.custom-modal.el-dialog .el-form-item__content .el-select__placeholder,
.custom-modal.el-dialog .el-form-item__content .el-date-editor .el-input__inner {
    font-size: 16px;
    font-weight: 400;
}
.custom-modal.el-dialog .el-form-item__content .el-date-editor .el-input__prefix-inner {
    display: none;
}

.custom-modal.el-dialog .el-form-item.is-error .default-text-input .el-input__wrapper,
.custom-modal.el-dialog .el-form-item.is-error .default-text-input .el-input__wrapper.is-focus,
.custom-modal.el-dialog .el-form-item.is-error .default-text-input .el-input__wrapper:hover {
    box-shadow: 0 0 0 1px var(--el-color-danger);
}

.default-text-input .el-textarea__inner {
    background-color: #F6F7FC;
}

/* SELECT */
.raised-select.disabling-style .el-select__wrapper.is-disabled {
    /*background-color: rgba(110, 96, 199, 0.3);*/
}
.raised-select.disabling-style .el-select__wrapper.is-disabled:after {
    content: "Archived";
    width: 100%;
    height: 100%;
    position: absolute;
    text-align: center;
    color: #fff;
    font-weight: 800;
    top: 0;
    left: 0;
    background-color: rgba(110, 96, 199, 0.5);
    border-radius: 3px;
}
.raised-select.el-select .el-select__wrapper {
    line-height: 40px;
    min-height: 40px;
}
.raised-select.el-select .el-select__wrapper,
.raised-select.el-select .el-select__wrapper:hover,
.raised-select.el-select .el-select__wrapper.is-focused {
    box-shadow: 0 2px 10px 3px #ECEDF3;
}
.raised-select.el-select .el-select__placeholder,
.raised-select.el-select .el-select__input-wrapper {
    width: calc(100% - 50px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.raised-select.el-select .el-select__input {
    font-size: 16px;
    font-weight: 400;
    width: calc(100% - 50px) !important;
}
.raised-select__link {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    top: 0;
    right: 4px;

    color: #6099C7;
    cursor: pointer;
}
.raised-select__link:hover {
    color: #4d8cc3;
}
.raised-select__info {
    display: flex;
    align-items: center;
}
.raised-select__addition-info-item {
    margin-left: 12px;
    padding-left: 12px;
    border-left: solid 1px #E2E4EE;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: #6099C7;
}
@media (max-width: 480px), (min-width: 768px) and (max-width: 920px) {
    .raised-select__addition-info {
        display: none;
    }
}

/* TABS */
.tab-list {
    display: flex;
    justify-content: center;
    align-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tab-list .custom-button.tab-2 {
    width: calc(100% / 2 - 12px);
}
.tab-list .custom-button.tab-3 {
    width: calc(100% / 3 - 12px * 2);
}
.tab-list .custom-button.tab-4 {
    width: calc(100% / 4 - 12px * 3);
}

/* SWITCH */
.status-toggle .el-switch__core {
    width: 51px;
    height: 31px;
    border-radius: 16px;
    background: #34C759;
    border: 0;
}
.status-toggle .el-switch__core .el-switch__action {
    width: 27px;
    height: 27px;
    left: 2px;
    box-shadow:
        0 3px 1px 0 rgba(0, 0, 0, 0.06),
        0 3px 8px 0 rgba(0, 0, 0, 0.15);
}
.status-toggle .el-switch.is-checked .el-switch__core .el-switch__action {
    left: calc(100% - 28px);
}
.status-toggle .el-switch {
    --el-switch-on-color: #34C759;
}

/* CHECKBOX */
label.custom-el-checkbox.el-checkbox {
    width: 100%;
}
label.custom-el-checkbox.el-checkbox .el-checkbox__inner {
    height: 16px;
    width: 16px;
    border: 1px solid #6099C7;
    border-radius: 4px;
}

label.custom-el-checkbox.el-checkbox .el-checkbox__input.is-checked .el-checkbox__inner {
    background-color: #6099C7;
}

label.custom-el-checkbox.el-checkbox .el-checkbox__inner:after {
    left: 5.5px;
    top: 2.5px;
}

label.custom-el-checkbox.el-checkbox .el-checkbox__label {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: #292D32;
    padding-left: 16px;
}

/* RADIO */
.custom-radio-group.el-radio-group {
    display: flex;
    flex-direction: column;
}
label.custom-radio.el-radio {
    display: flex;
    width: 100%;
}
label.custom-radio.el-radio:not(:last-child) {
    margin: 0 0 16px;
}

.custom-radio.el-radio .el-radio__input .el-radio__inner {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background-color: var(--el-color-white);
    border: 2px solid #9F9FB7;
}

.custom-radio.el-radio .el-radio__input.is-checked .el-radio__inner {
    border-color: var(--el-color-primary);
}

.custom-radio.el-radio .el-radio__input.is-checked .el-radio__inner:after {
    width: 12px;
    height: 12px;
    background-color: var(--el-color-primary);
}

.custom-radio.el-radio .el-radio__label {
    padding-left: 16px;
    color: var(--el-color-black);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.custom-radio.el-radio.is-checked .el-radio__label {
    font-weight: 600;
}

.custom-radio .el-radio__input.is-checked+.el-radio__label {
    color: var(--el-color-black);
}

/* DRAWER */
.custom-drawer.el-drawer {
    overflow: visible;
}

.custom-drawer.el-drawer .el-drawer__header {
    padding: 40px 40px 0;
    margin-bottom: 10px;
}

.custom-drawer.el-drawer .el-drawer__footer {
    padding: 20px 40px 40px;

}

.custom-drawer.el-drawer .el-drawer__body {
    padding: 0 40px;
}

.content-tabs {

}
.content-tabs .el-tabs__nav-wrap:after {
    background-color: transparent;
}

.content-tabs .content-tabs-label {
    border: 1px solid #fff;
    background-color: #fff;
    border-radius: 5px;
    padding: 5px 20px;
    min-width: 150px;
    text-align: center;
}

.content-tabs .el-tabs__item {
    padding: 0 5px;
}

.content-tabs .el-tabs__item.is-active .content-tabs-label {
    border: 1px solid #6099C7;
    background-color: #6099C7;
    color: #fff;
}

.content-tabs .el-tabs__active-bar {
    display: none;
}

/* Filter tag */
.filter-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    display: inline-flex;
    align-content: center;
    background: #fff;
    color: #6099C7;
    padding: 4px 12px;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid #E2E4EE;
}

.filter-tag__button {
    --el-button-text-color: #6099c7;
    margin-left: 8px;
    border: 0 !important;
}

/* custom switch */
.custom-switch {

}
.custom-switch.el-switch.is-checked .el-switch__core {
    background-color: #34C759;
    border-color: #34C759;
}

.custom-switch .el-switch__core {
    width: 51px;
    height: 31px;
    border-radius: 16px;
}

.custom-switch .el-switch__core .el-switch__action {
    width: 27px;
    height: 27px;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.15);

}

.custom-switch.el-switch.is-checked .el-switch__core .el-switch__action {
    left: calc(100% - 28px);
}
