@import url('https://fonts.googleapis.com/css2?family=Rock+3D&family=Roboto:wght@400;500;700&display=swap');

#loginStuff {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100100;
	background: rgba(0, 0, 0, 0.5); /* 50% black transparency */
	border-radius: 8px; /* 8px rounded corners */
	margin-top: 10px; /* 10px top-margin */
	padding: 12px 24px;
	text-align: center;
	color: #fff;
	pointer-events: auto;
	user-select: none;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	min-width: 280px;
	transition: left 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.8s cubic-bezier(0.4, 0, 0.2, 1), background 1.8s, box-shadow 1.8s, padding 1.8s, margin 1.8s;
}

#loginStuff.authenticated {
	left: calc(100% - 10px);
	transform: translateX(-100%);
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	padding: 6px 12px;
	min-width: 0;
	align-items: flex-end;
}

#loginStuff input {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 6px;
	color: #fff;
	padding: 6px 12px;
	margin-bottom: 4px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	outline: none;
	width: 200px;
	text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease;
	pointer-events: auto;
}

#loginStuff input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

#loginStuff input:focus {
	border-color: #0CAAE9;
	background: rgba(255, 255, 255, 0.18);
}

#loginStuff #tempLogin {
	user-select: auto;
}

.auth-status-container {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.loginresult {
	user-select: none;
	font-family: 'Roboto', sans-serif;
	color: #ff9f43; /* orange roboto font */
	font-size: 15px;
	font-weight: 500;
	display: inline-block;
}

.loginresultUser {
	font-family: 'Pirata One', serif;
	font-size: 30px;
	display: inline-block;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1em;
	vertical-align: middle;
}

.loginresultError, .registrationresult {
	font-family: 'Roboto', sans-serif;
	color: #ff9f43; /* orange roboto font */
	font-size: 15px;
	font-weight: 500;
	margin-top: 5px;
	margin-bottom: 5px;
}

.registrationresult:empty {
	display: none !important;
}

#registrationToggle {
	margin-top: 5px;
	margin-bottom: 5px;
}

#logoutButton {
	white-space: nowrap !important;
	min-width: 110px;
}

#loginStuff form {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

#loginStuff button:not(#logoutButton) {
	width: 200px;
	text-align: center;
}
