body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0 1rem;
	line-height: 1.5;
}

h1 {
	margin-left: 1rem;
	margin-bottom: 1rem;
	color: #007734;
	line-height: 1.25;
}

.container {
	width: 1024px;
	margin: 0 auto;
}

@media only screen and (max-width: 1024px) {
	.container {
		width: 100%;
	}
}

.center {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-items: center;
}

form {
	background-color: #fff;
	padding: 1.5rem;
	border-radius: 0.5rem;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	width: 100%;
}

.message form {
	box-shadow: none;
}

label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: bold;
}

input, button {
	display: block;
	width: 100%;
	padding: 0.5rem;
	margin-top: 0.5rem;
	box-sizing: border-box;
	border-radius: 0.5rem;
	border: 1px solid #ccc;
}

input[type="submit"] {
	width: auto;
	color: #fff;
	cursor: pointer;
	background-color: #45a049;
	font-weight: bold;
	padding: 0.5rem 1rem;
	white-space: nowrap;
}

button {
	color: #fff;
	cursor: pointer;
	background-color: #45a049;
	font-weight: bold;
	padding: 0.5rem 1rem;
	white-space: nowrap;
}

input[type="submit"]:hover {
	background-color: #4caf50;
}

.input-element {
	margin-bottom: 1rem;
}

form .description {
	margin-top: 0.5rem;
}

form .description:before {
	content: '↪    '; /* additional space to make it look nice */
}

.message {
	background-color: #fff;
	padding: 1.5rem;
	margin: 1rem 0;
	border-radius: 0.5rem;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	width: 100%;
}

.message .text {
	display: flex;
}

.message .text:before {
	content: '💡';
	margin-right: 0.25rem;
	color: #007734;
}

.login-page {
	padding-top: 2rem;
}

.login-page .logo {
	margin-bottom: 1rem;
}

.login-page .logo img {
	width: 15rem; /* Breite des Logos */
	display: block;
	margin: 0 auto; /* Zentriert das Logo */
}

.login-page h2 {
	margin-top: 0;
}

.login-page form {
	max-width: 20rem;
}

.login-page input[type="submit"] {
	width: 100%;
}

.login-page .line {
	flex: 1;
	height: 2px;
	background-color: rgb(204, 204, 204);
}

.login-page .containerInner {
	display: flex;
	align-items: center;
	width: 20rem;
}

.login-page .infoText {
	margin: 1rem;
	color: #666666;
}

.customLink {
	color: #666666;
	text-decoration: underline dotted;
	text-underline-offset: 3px;
}

.cancel {
	width: auto;
	color: #fff;
	cursor: pointer;
	background-color: #666666;
	font-weight: bold;
	padding: 0.5rem 1rem;
}

.cancel:hover {
	background-color: #666666c7;
}

.centerJustify {
	display: flex;
	justify-content: center;
}

.tinyMarginRight {
	margin-right: 0.5rem;
}

.smallMarginTop {
	margin-top: 1rem;
}

.flex {
	display: flex;
}

.toast-message {
	position: fixed;
	bottom: 1rem;
	width: auto !important;
    background-color: #333;
    color: #fff;
    opacity: 0.9;
	left: 1rem;
	right: 1rem;
}
.toast-message .text {
	text-align: center;
	display: inherit;
}

@media (min-width: 768px) {
	.toast-message {
    	max-width: 768px;
		left: auto;
		right: auto;
	}
}

.totp-verify-page form {
	max-width: 25rem;
}

.totp-key-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	inline-align-items: center; 
}

.totp-key-form input {
	background-color: #f0f0f0; 
	flex: 1; 
	white-space: nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .totp-key-form form {
        flex-wrap: nowrap; 
    }

    .totp-key-form input {
        flex: 3; 
    }

button:disabled, 
input[type="submit"]:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}
    .totp-key-form button {
        flex: 1; 
    }
}