body {
    font-family: "Segoe UI", sans-serif !important;
}

.btn-crud {
    padding: 5px 10px !important;
}

.form-input, .form-select, .form-multiselect {
    height: 40px !important;
}

.form-textarea {
    height: unset !important;
}

.form-select {
    min-width: 150px;
}

.top-4 {
    top: 1rem;
}

.right-4 {
    right: 1rem;
}

.bg-white {
    background-color: #fff;
}


.animate-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.animate-fade-out {
    animation: fadeOut 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}


@keyframes progress {
    0% {
        background-position: 1rem 0;
    }

    100% {
        background-position: 0 0;
    }
}

.animate-progress {
    animation: progress 1s linear infinite;
}

.blazored-typeahead, .blazored-typeahead input, .blazored-typeahead__controls {
    border-radius: 5px !important;
    border-color: #323a461a !important;
    background-color: rgb(249 251 253 / var(--tw-bg-opacity)) !important;
}



.sidebar .nav-item > a.active,
.sidebar ul.sub-menu li a.active {
    font-weight: bolder !important;
    color: #fff !important;
}

    .sidebar ul.sub-menu li a.active:before {
        background-color: #fff !important;
    }

.block {
    display: block !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

@media (min-width: 420px) {
    .min-420-flex {
        display: flex !important;
    }

    .sm\:flex-row {
        flex-direction: row;
    }
}

textarea.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #f9fbfd;
    color: #111827;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

    textarea.form-input:focus {
        outline: none;
        border-color: #7c3aed;
        box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
        background-color: #fff;
    }

    textarea.form-input[disabled] {
        background-color: #f3f4f6;
        color: #9ca3af;
        cursor: not-allowed;
    }

.text-eclipse {
    max-width: 200px;
    white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.scrollable {
    overflow: auto;
}

.input-group.input-group-joined {
    display: flex;
    align-items: stretch;
}

    .input-group.input-group-joined .form-input {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }

    .input-group.input-group-joined .input-group-text {
        border-radius: .25rem;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
        display: flex;
        align-items: center;
        background-color: #f3f4f6;
    }


/* Custom grid-cols-5 utility for 5-column grid layouts */
.grid-cols-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Extra large screens (xl) */
@media (min-width: 1280px) {
    .xl\:grid-cols-5 {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.flex-column {
    flex-direction: column;
}

/* Extra large screens (xl) */
@media (max-width: 720px) {
    .md\:w-full {
        width: 100%
    }
}

/* Extra large screens (xl) */
@media (max-width: 420px) {
    .xs\:w-full {
        width: 100%
    }

    .sm\:justify-center {
        justify-content: center;
    }
}

/* Extra large screens (xl) */
@media (min-width: 1440px) {
    .xl\:col-span-1 {
        grid-column: span 1 / span 1;
    }
}

.text-sky-500 {
    color: #0ea5e9;
}

.col-end {
    grid-column-end: -1;
}

#FileUpload {
    z-index: 1;
}

.select2-dropdown {
    z-index: 9999999 !important;
}

.select2-container--default
.select2-selection--single {
    --tw-bg-opacity: 1;
    background-color: rgb(249 251 253 / var(--tw-bg-opacity)) !important;
    height: 40px !important;
    min-width: 150px;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 38px !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 40px !important;
    }


.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

    .input-group > .form-input {
        flex: 1 1 auto;
        width: 1%;
        margin-bottom: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .input-group > .input-group-text {
        display: flex;
        align-items: center;
        padding: 0 0.75rem;
        background-color: #f1f5f9;
        border: 1px solid #d1d5db;
        border-left: 0;
        border-radius: 0 0.375rem 0.375rem 0;
        font-size: 0.875rem;
        color: #374151;
        white-space: nowrap;
    }



.select2-dropdown{
    z-index: 9999999 !important;
}


.select2-dropdown{
    z-index: 9999999 !important;
}

.select2-container--default 
.select2-selection--single{
    --tw-bg-opacity: 1;
    background-color: rgb(249 251 253 / var(--tw-bg-opacity)) !important;
    height:40px !important;
    min-width: 150px;
    border-color: #323a461a !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow
{
    height:40px !important;
}