/* Overlay styles */
.loadoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Loader styles - Customize based on your design */
    .loadoverlay .loader {
        border: 4px solid #f3f3f3; /* Light grey */
        border-top: 4px solid #3498db; /* Blue */
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 2s linear infinite;
    }
.error {
    color: #dc3545 !important;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.busy {
    pointer-events: none !important;
    position: relative; /* Ensure the overlay stays within this div */
}
.busyfull {
    pointer-events: none !important;
}
.img-upload-96 {
    width: 96px;
    height: 96px;
    margin: 0 5px;
}
.form-group.required .col-form-label:after {
    color: #d00;
    content: "*";
    position: absolute;
    margin-left: 3px;
}
#ProjectAttributeTable tbody tr td:nth-child(2){
    display:flex;
    align-items:center;
}
#ProjectAttributeTable tbody tr:first-child a.MoveUp {
    pointer-events: none;
    opacity: 0.5;
}
#ProjectAttributeTable tbody tr:last-child a.MoveDown {
    pointer-events: none;
    opacity: 0.5;
}
.SortTableOption tbody tr:first-child a.MoveUp {
    pointer-events: none;
    opacity: 0.5;
}

.SortTableOption tbody tr:nth-last-child(2) a.MoveDown {
    pointer-events: none;
    opacity: 0.5;
}
.select2 .select2-container {
    width: 230px !important;
}
.label-required {
    position: relative;
}

.label-required::after {
    content: "*";
    color: red;
}
.Modal-header {
    background-color: #f5f5f5;
    
    padding: 10px;
    font-size: 20px;
}

#modalBody span {
    padding: 16px;
    font-size: 18px;
}

.btnmodal {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .btnmodal:hover {
        background-color: #0056b3;
    }


.loadingProgressText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000; /* Black text for contrast (change if needed) */
    font-size: 14px; /* Adjust as needed */
    white-space: nowrap;
    z-index: 2; /* Ensures text is above the progress fill */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); /* Optional for visibility */
}