@charset "UTF-8";

/* wrapper */
div.tml {
	max-width: 600px;
	margin: auto;
	padding: 3.2rem;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
}


/* form */
div.tml form {}
div.tml form div.tml-field-wrap {
	margin-bottom: 1.6rem;
}
div.tml form label {
	width: 100%;
	font-weight: bold;
	display: block;
}
div.tml form input[type="text"],
div.tml form input[type="password"],
div.tml form input[type="email"] {
	padding: 12px;
	font-size: 1em;
	width: 100%;
}
button[type="submit"] {
	background: #000;
	color: #fff;
	border: none;
	padding: 4px 32px;
	margin: 0;
	cursor: pointer;
	display: block;
	float: right;
}
button[type="submit"]:hover {
	background: #ffe200;
	color: #000;
	transition: all 300ms 0s ease;
}


/* checkbox */
div.tml-rememberme-wrap {
	width: 100%!important;
	margin-top: 1.8rem;
}
div.tml-rememberme-wrap label {
	display: inline-block!important;
	width: auto!important;
	position: relative;
	padding-left: 32px;
}
div.tml-rememberme-wrap input[type="checkbox"] {
	display: none;
}
div.tml-rememberme-wrap label::before {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	position: absolute;
	top: -4px;
	left: 0;
}
div.tml-rememberme-wrap input[type="checkbox"]:checked + label::after {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: #333333;
	position: absolute;
	top: 0;
	left: 4px;
	z-index: 1;
}


/* links */
ul.tml-links {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	font-size: 1.4rem;
	float: right;
	margin-top: 1rem;
}
ul.tml-links::after {
	content: '';
	display: block;
	width: 100%;
	clear: both;
}
ul.tml-links li:not(:last-child)::after {
	content: '/';
	padding: 0 1rem;
}
ul.tml-links li a { text-decoration: underline; position: relative; display: inline-block; z-index: 1; }
ul.tml-links li a::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: #ffe200;
	transition: all 450ms 0s ease;
	z-index: -1;
}
ul.tml-links li a:hover::after { width: 100%; transition: all 300ms 0s ease; }


/* hint */
p.description.indicator-hint { font-size: 1.4rem; }


/* alerts */
div.tml-alerts p { margin-bottom: 1.6rem; background: #f4f4f6; padding: 1.2rem; }


/* password check */
div#pass-strength-result {
	width: 100%;
	text-align: center;
	font-size: 1.6rem;
	padding: 1rem;
	background: #eee;
}
div#pass-strength-result.short {
	background: yellow;
}
div#pass-strength-result.short::before {
	content: '××';
	display: inline-block;
}
div#pass-strength-result.bad {
	background: red;
	color: #fff;
}
div#pass-strength-result.bad::before {
	content: '×';
	display: inline-block;
}
div#pass-strength-result.good {
	background: yellowgreen;
}
div#pass-strength-result.good::before {
	content: '○';
	display: inline-block;
}
div#pass-strength-result.strong {
	background: green;
	color: #fff;
}
div#pass-strength-result.strong::before {
	content: '◎';
	display:inline- block;
}

@media screen and (max-width: 767px) {
	div.tml {
		margin: 0 4%;
	}
}