/* Loading Indicator Styles */
.loading-container {
    position: relative;
    min-height: 50px;
    overflow: hidden;
    visibility: visible;
}

/* Keeping this for backward compatibility */
.loading-container.loaded {
    visibility: visible;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EBEBEB;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    /* Removed transition to make loading appear instantly */
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}
.loading-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #003153;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}