.tma-wrap {
	box-sizing: border-box;
	margin: 2rem auto;
	max-width: 520px;
	padding: 0 1rem;
}

.tma-wrap *,
.tma-signed-in * {
	box-sizing: border-box;
}

.tma-form,
.tma-signed-in {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	color: #1d2327;
	font-family: inherit;
	padding: 2rem;
}

.tma-title {
	color: inherit;
	font: inherit;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1.5rem;
}

.tma-field {
	margin-bottom: 1.15rem;
}

.tma-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.tma-field input {
	background: #fff;
	border: 1px solid #8c8f94;
	border-radius: 6px;
	color: #1d2327;
	font: inherit;
	min-height: 44px;
	padding: 0.65rem 0.75rem;
	width: 100%;
}

.tma-field input:focus-visible,
.tma-button:focus-visible,
.tma-links a:focus-visible,
.tma-secondary-link:focus-visible,
.tma-login-link a:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.tma-check {
	align-items: center;
	display: flex;
	gap: 0.5rem;
	margin: 0 0 1.15rem;
}

.tma-check input {
	height: 18px;
	width: 18px;
}

.tma-button {
	align-items: center;
	background: #111827;
	border: 1px solid #111827;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.1rem;
	text-decoration: none;
}

.tma-button:hover {
	background: #273244;
	color: #fff;
}

.tma-links,
.tma-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	justify-content: space-between;
	margin-top: 1.25rem;
}

.tma-links a,
.tma-secondary-link,
.tma-login-link a {
	color: #135e96;
}

.tma-login-link {
	margin: 1.25rem 0 0;
}

.tma-notice {
	border-left: 4px solid;
	border-radius: 4px;
	margin-bottom: 1rem;
	padding: 0.8rem 1rem;
}

.tma-error {
	background: #fcf0f1;
	border-color: #b32d2e;
	color: #5b1517;
}

@media (max-width: 600px) {
	.tma-wrap {
		padding: 0;
	}

	.tma-form,
	.tma-signed-in {
		border-radius: 8px;
		padding: 1.25rem;
	}

	.tma-button {
		width: 100%;
	}

	.tma-actions {
		align-items: stretch;
		flex-direction: column;
	}
}
