/* Define color variables for consistency */
:root {
    --color-mid-blue: #0079C1;
    --color-mid-blue-bg: #c7d9f0;
    --color-pale-blue: #55BCEB;
    --color-pale-blue-bg: #ddeffb;
    --color-green: #8AC75A;
    --color-green-bg: #eaf4dd;
    --color-cool-grey: #A7A9AC;
    --color-cool-grey-bg: #eaeaeb;
    --color-ivory: #FFF6DC;
    --color-ivory-bg: #fffef8;
    --color-sand: #E9D3A2;
    --color-sand-bg: #faf6ea;
    --color-lilac: #D7A6CD;
    --color-lilac-bg: #f6ebf4;
    --color-white: #FFFFFF;
    --color-orabge: #FF6700;
    --color-orabge-bg: #FFE2CF;
    /* kendo color variables */
    --kendo-breadcrumb-border-radius: 68px;
}


html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.layout-navbar-fixed .wrapper .content-wrapper {
    margin-top: calc(3.0rem + 1px) !important;
}

.k-pager-numbers .k-button-text, .k-toolbar-button .k-button-text {
    display: block !important;
}

.k-grid-edit-command .k-button-text, .k-grid-save-command .k-button-text, .k-grid-cancel-command .k-button-text, .k-grid-remove-command .k-button-text {
    display: none !important;
}

.spacer {
    flex: 1 1 auto;
}



html {
    position: relative;
    min-height: 100%;
}

.width-100 {
    width: 100px !important;
}

.width-200 {
    width: 200px !important;
}

.width-250 {
    width: 250px !important;
}

.hidden {
    display: none;
}

.k-numerictextbox {
    width: calc(100% - 4px) !important;
    text-align: right !important;
    padding-right: 4px !important;
}

.k-text-right {
    text-align: right !important;
}

@keyframes placeHolderShimmer {
    0% {
        background-position: -800px 0
    }

    100% {
        background-position: 800px 0
    }
}

.right-align div:last-child {
    margin-left: auto;
}

.k-grid-save-command, .k-grid-edit-command, .k-grid-remove-command, .k-grid-cancel-command {
    border-radius: 50px !important;
    width: 32px !important;
    height: 32px !important;
}

.k-grid-remove-command, .k-grid-cancel-command {
    color: red !important;
}

.form-group {
    width: 100% !important;
    margin-bottom: 0px !important;
}

.k-grid-content-sticky .k-table-td .k-command-cell .k-table-td {
    padding-block: 3px !important;
    padding-inline: 3px !important;
}

.div_loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    width: auto;
    height: auto;
    z-index: 99999;
}

.div_loading_container {
    position: fixed; /* Use fixed to cover full viewport regardless of scroll */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.3); /* Optional semi-transparent background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 99999;
    pointer-events: all; /* Block mouse interaction */
}



.workflow-container {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    overflow-x: auto;
    width: 100%;
    padding: 1px 16px 1px 16px;
    background-color: #f9f9f9;
}

.k-card.workflow-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 30px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #000f;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
}

    .k-card.workflow-node .k-card-body {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 16px;
    }

.workflow-node.current {
    font-weight: bold;
    color: black;
    border: 2px solid #0078d4;
    background-color: rgba(0, 120, 212, 0.1);
}

.workflow-arrow {
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 60px;
    margin: 0;
    padding: 0;
    position: relative;
}

    .workflow-arrow:last-child {
        display: none;
    }


/* For a “tick” icon in the top-right corner */
.workflow-node.approved {
    position: relative; /* So we can absolutely position a pseudo-element */
}

/* A small icon in the top-right corner */
.status-icon {
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 16px; /* Adjust icon size */
}

.workflow-node.approved {
    font-weight: bold;
    color: black;
    border: 2px solid green;
    background-color: rgba(0, 128, 0, 0.1); /* Light green tint */
}

.workflow-node.rejected {
    font-weight: bold;
    color: black;
    border: 2px solid red;
    background-color: rgba(255, 0, 0, 0.1); /* Light red tint */
}

.hfd-custom-notify .k-animation-container {
    margin-bottom: 4px !important; /* Adds a 10px gap between notifications stacked downward */
    right: 0 !important;
    left: unset !important;
}

.hfd-custom-notify .k-animation-container .k-child-animation-container {
    margin-bottom: 4px !important; /* Adds a 10px gap between notifications stacked downward */
}


.hfd-custom-notify-success {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 0.984rem;
    font-weight: normal;
    color: var(--color-green);
    width: 100% !important;
}

.hfd-custom-notify-warning {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 0.984rem;
    font-weight: normal;
    color: var(--color-orabge);
    width: 100% !important;
}

.hfd-custom-notify-info {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 0.984rem;
    font-weight: normal;
    color: var(--color-mid-blue);
    width: 100% !important;
}

.hfd-custom-notify-error {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 0.984rem;
    font-weight: normal;
    color: red;
    width: 100% !important;
}
