.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1050;
    background: #ff637f;
    color: white;
}

    #blazor-error-ui * {
        color: white;
    }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
    left: calc(50% - 4rem);
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.toggle-icon-wrapper {
    margin-right: 0 !important;
}

table.action3 td:last-child {
    width: 105px !important;
    text-align: right;
}

.table > :not(caption) > * > * {
    padding: .25rem .25rem;
}

.table tbody tr:nth-child(odd) {
    background: #f0f9ff;
}

.table thead, .table tfoot {
    background: #118ce1;
    color: white;
}

.card-header {
    background: #118ce1;
    
}





    .card-header * {
        color: white;
    }

.form-group {
    margin-bottom: 1rem;
}

#qr-code-area {
    text-align: right;
    padding-right:2px;
}

    #qr-code-area canvas {
        width: 100px;
    }

.w50{
    width:50% !important;
}

hr{
    margin:0.75rem 0 !important;
}

#journal-container {
    font-size: 12px !important;
}

#journal-container .form-label{
    font-size:12px !important;
    font-weight:700 !important;
}

#journal-container .form-control {
    font-size: 12px !important;
}

.choices__item, .choices__list {
    font-size: 12px !important;
}

.tbl-manual-journal tbody td{
    padding:0px !important;
}

.tbl-manual-journal thead th {
    border: 1.5px solid white !important;
}

.tbl-manual-journal tbody td:not(.no-border) {
    border: 1.5px solid #2c7be5 !important;
}

.tbl-manual-journal tbody td input:not([type="checkbox"]),
.tbl-manual-journal tbody td select{
    width: 100% !important;
    min-height: 35px !important;
}


m-0 {
    margin: 0px !important;
}

m-5 {
    margin: 5px !important;
}

.tbl-manual-journal tbody td input::-webkit-outer-spin-button,
.tbl-manual-journal tbody td input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tbl-manual-journal tbody td input[type=number] {
    -moz-appearance: textfield;
}
.choices__item.choices__item--choice.choices__item--selectable{
    font-size:12px !important;
}

.choices__list--multiple .choices__item.choices__item--selectable {
    background-color: #118ce1 !important;
    color: white !important;
}

.ytd {
    cursor: pointer !important;
    color: #118ce1 !important;
}

.ytd:hover{
    color:blue !important;
    text-decoration:underline !important;
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999999;
}

.alert {
    padding: 15px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 1rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Hide the default file input */
.file-input {
    display: none;
}

/* Style the custom label */
.file-label {
    display: inline-block;
    /*background-color: #007bff;*/ /* Blue color */
    color: white !important;
    /*padding: 10px 20px;*/
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
   /* transition: background-color 0.3s;*/
}

    /* Hover effect */
    .file-label:hover {
        /*background-color: #0056b3;*/ /* Darker blue */
    }

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #118ce15e !important;
}


#add-invoice-theme .control-label, #invoice-default-settings .control-label {
    font-size: 10px !important;
}

#add-invoice-theme input, #invoice-default-settings input {
    min-height: 28px !important;
    padding: 2px 10px !important;
    font-size: 10px !important;
}

#add-invoice-theme select, #invoice-default-settings select {
    min-height: 28px !important;
    padding: 2px 10px !important;
    font-size: 10px !important;
}

#add-invoice-theme .form-group, #invoice-default-settings .form-group {
    margin-bottom: 5px !important;
}


.attachment-link-row:hover{
    background-color:#e0e0e0;
}


.modal-header {
    padding: 5px 10px !important;
}

.input-with-clear {
    position: relative;
}

.clear-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #888;
}

    .clear-button:hover {
        color: #333;
    }

.dropdown-container {
    position: relative;
    width: 330px;
}

.dropdown-container-w225 {
    position: relative;
    width: 225px;
}

/*.input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    position: relative;*/ /* Ensure the container is the reference for absolute positioning */
    /*overflow: hidden;*/ /* Prevent overflow of child elements */
/*}*/

.input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    position: relative; /* Ensure the container is the reference for absolute positioning */
    overflow: hidden; /* Prevent overflow of child elements */
}

.input-container-p0 {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    /*padding: 5px;*/
    border-radius: 4px;
    position: relative; /* Ensure the container is the reference for absolute positioning */
    overflow: hidden; /* Prevent overflow of child elements */
}

.dropdown-input {
    flex: 1;
    border: none;
    outline: none;
    padding-right: 30px; /* Add padding to avoid overlap with the clear button */
    min-width: 0; /* Allow the input to shrink */
}

/*.selected-item-badge {
    background-color: #e0e0e0;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;*/ /* Prevent text wrapping */
    /*max-width: 80%;*/ /* Limit badge width to prevent overflow */
    /*overflow: hidden;*/ /* Hide overflow text */
    /*text-overflow: ellipsis;*/ /* Show ellipsis for overflow text */
/*}*/

.selected-item-badge {
    background-color: #27c3e9;
    padding: 2px 8px;
    border-radius: 5px;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute; /* Position the badge absolutely within the input container */
    left: 5px; /* Adjust as needed */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    color:white;
    font-weight:700;
}

.dropdown-list {
    position: absolute;
    width: 100%;
    border: 1px solid #ccc;
    background: white;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px; /* Add margin to separate from the input */
}

.dropdown-list-w225 {
    position: absolute;
    width: 225px;
    border: 1px solid #ccc;
    background: white;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px; /* Add margin to separate from the input */
}

.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

    .dropdown-item.selected {
        background-color: #f0f0f0;
    }

    .dropdown-item.add-new {
        color: #007bff;
        font-weight: bold;
    }

.edit-link {
    float: right;
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
}

    .edit-link:hover {
        color: #0056b3;
    }

#invoice-container{
    font-size:12px !important;
}

#invoice-container input {
    font-size: 12px !important;
}

#invoice-container select {
    font-size: 12px !important;
}



/*CUSTOM DROP DOWN*/

/* SearchableDropdown.razor.css */
.sd-container {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.sd-input-wrapper {
    position: relative;
}

.sd-search-field {
    width: 100%;
    padding: 8px 24px 8px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

    .sd-search-field:read-only {
        background-color: #f5f5f5;
        cursor: default;
    }

.sd-toggle-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.sd-clear-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 14px;
    padding: 2px;
}

    .sd-clear-button:hover {
        color: #000;
    }

.sd-options-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.sd-option-item {
    padding: 8px;
    cursor: pointer;
}

    .sd-option-item:hover {
        background-color: #f0f0f0;
    }

    .sd-option-item.sd-selected {
        background-color: #e0e0e0;
    }

.sd-empty-message {
    padding: 8px;
    color: #666;
}

.white-dd-btn-icon {
    background: white !important;
    color: #27bcfd !important;
    font-size: 12px !important;
    padding: 5px 5px !important;
    border: 1px solid #27bcfd;
}

.white-dd-btn-icon:hover {
    background-color:lightblue !important;
}

.white-dd-btn-text:hover {
    background-color:lightblue !important;
}

.white-dd-btn-text {
    font-size: 12px !important;
    padding: 5px 5px !important;
    background: white !important;
    color: #27bcfd !important;
    border: 1px solid #27bcfd;
}

.blue-dd-btn-icon {
    background: #27bcfd !important;
    color: white !important;
    font-size: 12px !important;
    padding: 5px 5px !important;
}

.blue-dd-btn-text {
    font-size: 12px !important;
    padding: 5px 5px !important;
    background: #27bcfd !important;
    color: #fafafa !important;
}

.custom-dropdown-item{
    color:black !important;
}

#contact-form-popup .control-label{
    font-size:11px !important;
    font-weight:700 !important;
    margin-bottom:2px !important;
}


#contact-form-popup .form-control {
    font-size: 11px !important;
}

#contact-form-popup .form-group {
    margin-bottom:8px !important;
}

.lobibox.lobibox-confirm .lobibox-header {
    color: #fff !important;
    background-color: #118ce1 !important;
}

.lobibox.lobibox-confirm .lobibox-footer {
    background-color: #118ce1 !important;
}

.lobibox .lobibox-btn.lobibox-btn-no {
    color: #FFF !important;
    background-color: #F00 !important;
    border-color: #F00 !important;
}

.lobibox .lobibox-btn.lobibox-btn-no:hover, .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-no {
    color: #FFF !important;
    background-color: #820505 !important;
    border-color: #820505 !important;
}

.block-ui {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.block-ui-overlay {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-color: black;
}

.block-ui-message-container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(-50%);
    color: white;
    font-size: 1.2em;
}

.block-ui-message {
    display: inline-block;
    text-align: center;
}

card-header-dark {
    background: linear-gradient(45deg,#004471,#002a46) !important;
    color: white !important;
}


/*----- PRINT SECTION -----------------*/
@media print {
    body * {
        visibility: hidden;
    }

    #printSection, #printSection * {
        visibility: visible;
    }

    #printSection {
        position: absolute;
        left: 0;
        top: 0;
    }
}


.inv-item-table th{
    border-bottom:2px solid black !important;
    background-color:white !important;
    color:black;
}

.inv-item-table tr:last-child td {
    border-bottom: 1px solid lightgray !important;
    background-color: white !important;
}

.inv-item-table td:last-child {
    text-align:end !important;
}

.avatar {
    width: 35px;
    height: 35px;
    /*background-color: #4a90e2;*/
    color: white;
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    font-family: Arial, sans-serif;
}



@media print {
    .print-navbar {
        display: none !important;
    }

    .invoice-container {
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    body {
        margin: 0;
        padding: 0;
        background: white !important;
    }
}


.sd-option-item {
    padding: 8px;
    cursor: pointer;
}

    .sd-option-item:hover {
        background-color: #f0f0f0;
    }

    .sd-option-item.sd-focused {
        background-color: #e0e0e0;
        outline: 2px solid #007bff;
    }

    .sd-option-item.sd-selected {
        background-color: #007bff;
        color: white;
    }