/* Loading Overlay */
.loading {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
}

.loading.active {
    display: flex;
}

.loading-icon {
    position: relative;
    z-index: 10;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
    border: 4px solid #6571ff; /* NobleUI primary color */
    border-left: 4px solid transparent;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: spinner 0.8s infinite normal running linear;
}

.loading-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transform: translate(-50%, -50%);
}

@keyframes spinner {
    100% {
        transform: rotate(360deg);
    }
}

/* Helper Utilities */
.zoom-95 { zoom: 0.95; }
.zoom-90 { zoom: 0.9; }

.div-select-image {
    width: 100%;
    border: 2px dashed #e8ebf1;
    border-radius: 10px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.div-select-image:hover {
    border-color: #6571ff;
    background-color: #f9fafb;
}

.div-select-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
