/* Login CSS - Compatible with Opera 10 / Presto 2.12 */

body {
	background-color: #843189;
	color: #ffffff;
	font-size: 16px;
	height: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
	font-family: Roboto, sans-serif;
}

/* Container principal - usando table layout */
.login-container {
	display: table;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
}

.login-container>* {
	display: table-cell;
	vertical-align: middle;
}

/* Wrapper interno para organizar verticalmente */
.login-container::before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

/* Logo section */
.logo-section {
	text-align: center;
	margin: 0 auto 20px auto;
	width: 100%;
}

.logo {
	width: 300px;
	height: auto;
	display: block;
	margin: 0 auto 10px auto;
}

.logo-section h2 {
	font-size: 24px;
	font-weight: bold;
	margin: 0 0 10px 0;
}

.logo-section p {
	font-size: 16px;
	font-weight: normal;
	text-align: center;
	margin: 0 auto;
	max-width: 500px;
}

/* Content - usando inline-block para layout horizontal */
.content {
	text-align: center;
	margin: 20px 0;
	width: 100%;
}

.content>* {
	display: inline-block;
	vertical-align: middle;
}

/* QR Section */
.qr-section {
	width: 300px;
	text-align: center;
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px;
}

.qr-section img {
	display: block;
	margin: 10px auto;
}

.qr-section p {
	font-size: 16px;
	font-weight: normal;
	text-align: center;
	margin: 10px 0;
}

/* Divider OR */
.or-divider {
	width: 1px;
	height: 300px;
	background-color: #ffffff;
	display: inline-block;
	vertical-align: middle;
	margin: 0 80px;
	position: relative;
}

.or-divider p {
	position: absolute;
	top: 140px;
	left: -20px;
	font-size: 16px;
	font-weight: bold;
	color: #000000;
	background-color: #ffffff;
	padding: 10px;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	/* Fallback para border-radius */
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
}

/* Code Section */
.code-section {
	width: 300px;
	text-align: center;
	display: inline-block;
	vertical-align: middle;
	margin: 0 10px;
}

.code-section p {
	font-size: 16px;
	font-weight: normal;
	text-align: center;
	margin: 10px 0;
}

.code {
	color: #ffffff;
	font-size: 48px;
	font-weight: bold;
	border: none;
	margin: 10px 0;
	padding: 0;
	display: block;
	text-align: center;
}

/* Section Update */
.section-update {
	text-align: center;
	margin-top: 20px;
}

.section-update p {
	margin: 10px 0;
	padding: 0;
}

/* Button */
button {
	background-color: #ffffff;
	color: #000000;
	font-size: 16px;
	font-weight: bold;
	border: 2px solid #ffffff;
	cursor: pointer;
	padding: 10px 20px;
	margin: 5px;
	/* Fallback para border-radius */
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
}

button:hover {
	background-color: #eeeeee;
}

button:active {
	background-color: #dddddd;
}

/* Fix para organização vertical no Opera 10 */
@media screen {
	.login-container {
		display: block;
		padding-top: 50px;
	}

	.logo-section,
	.content,
	.section-update {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
}