.spinnerBox {
	position: fixed;
	inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0 */
    padding-top: 15%;
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	background-color: rgba(255, 255, 255, 0.8);
	pointer-events: none; /* optional: prevent interaction */
}


.spinnerBox-contained {
	position: absolute;
	inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0 */
	display: flex;
	background-color: rgba(255, 255, 255, 0.6);
	z-index: 10;
	pointer-events: none; /* prevents blocking form fields */
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
    gap: 0.75rem; /* controls spacing between spinner and message */
    padding-top: 15%;
}

.metroSpinner {
    display: block;
    width: 6rem;
    height: 6rem;
    margin: auto;
    animation: rotation 2s infinite linear;
    z-index: 110;
}

.metroLoaderMessage {
	margin: auto;
	margin-top: 15px;
	padding: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: #333535;
	min-width: 20%;
	text-align: center;
    z-index: 110;
}

.spinner {
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid #3498db;
	width: 120px;
	height: 120px;
	-webkit-animation-name: spin;
    -webkit-animation-duration: 4000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 4000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 4000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
	animation-name: spin;
    animation-duration: 1500ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.loaderMessage {
	background-color: #fefefe;
	border-radius: 15px;
	margin: auto;
	margin-top: 15px;
	padding: 20px;
	border: 1px solid #888;
	width: 20%;
	text-align: center;
}

@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}