@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700");

body {
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	font-weight: 400;
}

* {
	box-sizing: border-box;
}

.html-bg {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.body-wrapper {
	display: flex;
	flex-direction: column;
	max-width: 500px;
	position: relative;
}

@media only screen and (max-width : 500px) {
	.body-wrapper {
		top: 20px;
	}

	.form-box {
		padding: 20px;
		margin-left: 15px;
		margin-right: 15px;
	}
}

@media only screen and (min-width : 500px) {
	.body-wrapper {
		top: 50px;
		left: 5%;
	}

	.form-box {
		padding: 40px;
	}

	.form-box input {
		font-size: 18px;
	}
}

.logo {
	text-align: center;
}

.logo > img {
	max-width: 250px;
	height: auto;
}

.form-box {
	margin-top: 25px;
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 5px;
	color: #fff;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	border: 1px solid #000;
	backdrop-filter: blur(5px);
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.75);
	-webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.75);
	-moz-box-shadow: 0 0 20px 0 rgba(0,0,0,0.75);
}

.form-box .header-text {
	font-size: 28px;
	font-weight: 600;
	padding-bottom: 25px;
	text-align: center;
}

.form-box input[type=text], .form-box input[type=password] {
	margin: 10px 0px;
	border: none;
	padding: 10px;
	border-radius: 5px;
	width: 100%;
}

.form-box button {
	background-color: #043f32;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	width: 100%;
	font-size: 18px;
	padding: 10px;
	margin: 20px 0px;
}

.register-text a {
	color: #fff;
}

.disabled {
	background-color: #d4d7d6 !important;
}

.fa-spinner {
	margin-right: 10px;
}

.login-switch {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 10px 0px;
}

.switch {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 24px;
	margin-right: 10px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #043f32;
}

input:focus + .slider {
	box-shadow: 0 0 1px #043f32;
}

input:checked + .slider:before {
	-webkit-transform: translateX(20px);
	-ms-transform: translateX(20px);
	transform: translateX(20px);
}

.slider.round {
	border-radius: 24px;
}

.slider.round:before {
	border-radius: 50%;
}

.container-box-number {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 10px;
}

.box-number {
	text-align: center;
	font-size: 2em !important;
}

.box-number-error {
	border: 1px solid red !important;
}

.validar-opcoes {
	margin-top: 25px;
}

/* Container para registro com planos */
.registro-container {
	display: flex;
	flex-direction: row;
	gap: 30px;
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

@media only screen and (max-width: 992px) {
	.registro-container {
		flex-direction: column;
		align-items: center;
	}

	.registro-container .body-wrapper {
		position: relative;
		top: 0;
		left: 0;
	}

	.planos-wrapper {
		width: 100%;
		max-width: 500px;
	}
}

@media only screen and (min-width: 992px) {
	.registro-container .body-wrapper {
		position: relative;
		top: 0;
		left: 0;
		min-width: 400px;
	}

	.planos-wrapper {
		flex: 1;
		max-width: 600px;
	}
}

/* Box de planos */
.planos-wrapper {
	margin-top: 25px;
}

.planos-box {
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 5px;
	color: #fff;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	border: 1px solid #000;
	backdrop-filter: blur(5px);
	box-shadow: 0 0 20px 0 rgba(0,0,0,0.75);
	-webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.75);
	-moz-box-shadow: 0 0 20px 0 rgba(0,0,0,0.75);
	padding: 30px;
}

.planos-box .header-text {
	font-size: 24px;
	font-weight: 600;
	padding-bottom: 20px;
	text-align: center;
}

/* Tabs de período */
.planos-periodo-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.periodo-tab {
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
}

.periodo-tab:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.periodo-tab.active {
	background-color: #043f32;
	border-color: #043f32;
}

/* Lista de planos */
.planos-lista {
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-height: 450px;
	overflow-y: auto;
	padding-right: 5px;
}

.planos-lista::-webkit-scrollbar {
	width: 6px;
}

.planos-lista::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
}

.planos-lista::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 3px;
}

/* Card de plano */
.plano-card {
	background-color: rgba(255, 255, 255, 0.1);
	border: 2px solid transparent;
	border-radius: 10px;
	padding: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.plano-card:hover {
	background-color: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.3);
}

.plano-card.selecionado {
	background-color: rgba(4, 63, 50, 0.4);
	border-color: #043f32;
}

.plano-badge {
	position: absolute;
	top: -10px;
	right: 15px;
	background-color: #dc3545;
	color: #fff;
	padding: 4px 10px;
	border-radius: 15px;
	font-size: 12px;
	font-weight: 600;
}

.plano-nome {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}

.plano-preco {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.preco-original {
	text-decoration: line-through;
	color: #ff6b6b;
	font-size: 14px;
}

.preco-atual {
	font-size: 28px;
	font-weight: 700;
	color: #4cd964;
}

.preco-periodo {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.plano-recursos {
	margin-bottom: 15px;
}

.plano-recursos .recurso {
	font-size: 13px;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.9);
}

.plano-recursos .recurso i {
	color: #4cd964;
	margin-right: 8px;
	width: 14px;
}

.btn-selecionar-plano {
	width: 100%;
	background-color: transparent;
	border: 2px solid #043f32;
	color: #fff;
	padding: 10px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
}

.btn-selecionar-plano:hover {
	background-color: #043f32;
}

.plano-card.selecionado .btn-selecionar-plano {
	background-color: #043f32;
	color: #fff;
}
