*, *:before, *:after {
	box-sizing: border-box;
	margin: 0;
}

body {
	margin: 0;
	background-color: #f2f1f1;
	font-family: system-ui, "Open Sans";
	background: linear-gradient(65deg, rgba(162,0,255,1) 0%, rgba(212,136,255,1) 10%, rgba(241,217,255,1) 20%, rgba(255,255,255,1) 100%);
}

/* Containers */
#mainColumnContainer { /* Center container */
	display: flex;
	justify-content: center;
	height: 100vh;
}

#mainColumn { /* Center column */
	display: flex;
	flex-direction: column;
	width: 360px;
	border-left: 1px dotted #b0b0b0;
	border-right: 1px dotted #b0b0b0;
}

/* Logo */
#logoWrapper {
	margin: 3vh 1vw;
}

#logoContainer {
	all: unset;
	font-size: 2.5rem;
}

#logoWordZkk {
	color: #3ce100;
	font-weight: 400;
}

#logoWordAdeia {
	color: #ae00df;
	font-weight: 700;
}

/* Form */
#formContainer {
	background-color: #fff;
	border-radius: 0.75rem;
	padding: 2rem 1rem;
	box-shadow: 0 0 10px 0px #505050;
	
	min-height: 400px; 
	
	display: flex;
	flex-direction: column;
	gap: 1rem;

	position: relative;
}

.loginFormTitle {
	all: unset;
	font-size: 1.5rem;
	color: #6f008f;
	font-weight: 600;
}

#loginForm {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex-grow: 1;
}

/* Footer */
footer {
	margin: auto 0.5rem 0.5rem 0.5rem;
	font-size: 0.8rem;
	color: #515151;
}

/* Footer links */
a, a:visited {
	color: #515151;
	text-decoration: none;
	transition: color .15s ease-in-out;
}

a:hover, a:focus {
	color: #000000;
}

a:focus {
	border: 2px solid #000000;
}

/* Spinner overlay */
.spinnerContainer {
	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	height: 100%;

	border-radius: 0.75rem;

	background-color: #ffffff;

	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    font-size: 1.25rem;
}

.spinnerContainer > i {
	font-size: 2.5rem;
}

@media (prefers-reduced-motion: no-preference) {
    .spinnerContainer > .spinnerIcon {
        animation: cog-spinner infinite 1s ease-in-out;
    }
}

@keyframes cog-spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinnerContainer > .errorIcon {
	color: #dc3545;
}

/* Error message box */
.errorMessageBox:not(:empty) {
	border-radius: 0.25rem;
	padding: 0.5rem;
	margin: 1rem 0;
	background-color: #ff444485;
	font-weight: 600;
}

/* Buttons */
.buttonPrimary {
	all: unset;
	box-sizing: border-box;
	flex-grow: 1;
	cursor: pointer;
	text-align: center;
	border: 2px solid #ae00df;
	background-color: #ae00df;
	color: #ffffff;
	border-radius: 0.25rem;
	font-size: 0.9rem;
	padding: 0.45rem;
	font-weight: 600;
	transition: background-color .12s ease-in-out, color .12s ease-in-out;

	display: flex;
    align-items: center;
    justify-content: center;
	gap: 0.3rem;
}

.buttonPrimary:focus, .buttonPrimary:hover {
	background-color: #ffffff;
	color: #000000;
}

.buttonPrimary:disabled {
	background-color: #8200a6;
	color: #ffffff;
	cursor: not-allowed;
}

.buttonSecondary {
	flex-grow: unset;
	border: 2px solid #505050;
	background-color: unset;
	color: unset;
}

.buttonSecondary:focus, .buttonSecondary:hover {
	background-color: #ededed;
}

.buttonSecondary:disabled {
	background-color: #5a5a5a;
	color: #ffffff;
}

.buttonGroup {
	margin-top: auto;

	display: flex;
	gap: 0.3rem;
}