:root {
    --eh-color-white: #fff;
    --eh-color-graydark: #343a40;
    --eh-color-gray: #6c757d;
    --eh-color-blue: #1c70ce;
    --eh-color-green: #28a745;
    --eh-color-red: #d0000c;
    --eh-default-wid: 300px;
    --eh-circle-calc: 28px;
}

/* General */
.eh-pad-sm {
    padding: .5rem;
}

.eh-pad-md {
    padding: 1rem;
}

.eh-pb-1 {
    padding-bottom: .5rem;
}

.eh-fw {
    font-weight: 500;
}

.eh-fw fluent-text-field::part(control) {
    font-weight: 500;
}

.eh-fw-primary {
    font-weight: 500;
    color: var(--eh-color-blue);
}

.eh-fw-success {
    font-weight: 500;
    color: var(--eh-color-green);
}

.eh-fw-success fluent-text-field::part(control) {
    font-weight: 500;
    color: var(--eh-color-green);
}

.eh-span-primary {
    color: var(--eh-color-blue);
}

.eh-bs-light {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.eh-labelfor {
    color: var(--eh-color-graydark);
    padding: 3px 0;
}

.eh-right-cont-pad10 {
    position: absolute;
    top: 10px;
    right: 10px;
}

.eh-fl-right {
    float: right;
}

/* Buttons */
.eh-btn {
    padding: 5px;
    outline: 0;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.eh-btn.eh-btn-primary {
    border: 1px solid #036ac4;
    background-color: #036ac4;
    color: #fff;
    transition: 0.2s;
}

.eh-btn.eh-btn-primary:hover {
    border: 1px solid #0473ce;
    background-color: #0473ce;
}

.eh-btn-grid {
    outline: 0;
    border: 0;
    padding: 6px 9px;
    border-radius: 4px;
    transition: 0.2s;
    background: #fff;
    margin-right: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.eh-btn-grid i {
    margin-right: 5px;
}

.eh-btn-grid:hover {
    background: #f3f4f5;
}

/* profiler */
.eh-profiler {
    display: flex;
    align-items: center;
}
.eh-profiler > img {
    width: 35px;
    height: 35px;
}

.eh-wrapper {
    display: flex;
}

/* subbox */
.eh-subbox-wrapper {
    flex: 0.03;
    background-color: #fff;
    border-right: 1px solid #efefef;
}

.eh-content {
    flex: 0.97;
}

.eh-subbox {
    width: var(--eh-default-wid);
}

.eh-subbox .eh-navitem {
    display: flex; 
    align-items: center; 
    gap: 10px;
    min-height: 60px;
    cursor: pointer;
}

.eh-subbox .eh-navitem:hover {
    background-color: #f6f6f6;
    transition: 0.2s;
}

.eh-subbox .eh-navitem.active {
    border-right: 5px solid var(--eh-color-blue);
    background: #f6f6f6;
}

.eh-subbox .eh-navitem.active i {
    color: var(--eh-color-blue);
}

.eh-subbox .eh-navitem.active .title {
    color: var(--eh-color-blue) !important;
}

.eh-subbox .eh-navitem.active .subtitle {
    color: var(--eh-color-blue) !important;
}

.eh-subbox .eh-navitem.icon {
    color: var(--eh-color-gray);
    font-size: 32px;
    margin-left: 5px;
    padding: 5px;
}

.eh-subbox .eh-navitem.content {
    flex: 0.9;
    display: inline;
    align-content: center;
}

.eh-subbox .eh-navitem.content .title {
    color: var(--eh-color-graydark);
    font-weight: 550;
}

.eh-subbox .eh-navitem.content .subtitle {
    color: var(--eh-color-gray);
}

.eh-navitem-title {
    display: flex;
    align-items: end;
}

.eh-navitem-title > h5 {
    padding: 1.5px 10px;
}

.eh-bar {
    min-width: 30px;
    justify-content: center;
}

.eh-section-loader-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: all;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
}

.eh-section-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.eh-tab-wrapper {
    padding: 0 10px;
    display: flex;
    align-items: end;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}

.eh-tab {
    font-weight: 500;
    font-size: 15px;
    padding: 15px 5px;
    cursor: pointer;
    color: var(--eh-color-graydark);
    margin: 0 7px;
}

.eh-tab.active {
    border-bottom: 2px solid var(--eh-color-blue);
    color: var(--eh-color-blue);
}

.eh-childtab-wrapper {
    display: flex;
}

.eh-childtab {
    font-weight: 500;
    font-size: 15px;
    padding: 15px 0;
    cursor: pointer;
    color: var(--eh-color-gray);
    margin: 0 7px;
}

.eh-childtab:not(:last-child)::after {
    content: "|";
    margin-left: 1rem;
    color: var(--eh-color-graydark);
}

.eh-childtab.active {
    color: var(--eh-color-graydark);
}

.eh-center-contentbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eh-workflow-wrapper {
    display: flex; 
    justify-content: center;
}

.eh-contentbox {
    padding: .5rem;
    background-color: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 4px;
}

.eh-contentbox.nopad {
    padding: 0px !important; 
    display: flex;
}

.eh-template-info {
    width: 20%;
    min-width: 180px;
    background-color: var(--eh-color-gray);
    color: #fff;
    height: 100%;
    padding: 0.5rem;
    font-weight: 500;
    font-size: 15px;
    border-radius: 2px;
}

.eh-template-workflow {
    flex: 1;
    overflow-x: auto;
}

.eh-grid-wrapper {
    background-color: #fff;
    position: relative;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.eh-grid-wrapper .search-bar {
    border: 1px solid #ddd;
    outline: 0;
    padding: 0.5rem;
    border-radius: 8px;
}

.eh-grid-wrapper .eh-grid {
    padding-bottom: .5rem;
}

.eh-steps {
    max-height: 500px;
    margin: 0 auto;
    position: relative;
    overflow-y: auto;
}

.eh-steps::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 20px;
    bottom: 50px;
    width: 3px;
    background: #dbe4f3;
    border-radius: 2px;
}

.eh-steps .eh-title {
    cursor: pointer;
}

.eh-step {
    position: relative;
    padding: 12px 12px 12px 72px;
    margin-bottom: 20px;
}
.eh-step:last-child {
    margin-bottom: 0;
}

.eh-circle {
    position: absolute;
    left: 8px;
    top: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #cbcbcb;
    color: var(--eh-color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    z-index: 2;
    cursor: pointer;
}

.eh-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

.eh-meta {
    font-size: 13.5px;
    color: #6b7280;
}

.eh-step.completed .eh-circle {
    background: var(--eh-color-blue);
    color: #fff;
    border-color: var(--eh-color-blue);
}

.eh-step.failed .eh-circle {
    background: var(--eh-color-red);
    color: #fff;
    border: 3px solid var(--eh-color-red);
    transform: scale(1.05);
}

.eh-step.current .eh-circle {
    background: #fff;
    color: var(--eh-color-blue);
    border: 3px solid var(--eh-color-blue);
    transform: scale(1.05);
}

.eh-controlsidebar-wrapper {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 2000;
}

.eh-controlsidebar-overlay {
    cursor: pointer;
    height: 100vh;
    background: rgba(255, 255, 255, 0.4);
}

.eh-controlsidebar-pannel {
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
    min-width: 600px;
    height: 100vh;
    box-shadow: rgba(0, 0, 0, 0.22) 0px 25.6px 57.6px 0px, rgba(0, 0, 0, 0.18) 0px 4.8px 14.4px 0px;
    z-index: 2001;
    opacity: 0;
    transition: 0.3s ease;
}

.eh-controlsidebar-pannel.active {
    transform: translateX(0);
    opacity: 1;
}

.eh-controlsidebar-pannel .pannel-header {
    display: flex;
    flex-flow: row;
    width: auto;
    height: auto;
    box-sizing: border-box;
    justify-content: space-between;
    padding-inline: 16px;
    padding-block: 14px;
    color: rgb(50, 49, 48);
}

.eh-controlsidebar-pannel .pannel-header .title {
    font-size: 15px;
    font-weight: 500;
}

.eh-controlsidebar-pannel .pannel-header .close-pannel {
    cursor: pointer;
}

.eh-approval-tag {
    padding: 3px 24px;
    width: fit-content;
    border-radius: 24px;
    font-weight: 500;
}

.eh-approval-tag.approved {
    border: 1px solid var(--eh-color-blue);
    background-color: var(--eh-color-blue);
    color: #fff;
}

.eh-approval-tag.rejected {
    border: 1px solid var(--eh-color-red);
    background-color: var(--eh-color-red);
    color: #fff;
}

.eh-approval-tag.skipped {
    border: 1px solid var(--eh-color-gray);
    background-color: var(--eh-color-gray);
    color: #fff;
}

.eh-approval-tag.inprogress {
    border: 1px solid var(--eh-color-gray);
    background-color: #fff;
    color: var(--eh-color-gray);
}

.eh-approval-detail-box {
    background-color: #f6f6f6;
    padding: .5rem;
    border-radius: 8px;
}

.eh-approval-detail-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eh-approval-cmd {
    position: absolute;
    bottom: 10px;
    padding: .5rem;
    width: 100%;
    justify-content: end;
}

.eh-ipt-df {
    border: 1px solid rgb(221, 221, 221);
    outline: 0;
    padding: .5rem;
    border-radius: 8px;
}

.eh-title-wrapper {
    padding: .5rem;
    border-bottom: 1px solid #eee;
}

.eh-title-wrapper .title {
    font-weight: 500;
    font-size: 15px;
}

/* Notification */
.eh-noti-wrapper {
    position: absolute;
}

.eh-noti-item {
    padding: .5rem;
    font-size: 13px;
    width: 100%;
}

.eh-noti-item.error {
    background: #fde7e9;
}

.eh-noti-item.success {
    background: #dff6dd;
}

.eh-noti-content {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-around;
}

.eh-noti-content .content {
    flex: 0.99;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
}

.eh-noti-content .close {
    cursor: pointer;
}

.eh-fluent-select {
    position: relative;
}

.eh-fluent-select fluent-progress-ring {
    height: 22px !important;
}

.eh-ovemp-wrapper {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin: 0 1rem;
}

.eh-ovemp-wrapper img {
    width: 160px;
    height: 160px;
}

.eh-ovemp-ginfo {
    padding: .5rem 2rem;
    line-height: 2.2;
}

.eh-ovemp-ginfo i {
    font-size: 15px;
    color: var(--eh-color-gray);
    margin-right: 3px;
}

.eh-emp-info {
    line-height: 1.8;
    padding: 1rem;
}

.eh-emp-info span {
    color: var(--eh-color-gray);
}

.eh-row-center {
    align-items: center;
}

/* Grid */
.eh-grid-command {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem;
    background-color: #fff;
    overflow-x: auto;
    white-space: nowrap;
    gap: 1rem;
}

.eh-grid-searchbar {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 7px;
    width: 300px;
    outline: 0;
}