/** Global Loading Overlay Styles **/

/* Global Loading Overlay */
#global-loading-overlay-semsa {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.2);
	z-index: 30000 !important;
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	width: 100%;
	height: 100%;
}

#global-loading-overlay-semsa.active {
	display: flex !important;
}

/* Spinner Container */
#global-loading-overlay-semsa .spinner-container {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin: 0 !important;
	padding: 0 !important;
}

#global-loading-overlay-semsa .spinner {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0 !important;
}

#global-loading-overlay-semsa .spin {
	border: 4px solid #e8e8e8;
	border-top: 4px solid #2f9852;
	border-right: 4px solid #2f9852;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: globalLoadingSpin 0.8s linear infinite;
	box-shadow: 0 2px 8px rgba(47, 152, 82, 0.25);
	margin: 0 !important;
	padding: 0 !important;
}

@keyframes globalLoadingSpin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#global-loading-overlay-semsa .loading-text {
	font-size: 15px;
	color: #2f9852;
	font-weight: 600;
	letter-spacing: 0.5px;
	animation: globalLoadingPulse 1.5s ease-in-out infinite;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	margin: 0 !important;
	padding: 0 !important;
}

@keyframes globalLoadingPulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* Esconder o ajax-status padrão */
.ajax-status {
	display: none !important;
	visibility: hidden !important;
}
