/* ==========================================
				Estilos base
========================================== */

/* Fontes */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {

	/* Cores principais */
	--primary: #00BF6F;
	--primary-dark: #13AA6B;
	--secondary: #2A2E32;
	--accent: #222222;

	/* Texto e fundo */
	--text-color: #1f1f1f;
	--text-muted: #5E6571;
	--bg-color: #FAFAFA;
	--link-color: #578FFF;
	--link-color-dark: #235dd1;

	/* Fontes */
	--font-sans: 'Poppins', sans-serif;
	--font-heading: 'Inter', sans-serif;

	/* Colors */

	--badge-black: #080807;
	--badge-black-bg: #08080710;
	--badge-black-text: #080807;

	--badge-gray: #666666;
	--badge-gray-bg: #66666610;
	--badge-gray-text: #666666;

	--badge-green: #00c4a1;
	--badge-green-bg: #00c4a110;
	--badge-green-text: #00c4a1;

	--badge-orange: #f9a73f;
	--badge-orange-bg: #f9a73f20;
	--badge-orange-text: #f9a73f;

	--badge-red: #ff6363;
	--badge-red-bg: #ff636315;
	--badge-red-text: #ff6363;

}

/* Reset leve */

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	background-color: var(--bg-color);
	color: var(--text-color);
}

/* Modulos */

.module {
	padding: 25px;
	background-color: #ffffff;
	border-radius: 35px;
	box-shadow: 0px 0px 150px -5px #00000005;
}

.module_title:has(.previous) {
	margin-top: -20px;
}

.module_title {
	margin-bottom: 35px;
}

.module_title .previous {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 20px;
	cursor: pointer;
	gap: 10px;
}

.module_title .previous:hover button {
	background-color: #00000008;
	color: #333;
}

.module_title .previous:hover p {
	color: #666;
}

.module_title .previous button {
	width: 30px;
	height: 30px;
	border-radius: 30px;
	background-color: #00000005;
	transition: all 400ms ease;
	color: #aeaeae;

	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 13px;
	border: none;
}

.module_title .previous button i {
	transition: all 400ms ease;
}

.module_title .previous p {
	font-size: 14px;
	font-weight: 300;
	margin-bottom: 0px;
	transition: all 300ms ease-in;
	color: transparent;
	position: relative;
}

.module_title .previous p::before {
	content: 'Voltar';
	color: #aeaeae;
	background-color: var(--bg-color);
	position: absolute;
	width: 100%;
	left: 0px;
	transition: all 300ms ease-in;
}

.module_title .previous:hover p::before {
	content: '';
	color: transparent;
	background-color: transparent;
}

.module_title h1 {
	font-family: var(--font-sans);
	font-size: 24px;
	font-weight: 600;
	line-height: 150%;
	color: #000000;
}

.module_title h1 span.counter {
	color: #B9B9B9;
	margin-left: 10px;
}

.module_title p {
	font-size: 16px;
	line-height: 150%;
	font-weight: 300;
	color: #444444;
}

/* Badges de Status */

label.badge_status {

	font-size: 12px;
	padding: 6px 10px;
	border-radius: 10px;
	background-color: #00000010;
	color: #343a40;

	font-weight: 500;
	line-height: 100%;

}

label.badge_status[data-color="gray"] {
	background-color: var(--badge-gray-bg);
	color: var(--badge-gray-text);
}

label.badge_status[data-color="green"] {
	background-color: var(--badge-green-bg);
	color: var(--badge-green-text);
}

label.badge_status[data-color="orange"] {
	background-color: var(--badge-orange-bg);
	color: var(--badge-orange-text);
}

label.badge_status[data-color="red"] {
	background-color: var(--badge-red-bg);
	color: var(--badge-red-text);
}

/* Estilos de títulos */

h1, h2, h3, h4, h5 {
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--text-color);
}

h1.title {
	font-family: var(--font-sans);
	font-size: 24px;
	font-weight: 600;
	line-height: 150%;
	color: var(--text-color);
}

h2.subtitle {
	font-family: var(--font-sans);
	font-size: 20px;
	font-weight: 600;
	line-height: 150%;
	color: var(--text-color);
}

h3.title-internal {
	font-family: var(--font-sans);
	font-size: 18px;
	font-weight: 500;
	line-height: 150%;
	color: var(--text-color);
}

p.body {
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 150%;
	color: var(--text-color);
}

p.small {
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 150%;
	color: var(--text-color);
}

p.xsmall {
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 400;
	line-height: 150%;
	color: var(--text-color);
}

p.label {
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 150%;
	color: var(--text-color);
}

a.link {
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 150%;
	color: var(--link-color);
}

a.link:hover {
	color: var(--link-color-dark);
}

/* Botões customizados */

.btn_loading {
	color: transparent !important;
	position: relative;
}

.btn_loading::before {
	content: '';
	position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

.btn_extended {
	height: 48px;
	padding: 0px 20px;

	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;

	transition: all 400ms ease;
	border: 1px solid transparent;
	border-radius: 20px;

	font-size: 14px;
	font-weight: 500;
	line-height: 100%;
}

.btn_compact {
	height: 38px;
	padding: 0px 20px;

	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;

	transition: all 400ms ease;
	border: 1px solid transparent;
	border-radius: 20px;

	font-size: 12px;
	font-weight: 500;
	line-height: 100%;
}

.btn_compact i {
	font-size: 1.2em;
}

.btn_primary {
	background-color: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
}

.btn_primary:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
}

.btn_regular {
	background-color: transparent;
	border-color: var(--primary);
	color: var(--primary);
}

.btn_regular:hover {
	background-color: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
}

.btn_cancel {
	background-color: #F8F8F8;
	border-color: #F8F8F8;
	color: #252525;
}

.btn_cancel:hover {
	background-color: #F1F1F1;
	border-color: #F1F1F1;
	color: #111;
}

/* Links */

a {
	color: var(--primary);
	text-decoration: none;
	transition: all 400ms;
}

a:hover {
	color: var(--primary-dark);
}

/* Inputs e form controls */

input, select, textarea {
	border-radius: 6px;
	border: 1px solid #ddd;
	padding: 0.5rem;
}

.form_box {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-direction: column;
	gap: 15px;
}

.field_box {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-direction: column;
	gap: 5px;
}

.field_box label:first-child {
	font-size: 12px;
	font-weight: 400;
	line-height: 100%;
	color: #444;
}

.field_box:has(input:required) label:first-child::after {
	content: '*';
	color: #FF0004;
	font-weight: 300;
	margin-left: .5ex;
}

.field_box .field_item {
	height: 45px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;

	background-color: #ffffff;
	border-radius: 16px;
	padding: 0 16px;
	border: 1px solid #E3E3E3;
	transition: all 400ms ease;
}

.field_box .field_item:focus-within {
	box-shadow: 0px 5px 20px -15px #82F2C340;
	border-color: var(--primary);
}

.field_box .field_item input,
.field_box .field_item select {
	appearance: none;
	height: 100%;
	width: 100%;
	border: none;
	border-radius: 0px;
	background-color: transparent;
	font-size: 13px;
	outline: none;
	padding: 0;
	color: var(--text-color);
	font-weight: 400;
	line-height: 150%;
	text-overflow: ellipsis;

}

.field_box .field_item input::placeholder {
	font-size: 13px;
	font-weight: 300;
	color: #888888;
}

/* Field Box: Checkbox */

.field_box:has(input[type="checkbox"]) label {
	font-size: 12px;
	line-height: 150%;
	font-weight: 300;
	color: #333;
	transition: all 300ms ease;

	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: .5ch;
}

.field_box:has(input[type="checkbox"]) input {
	cursor: pointer;
	appearance: none;
	width: 17px;
	height: 17px;
	border-radius: 7px;
	transition: all 150ms ease;
	border-color: #D9D9D9;
	margin-top: -1px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
	margin-right: 7px;
}

.field_box:has(input[type="checkbox"]) label::after {
	display: none !important;
}

.field_box:has(input[type="checkbox"]) input:checked {
	background-color: var(--primary) !important;
	border-color: var(--primary) !important;
}

.field_box:has(input[type="checkbox"]:checked) label {
	color: #000000;
}

.field_box:has(input[type="checkbox"]) a.link {
	color: var(--primary);
	text-decoration: underline !important;
	font-size: 12px;
	line-height: 150%;
	font-weight: 400;
}

.field_box:has(input[type="checkbox"]) a.link:hover {
	color: var(--primary-dark);
}

/* Form Field Message Error */

.field_box.field_invalid .field_item:focus-within {
	border-color: #FFBEBF;
}

.field_box p.message_error {
	font-size: 11px;
	font-weight: 300;
	margin-bottom: 0px;
	line-height: 150%;
	color: #ff3434;
}

/* Form Buttons */

.form_buttons {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-direction: column;
	gap: 15px;
}

/* Form Footer */

.form_footer {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-direction: column;
	gap: 10px;
}

/* Step Row */

.step_row {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-direction: column;
	gap: 10px;
}

.step_row .step_item {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 15px;
	position: relative;
}

.step_row .step_item:not(:last-child) {
	padding-bottom: 20px;
}

.step_row .step_item:not(:last-child)::after {
	content: '';
	height: 20px;
	width: 1px;
	background-color: #00000020;
	position: absolute;
	left: calc(35px / 2);
	top: calc(100% - 20px);
}

.step_row .step_item .step_number {
	width: 35px;
	height: 35px;
	min-width: 35px;
	min-height: 35px;
	border-radius: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
}

.step_row .step_item .step_text {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 3px;
}

.step_row .step_item .step_text p.title {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 0px;
}

.step_row .step_item .step_text p.description {
	font-size: 13px;
	font-weight: 300;
	margin-bottom: 0px;
	color: var(--text-muted);
}

/* Utilitários */

.text_muted {
	color: var(--text-muted);
}

.bg_light {
	background-color: var(--secondary);
}

/* COLS */

[class^="col-"] {
	transition: width 400ms ease;
}

/* ANIMATIONS */

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 