@charset "utf-8";
/*
 * CSS Document
 */

@import url("root.css");

* {
	outline: none;
	text-decoration: none;
}

img {
	border: 0;
}

body {
	font-family: var(--font-montserrat);
	font-size: 13px;
	font-weight: 300;
	color: var(--color-text);
	background-color: var(--color-bg);
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

#main {
	width: 100vw;
	height: 100vh;
	display: grid;
	grid-template-columns: 240px 1fr;
	grid-template-rows: 88px 1fr;
	/* transition: all 0.30s ease-in; */
}

#main.menu-close {
	grid-template-columns: 66px 1fr;
}

#main.menu-close .menu-title {
	display: none;
}

#close-menu {
	text-align: right;
	font-size: 24px;
}

#header {
	grid-column-start: 1;
	grid-column-end: 3;
	padding: 20px 36px 20px 20px;
	border-bottom: 1px solid #F0F0F0;
	position: relative;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#header .header-logo {
	width: 260px;
	float: left;
}

#header .header-user {
	width: 300px;
	height: 48px;
	float: right;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#header .header-user .user-icon i {
	font-size: 24px;
	color: #1FB6FF;
}

#header .header-user .user-name {
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#header .header-user .user-open i {
	font-size: 24px;
	line-height: 1;
	color: #B0B0B0;
	transition: all 0.3s ease-in;
}

#header .header-user .user-open:hover i {
	cursor: pointer;
	color: #1FB6FF;
}

.header-popup {
	position: absolute;
	width: 360px;
	top: 60px;
  	right: 29px;
	z-index: 9998;
	display: none;
}

.header-popup .arrow {
	width: 12px;
	height: 12px;
	background-color: #FFF;
	transform: rotate(45deg);
	margin-right: 18px;
	margin-top: -6px;
	box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.20);
	position: relative;
	z-index: 1;
	float: right;
}

.header-popup .arrow-top {
	width: 12px;
	height: 12px;
	background-color: #FFF;
	transform: rotate(45deg);
	margin-left: 20px;
	position: relative;
	float: right;
	margin-top: -26px;
  	margin-right: 12px;
}

.header-popup .items {
	width: auto;
	background-color: #FFF;
	border-radius: 3px;
	box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.20);
	padding: 20px 6px 2px 6px;
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.header-popup .name {
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	padding: 0 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Cards de e-mail/CPF/telefone - mesmo padrão do header-popup do TrackOne,
 * só que 1 coluna (cada informação embaixo da outra). */
.header-popup .cards {
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 10px;
	margin: 0 16px;
}

.header-popup .card {
	padding: 10px 12px;
	background-color: #FFFFFF;
	border: 1px solid #F3F3F3;
	border-radius: var(--border-radius);
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.header-popup .card .icon {
	height: 22px;
	margin-bottom: 10px;
	display: flex;
	align-items: flex-start;
}

.header-popup .card .icon i {
	font-size: 22px;
	font-weight: 300;
}

.header-popup .card .title {
	font-family: var(--font-poppins);
	font-weight: 600;
	font-size: 11px;
	color: var(--color-purple);
	text-transform: uppercase;
}

.header-popup .card .value {
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 14px;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.header-popup .plans {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 14px 16px 0 16px;
}

.header-popup .plan {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #FFFFFF;
	padding: 10px 14px;
	border-radius: var(--border-radius);
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.header-popup .plan b {
	font-weight: 700;
}

.header-popup .plan-blue {
	background-color: var(--color-blue);
}

.header-popup .plan-purple {
	background-color: var(--color-purple);
}

.header-popup .plan-pink {
	background-color: var(--color-pink);
}

.header-popup .buttons {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	gap: 12px;
	margin-top: 16px;
	padding: 14px 16px;
	border-top: 1px dashed #CCCCCC;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.header-popup .buttons>div {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease-in;
}

.header-popup .buttons>div:hover {
	cursor: pointer;
	color: var(--color-blue);
}

.header-popup .buttons>div i {
	vertical-align: -5px;
	margin-right: 2px;
	font-size: 18px;
}

#nav {
	border-right: 1px solid #F0F0F0;
	padding: 20px 10px 20px 16px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.menu {
	font-family: var(--font-montserrat);
	text-align: left;
	font-size: 15px;
	font-weight: 600;
}

.menu > div {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 56px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.3s ease-in;
}

.menu > div i {
	font-size: 22px;
	margin-right: 6px;
	transition: all 0.3s ease-in;
}

.menu > div.border {
	border-bottom: 1px dashed #E0E0E0;
}

.menu > div.menu-target:hover i {
	cursor: pointer;
	color: var(--color-blue);
}

.menu > div.menu-target:hover {
	cursor: pointer;
	color: var(--color-blue-plus);
}

.menu > div.menu-target.active {
	cursor: default;
	pointer-events: none;
	color: var(--color-purple);
}

.menu > div.menu-target.active i {
	color: var(--color-pink);
}

.menu > div.menu-target.active:hover {
	cursor: default;
	color: var(--color-purple);
}

.menu > div.menu-target.active:hover i {
	color: var(--color-pink);
}

.menu > div.bottom {
	width: auto;
	position: absolute;
	bottom: 10px;
	color: #1FB6FF;
}

.menu > div.bottom:hover {
	cursor: pointer;
	color: var(--color-blue-plus);
}

/* Botão ☰ e fundo escuro da gaveta do menu - só em tela até 1024px (ver @media no fim). */
.header-menu-toggle,
#nav-overlay {
	display: none;
}

#container {
	padding: 20px;
	background-color: #F3F3F3;
	min-height: 0;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#container h1 {
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 18px;
	color: var(--color-purple);
	padding: 0;
	margin: 4px 0 0 0;
}

#container h1 i {
	font-size: 26px;
	vertical-align: -3px;
	margin-right: 6px;
	color: var(--color-pink);
}

.grid-container {
	width: auto;
	height: 100%;
	display: grid;
	grid-template-rows: 56px 1fr;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

/*
 * Link "← Voltar" acima do título (back_link() em my_helper.php) - builder
 * do formulário, respostas de um formulário e relatório salvo. Com ele o
 * cabeçalho fica mais alto que os 56px fixos, então a linha vira auto e os
 * botões da direita ficam centralizados na altura do bloco link + título.
 */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 2px;
	font-family: var(--font-montserrat);
	font-size: 12px;
	font-weight: 600;
	color: var(--color-scrollbar);
	text-decoration: none;
	transition: color 0.3s ease 0s;
}

.back-link i {
	font-size: 16px;
	transition: transform 0.3s ease 0s;
}

.back-link:hover {
	color: var(--color-blue);
}

.back-link:hover i {
	transform: translateX(-3px);
}

.grid-container:has(> .heading .back-link) {
	grid-template-rows: auto 1fr;
}

.grid-container > .heading:has(.back-link) {
	align-items: center;
	padding-bottom: 12px;
}

/* Os botões do .actions-grid são float, então a div ficava com altura zero
   e o align-items acima não tinha o que centralizar - flow-root faz ela
   conter os floats. */
.grid-container > .heading:has(.back-link) .actions-grid {
	display: flow-root;
}

.button-upload {
	width: 620px;
	height: 40px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	display: inline-block;
	color: #FFFFFF;
	background-color: var(--color-blue);
	margin-top: 6px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.3s ease-in;
	-webkit-box-shadow: inset 3px -3px 6px rgba(128, 128, 128, 0.1);
	box-shadow: inset 3px -3px 6px rgba(128, 128, 128, 0.1);
}

.button-upload i {
	font-size: 18px;
	vertical-align: -2px;
}

.div-image-upload {
	width: auto;
	height: 310px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
	overflow: hidden;
}

.div-image-upload.img {
	border: 4px solid #FFF;
	-webkit-filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));
}

.div-image-upload.dragover {
	outline: 2px dashed var(--color-blue);
	outline-offset: -2px;
	background-color: #f3faff;
}

.image-upload-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	white-space: nowrap;
	border: 0;
	clip: rect(0, 0, 0, 0);
}

.div-image-upload #button-upload {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.div-image-upload #button-upload i {
	font-size: 48px;
	color: var(--color-blue);
}

.div-image-upload .text-select {
	font-size: 15px;
	font-weight: 600;
}

.div-image-upload .text-types {
	font-size: 14px;
	font-weight: 300;
}

.div-image-upload .text-types span {
	color: var(--color-blue);
	font-weight: 600;
}

.div-image-upload .reload-big {
	margin: 0;
}

.div-image-upload .delete-image {
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	position: absolute;
	width: 60px;
	height: 60px;
	top: 100%;
	left: 100%;
	margin-top: -80px;
	margin-left: -80px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.3s ease-in;
}

.div-image-upload .delete-image-icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.3s ease-in;
}

.div-image-upload .delete-image i  {
	font-size: 36px;
	color: var(--color-red);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.div-image-upload .delete-image:hover  {
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.6);
}

#div-delete-image,
#div-load-upload {
	display: none;
}

.buttom {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 40px;
	padding: 0 26px;
	border-radius: 3px;
	font-family: var(--font-montserrat);
	font-size: 14px;
	font-weight: 600;
	border: none;
	color: #FFFFFF;
	cursor: pointer;
	user-select: none;
	transition: all 0.3s ease-in;
	text-shadow: 1px 0 1px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.buttom .icon {
	width: 20px;
	height: 20px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.buttom .icon i {
	font-size: 20px;
}

.buttom .text {
	text-align: center;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.buttom.float-left {
	float: left;
}

.buttom.float-right {
	float: right;
}

.buttom.left {
	margin-left: 8px;
}

.buttom.right {
	margin-right: 8px;
}

.buttom.green {
	background-color: var(--color-green);
}

.buttom.red {
	background-color: var(--color-red);
}

.buttom.orange {
	background-color: var(--color-orange);
}

.buttom.blue {
	background-color: var(--color-blue);
}

.buttom.dark-blue {
	background-color: var(--color-blue-plus);
}

.buttom.cyan {
	background-color: var(--color-cyan);
}

.buttom.pink {
	background-color: var(--color-pink);
}

.buttom.purple {
	background-color: var(--color-purple);
}

.buttom.hide {
	display: none;
}

.buttom:disabled {
	opacity: 0.2;
	cursor: not-allowed;
}

.buttom.close {
	color: var(--color-text);
	text-shadow: none;
	background-color: #FFF;
	border: 1px solid #dfe4ea;
}

.buttom:hover {
	cursor: pointer;
	-webkit-box-shadow: inset 10px -40px 10px rgba(128, 128, 128, 0.1);
	box-shadow: inset 10px -40px 10px rgba(128, 128, 128, 0.1);
}

.buttom-icon {
	margin: 0 3px;
	transition: all 0.65s ease 0s;
	font-weight: unset;
	padding: 6px 2px 0 2px;
}

.buttom-icon:hover {
	cursor: pointer;
	font-weight: 400;
}

.buttom-icon.edit {
	font-size: 26px;
	color: #6d9e35;
}

.buttom-icon.layout {
	font-size: 26px;
	color: #CC49C6;
}

.buttom-icon.url {
	font-size: 26px;
	color: #7358BD;
}

.buttom-icon.qrcode {
	font-size: 26px;
	color: #0A94d7;
}

.buttom-icon.preview {
	font-size: 26px;
	color: #4c6a93;
}

.grid-modal-top {
	width: auto;
	padding: 20px 0;
	margin: -20px 20px 0 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 18px;
	color: #FFFFFF;
	background-color: var(--color-blue);
	text-align: center;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border-radius: var(--border-radius);
	text-shadow: 1px 0 1px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
}

.grid-top-title i {
	font-size: 24px;
	vertical-align: -6px;
	margin-right: 2px;
}

.grid-top-subtitle {
	margin-top: 4px;
	font-family: var(--font-montserrat);
	font-size: 13px;
	font-weight: 600;
	font-style: italic;
}

.grid-top-subtitle i {
	font-size: 16px;
	vertical-align: -3px;
	margin-right: 2px;
}

.modal-inputs {
	width: auto;
	height: calc(100% - 110px);
  	padding: 12px 20px 0 20px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.modal-inputs.detail {
	height: calc(100% - 130px) !important;
}

.modal-inputs .modal-field {
	background-color: #f9fafc;
	padding: 20px;
	font-family: var(--font-montserrat);
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.modal-inputs .modal-field:not(:last-of-type) {
	margin-bottom: 16px;
}

/*
 * .modal-field lado a lado (.two-columns/.three-columns/.four-columns): o
 * :last-of-type acima só olha os irmãos dentro do grid, então as primeiras
 * colunas ganhavam margem e a última não - colunas desalinhadas e o grid
 * encostado no .modal-field seguinte. Aqui o espaçamento sai das colunas e
 * vai pro grid: margem embaixo dele e row-gap quando as colunas empilham
 * (celular, ver .jm_modal .two-columns). :has() limita aos grids de
 * .modal-field, sem mexer em grids de outros conteúdos (ex.: De/Até do
 * filtro de respostas).
 */
.modal-inputs :is(.two-columns, .three-columns, .four-columns):has(> .modal-field) {
	row-gap: 16px;
}

.modal-inputs :is(.two-columns, .three-columns, .four-columns):has(> .modal-field):not(:last-child) {
	margin-bottom: 16px;
}

.modal-inputs :is(.two-columns, .three-columns, .four-columns) > .modal-field {
	margin-bottom: 0;
}

/*
 * Dica no final do modal de configuração do campo (Form_lib::field_hint())
 * - quadro na cor do tipo (--tip-color inline, de get_fields()), com o
 * mesmo círculo de ícone dos cards do builder (.div-item .type, form.css).
 */
.modal-tip {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	font-family: var(--font-montserrat);
	background-color: color-mix(in srgb, var(--tip-color) 7%, #FFFFFF);
	border: 1px solid color-mix(in srgb, var(--tip-color) 22%, #FFFFFF);
	border-radius: var(--border-radius);
	box-sizing: border-box;
}

.modal-tip-icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #FFFFFF;
	background-color: var(--tip-color);
}

.modal-tip-icon i {
	font-size: 18px;
}

.modal-tip-text {
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: var(--color-text);
}

.modal-field-hint {
	font-family: var(--font-montserrat);
	font-size: 12px;
	font-weight: 500;
	color: var(--color-text);
	padding: 0 4px;
	margin-top: 4px;
}

/*
 * Builder do campo Matriz (Form_lib::group_fields_matrix()): título de
 * cada lista (Linhas/Colunas) e a escala pronta com o botão ao lado.
 */
.matrix-builder-title {
	font-family: var(--font-montserrat);
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text);
	padding: 0 4px;
	margin: 8px 0 8px;
}

.matrix-builder-title span {
	margin-left: 6px;
	font-size: 12px;
	font-weight: 500;
}

.matrix-scale {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: start;
}

.matrix-scale-apply {
	height: 42px;
	padding: 0 16px;
	font-family: var(--font-montserrat);
	font-size: 13px;
	font-weight: 600;
	color: #FFFFFF;
	background-color: var(--color-blue);
	border: 0;
	border-radius: var(--border-radius);
	cursor: pointer;
	transition: opacity 0.2s ease 0s;
}

.matrix-scale-apply:hover {
	opacity: 0.85;
}

.modal-field label {
	font-family: var(--font-montserrat);
	padding: 0 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cr-step .modal-field label {
	justify-content: flex-start !important;
}

.modal-field label i {
	color: #BFBFBF;
	font-size: 18px;
	float: right;
	margin-top: -3px;
}

.modal-field label .i-required {
	float: none;
	margin-top: 0;
	font-size: 14px;
	color: var(--color-red);
}

.modal-field input[type="text"],
.modal-field input[type="password"] {
	width: 100%;
	max-width: 100%;
	height: 42px;
	font-family: var(--font-montserrat);
	font-size: 14px;
	font-weight: 400;
	background-color: #FFFFFF;
	color: var(--color-text);
	border: 1px solid #dfe4ea;
	padding: 6px 12px;
	border-radius: var(--border-radius);
	display: inline-block;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.65s ease 0s;
}

.modal-field input[type="text"]:focus,
.modal-field input[type="password"]:focus {
	border: 1px solid #a9aeb4;
}

.modal-field input[type="text"].icon {
	text-indent: 26px;
}

.modal-field input[type="checkbox"],
.modal-field input[type="radio"] {
	display: grid;
	place-content: center;
	appearance: none;
	background-color: #fff;
	cursor: pointer;
	width: 22px;
	height: 22px;
	border: 1px solid var(--color-text);
}

.modal-field input[type="checkbox"]::before,
.modal-field input[type="radio"]::before {
	content: "";
	width: 12px;
	height: 12px;
	transform: scale(0);
	transition: 300ms transform ease-in-out;
	box-shadow: inset 1em 1em var(--color-text);
}

.modal-field input[type="checkbox"]:checked::before,
.modal-field input[type="radio"]:checked::before {
	transform: scale(1);
}

.modal-field input[type="radio"] {
	border-radius: 50%;
}

.modal-field input[type="radio"]::before {
	border-radius: 50%;
}

.modal-field textarea {
	width: 100%;
	max-width: 100%;
	height: 80px;
	font-family: var(--font-montserrat);
	font-size: 14px;
	font-weight: 400;
	background-color: #FFFFFF;
	color: var(--color-text);
	border: 1px solid #dfe4ea;
	padding: 6px 12px;
	border-radius: var(--border-radius);
	display: inline-block;
	resize: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.65s ease 0s;
}

.modal-field textarea:focus {
	border: 1px solid #a9aeb4;
}

.modal-field .input-icon {
	font-size: 22px;
	width: 40px;
	text-align: center;
	margin-right: -45px;
	color: #888b94;
	display: inline-block;
	vertical-align: -2px;
	text-shadow: 1px 1px 0px #FFFFFF;
	position: relative;
	z-index: 2;
}

.modal-field select {
	width: 100%;
	max-width: 100%;
	height: 42px;
	font-family: var(--font-montserrat);
	font-size: 14px;
	font-weight: 400;
	background-color: #FFFFFF;
	color: var(--color-text);
	border: 1px solid #dfe4ea;
	padding: 6px 12px;
	border-radius: 3px;
	display: inline-block;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	position: relative;
	z-index: 1;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	transition: all 0.65s ease 0s;
}

.modal-field select option {
	font-family: var(--font-montserrat);
	font-size: 14px;
	font-weight: 400;
	color: var(--color-text);
	padding: 4px 6px;
	background-color: #FFF;
	white-space: normal;
}

.modal-field select:focus {
	border: 1px solid #a9aeb4;
}

.modal-field select:focus + .modal-field .i-arrow-select {
	color: var(--color-blue) !important;
}

.modal-field .i-arrow-select {
	width: 32px;
    height: 20px;
    margin-top: -32px;
    float: right;
    color: var(--color-text);
    font-size: 26px;
	position: relative;
	z-index: 2;
}

.modal-field .div-clone-label,
.modal-field .div-clone-list {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 28px;
	grid-column-gap: 16px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	transition: all 0.35s ease 0s;
}

/*
.modal-field .div-clone-list {
	padding-bottom: 8px;
	margin-bottom: 8px;
}
*/

.modal-field .div-clone-list > div:nth-child(1),
.modal-field .div-clone-list > div:nth-child(2) {
	padding-bottom: 8px;
	margin-bottom: 8px;
}

.modal-field .icon-list-cancel {
	text-align: center;
	line-height: 48px;
	font-size: 26px;
	color: var(--color-error);
	transition: all 0.35s ease 0s;
}

.modal-field .icon-list-cancel:hover {
	cursor: pointer;
	opacity: 0.8;
}

.modal-field .icon-list-plus {
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: left;
	font-size: 26px;
	color: var(--color-success);
	transition: all 0.35s ease 0s;
}

.modal-field .icon-list-plus:hover {
	cursor: pointer;
	opacity: 0.8;
}

/*
 * Medidor de força de senha (check_password() em www/js/tools.js) - 10
 * barrinhas que vão de vermelho a verde conforme a senha digitada. Core
 * (não por página) porque é usado tanto no modal "Meus Dados"
 * (modal-profile.php) quanto na tela de criar/redefinir senha
 * (create_password.php, ver create_password.css pro resto daquela tela).
 */
#pass-items {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	grid-column-gap: 4px;
	margin-top: 8px;
}

#pass-items > div {
	height: 4px;
	border-radius: 2px;
	background-color: #EFEFEF;
	transition: background-color 0.3s ease 0s;
}

.div-button {
	width: auto;
	padding: 20px 2px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.div-button.modal {
	padding: 20px !important;
}

/* Exportação (PDF/Excel) - modal-export.php / www/js/export.js */

.modal-input.export {
	width: auto;
	height: 200px;
	padding: 0;
	margin: 20px 20px 0 20px;
	background-color: #FAFAFA;
	font-family: var(--font-montserrat);
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

/*
 * Ícones de arquivo do modal, os mesmos do trackone (glifos do Font
 * Awesome da fonte icons.woff2 de lá, copiada como file-icons.woff2).
 * Família própria só pra esses dois: a fonte "glooom" (icons.css) não
 * tem esses glifos e segue sendo a de todos os outros icon-*.
 */
@font-face {
	font-family: "file-icons";
	src: url("../icons/file-icons.woff2?v1") format("woff2");
	font-weight: normal;
	font-style: normal;
}

i.icon-file-pdf:before,
i.icon-file-excel:before {
	font-family: "file-icons";
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	width: 1em;
	line-height: 1em;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

i.icon-file-pdf:before {
	content: "\f1c1";
}

i.icon-file-excel:before {
	content: "\f1c3";
}

.export-type-option {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 26px;
	padding: 26px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.export-type-input {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: all 0.65s ease 0s;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.85);
	border: 1px dashed #FAFAFA;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.export-type-input i {
	font-size: 68px;
	margin-top: 6px;
	color: var(--color-cyan);
	transition: all 0.35s ease 0s;
}

.export-type-text {
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 15px;
	color: var(--color-cyan);
	margin-top: 6px;
	padding-bottom: 24px;
	transition: all 0.35s ease 0s;
}

.export-type-text span {
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 12px;
	color: var(--color-cyan);
	transition: all 0.35s ease 0s;
}

.export-type-input:hover {
	cursor: pointer;
	background-color: #F3F3F3;
}

.export-type-input.active {
	border: 1px dashed #CECECE;
}

.export-type-input.active i,
.export-type-input:hover i {
	color: var(--color-blue);
}

.export-type-input.active .export-type-text,
.export-type-input:hover .export-type-text {
	color: var(--color-purple);
}

.export-type-input.active .export-type-text span,
.export-type-input:hover .export-type-text span {
	color: var(--color-pink);
}

.export-load-message {
	width: 100%;
	height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.export-result {
	width: 100%;
	height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.export-result i {
	font-size: 68px;
	margin-top: 6px;
	color: var(--color-blue);
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.85);
}

#export-span-name {
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 15px;
	color: var(--color-scrollbar);
}

#export-span-index {
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-purple);
}

#export-span-extension {
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 12px;
	color: var(--color-pink);
}

.span-export-waiting,
.span-export-download {
	display: none;
}

.div-button-export {
	width: auto;
	padding: 20px 2px;
	margin: 0 auto;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.div-button-export .span-export-types {
	width: 100%;
	margin: 0 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.export-icon-waiting {
	width: 100%;
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 11px;
	text-align: center;
	font-style: italic;
	color: var(--color-text);
	line-height: 16px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.export-icon-waiting i {
	font-size: 30px;
	color: var(--color-blue);
	margin-right: 8px;
}

.span-waiting-text {
	font-size: 13px !important;
	display: block;
	color: var(--color-purple) !important;
}

.div-button.modal > div {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.icon-required {
	width: 34px;
	height: 30px;
	margin-top: -35px;
	margin-right: 2px;
	float: right;
	font-size: 20px;
	color: var(--color-red);
	background-color: #FFF;
	position: relative;
	z-index: 3;
}

.input-error {
	border: 1px solid #FFD7D7 !important;
}

.reload-small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.reload-big {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	margin: 30vh auto;
}

.access-allowed {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.access-allowed .error-code {
	padding: 30px;
	font-size: 220px;
	font-weight: 900;
	color: #FFF;
	background-clip: text;
	background-image: linear-gradient(to right, #09f1b8, #00a2ff, #ff00d2, #fed90f);
	-webkit-text-stroke-color: transparent;
	-webkit-text-stroke-width: calc(1em / 12);
}

.access-allowed .error-text {
	font-family: var(--font-montserrat);
	height: 48px;
	line-height: 48px;
	font-size: 35px;
	font-weight: 600;
	margin-top: -72px;
	text-align: center;
	text-transform: uppercase;
}

.access-allowed .error-back {
	margin-top: 40px;
	font-size: 26px;
	font-weight: 600;
	height: 120px;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-pink);
	transition: all 0.65s ease 0s;
}

.access-allowed .error-back:hover {
	cursor: pointer;
	color: var(--color-purple);
}

.two-columns {
	width: auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 16px;
}

.three-columns {
	width: auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 16px;
}

.four-columns {
	width: auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 16px;
}

.two-columns-input-radio,
.two-columns-input-check {
	width: auto;
	display: grid;
	grid-template-columns: 32px 1fr;
	grid-column-gap: 6px;
}

.two-columns-input-radio label,
.two-columns-input-check label {
	margin-top: 5px;
}

.two-columns-input-radio,
.two-columns-input-check {
	margin: 8px 0 12px 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.three-columns-input-switch {
	width: auto;
	display: grid;
	grid-template-columns: minmax(30px, max-content) 60px minmax(30px, max-content);
	grid-column-gap: 26px;
	margin-top: 16px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.three-columns-input-switch > div {
	line-height: 28px;
}

.switch {
	margin: 5px auto 0 auto;
	position: relative;
	width: 60px;
	height: 18px;
	border-radius: 30px;
	background-color: #FFFFFF;
	border: 1px solid #dfe4ea;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.65s ease 0s;
}

.switch .button {
	position: absolute;
	display: block;
	top: 4px;
	left: 26px;
	width: 28px;
	height: 28px;
	border-radius: 30px;
	z-index: 3;
	cursor: pointer;
	background-color: #c2c3c4;
	transition: all 0.65s ease 0s;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	margin-top: -10px;
}

.switch.checked .button {
	left: 4px;
	background-color: var(--color-blue);
}

.switch.disabled {
	opacity: 0.8;
	cursor: not-allowed;
	pointer-events: none;
}

.switch.disabled .button {
	background-color: #FFFFFF;
	border: 1px solid #dfe4ea;
}

/*
 * Suporte ao select customizado (init_select() em tools.js, portado do
 * trackone). Fica sem efeito enquanto nenhum <select> tiver a classe
 * .select-search no HTML.
 */
.custom-select-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}

.custom-select-input {
	width: 100%;
	height: 42px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 6px 12px;
	font-family: var(--font-montserrat);
	font-size: 14px;
	font-weight: 400;
	color: var(--color-text);
	background-color: #FFFFFF;
	border: 1px solid #dfe4ea;
	border-radius: 3px;
	cursor: pointer;
}

.custom-select-dropdown {
	position: fixed;
	background: #FFFFFF;
	max-height: 200px;
	overflow-y: auto;
	z-index: 1000;
	display: none;
	box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
}

.custom-select-item {
	display: block;
	position: relative;
	padding: 8px 12px;
	cursor: pointer;
	border-bottom: 1px solid #eee;
}

.custom-select-item i {
	margin-right: 8px;
	font-size: 20px;
	vertical-align: middle;
}

.custom-select-item:hover .custom-select-item-text,
.custom-select-item.selected .custom-select-item-text {
	color: var(--color-blue);
	font-weight: 600;
}

.custom-select-item:hover .custom-select-item-type {
	color: var(--color-blue);
}

.custom-select-item:hover i,
.custom-select-item.selected i {
	color: var(--color-blue) !important;
}

.custom-select-wrapper.disabled {
	opacity: 0.8;
	cursor: not-allowed;
	pointer-events: none;
}

.custom-select-input.disabled,
.custom-select-input:disabled {
	background-color: #FAFAFA;
	cursor: not-allowed;
	border-color: var(--color-cyan) !important;
}

.custom-select-item-content {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 4px;
}

.custom-select-item-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 28px;
}

/* Título de um <optgroup> no dropdown (init_select() em tools.js). */
.custom-select-group {
	padding: 10px 12px 6px 12px;
	font-family: var(--font-montserrat);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-blue-plus);
	background-color: #f9fafc;
	border-bottom: 1px solid #eee;
	cursor: default;
}

.custom-select-item-text {
	font-size: 14px;
	font-weight: 400;
	color: var(--color-text);
}

.custom-select-item-type {
	font-family: var(--font-montserrat);
	margin-top: -2px;
	font-size: 12px;
	font-style: italic;
	font-weight: 400;
}

.field-rating-stars {
	width: auto;
	height: 45px;
	margin-top: 8px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.field-rating-stars i {
	font-size: 28px;
	cursor: pointer;
	color: var(--color-nothing);
}

.field-rating-stars i.selected {
	background-color: #ecb100;
	color: transparent;
	text-shadow: 1px 1px 2px rgba(255,255,255,0.4);
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
}

.form-empty {
	width: auto;
	min-height: 200px;
	margin-top: 90px;
	margin-bottom: 30px;
}

.icon-empty {
	font-size: 64px;
	text-align: center;
	background-color: var(--color-scrollbar);
	color: transparent;
	text-shadow: 1px 1px 2px rgba(255,255,255,0.4);
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
}

.text-empty {
	font-family: var(--font-montserrat);
	color: var(--color-scrollbar);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	padding: 0;
	margin: 0 40px;
	text-align: center;
	text-shadow: 1px 1px 0 #FFF;
}

.h1-sub {
	margin-top: -6px;
	display: block;
	font-size: 13px;
	font-weight: normal;
	text-transform: none;
	line-height: 20px;
}

.grid-container>.heading {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.grid-container>.grid {
	min-height: 0;
	overflow-y: auto;
	padding-right: 4px;
}

.mCSB_dragger_bar {
	background-color: var(--color-cyan) !important;
}

/*
 * Tablet e celular: o menu lateral vira gaveta (abre pelo ☰ do header,
 * ver init_menu_drawer() em default.js), o header fica compacto e o
 * conteúdo ocupa a largura toda. max-width em vez de max-device-width
 * pra valer também com a janela do desktop estreita.
 */
@media screen and (max-width: 1024px) {
	#main,
	#main.menu-close {
		grid-template-columns: 1fr;
		grid-template-rows: 64px 1fr;
	}

	#header {
		grid-column-end: 2;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 8px 16px 8px 8px;
	}

	.header-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		padding: 0;
		color: var(--color-text);
		background-color: transparent;
		border: 0;
		border-radius: var(--border-radius);
		cursor: pointer;
		transition: all 0.3s ease 0s;
	}

	.header-menu-toggle i {
		font-size: 28px;
	}

	.header-menu-toggle:hover,
	#main.menu-open .header-menu-toggle {
		color: var(--color-blue);
		background-color: #F3F3F3;
	}

	#header .header-logo {
		width: auto;
		float: none;
		flex: 0 1 auto;
		min-width: 0;
	}

	#header .header-logo .logo-div {
		grid-template-columns: 40px 1fr;
		grid-column-gap: 6px;
	}

	#header .header-logo .logo-div > div:nth-child(1) {
		height: 40px;
		line-height: 40px;
	}

	#header .header-logo .logo-div > div:nth-child(1) i {
		font-size: 44px;
	}

	#header .header-logo .logo-div > div:nth-child(2) {
		font-size: 14px;
		height: 16px;
		line-height: 16px;
	}

	#header .header-logo .logo-div > div:nth-child(3) {
		font-size: 20px;
		height: 24px;
		line-height: 24px;
	}

	#header .header-user {
		width: auto;
		float: none;
		margin-left: auto;
		min-width: 0;
	}

	.header-popup {
		top: 54px;
		right: 14px;
		width: 360px;
		max-width: calc(100vw - 24px);
	}

	/* Gaveta: fica fora da tela e desliza pra dentro com .menu-open. */
	#nav {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 270px;
		max-width: 85vw;
		padding-top: 24px;
		background-color: #FFFFFF;
		box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
		transform: translateX(-105%);
		transition: transform 0.3s ease;
		z-index: 9990;
		overflow-y: auto;
	}

	#main.menu-open #nav {
		transform: translateX(0);
	}

	#main.menu-close .menu-title {
		display: inline;
	}

	#nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background-color: rgba(0, 0, 0, 0.25);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		z-index: 9989;
	}

	#main.menu-open #nav-overlay {
		opacity: 1;
		visibility: visible;
	}

	#container {
		padding: 12px;
	}

	/*
	 * Modais: $.jm.fit() (modal.js) encolhe o jBox pra caber na tela, então
	 * o miolo pode ficar menor que o conteúdo - rola por dentro. Os que já
	 * têm barra própria (.mCustomScrollbar) ficam como estão.
	 */
	.jm_modal .modal-inputs:not(.mCustomScrollbar) {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/*
 * Celular: sem nome e sem ícone do usuário no header - fica só a seta
 * (#open-popup), com área de toque maior; nome e dados estão no popup.
 */
@media screen and (max-width: 640px) {
	/* Cabeçalho das telas: a proporção fixa 1fr/1.4fr espremia o título
	   mesmo sem botão nenhum (ex.: Planos e Preços). Aqui os botões ficam
	   só com a largura que precisam e o título com o resto. */
	.grid-container>.heading {
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
	}

	/* Botão de adicionar do cabeçalho (Novo Formulário/Novo Relatório): só
	   o ícone, pra sobrar espaço pro título; o nome fica no title. */
	.heading .buttom.heading-add {
		padding: 0 14px;
	}

	.heading .buttom.heading-add .text {
		display: none;
	}

	#header .header-user .user-icon {
		display: none;
	}

	#header .header-user .user-open {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
	}

	.jm_modal .modal-inputs {
		padding: 12px 12px 0 12px;
	}

	.jm_modal .modal-field {
		padding: 14px;
	}

	.jm_modal .two-columns {
		grid-template-columns: 1fr;
	}

	.jm_modal .div-button.modal {
		padding: 14px 12px !important;
	}

	#header .header-user .user-name {
		display: none;
	}

	#header .header-logo .logo-div > div:nth-child(2) {
		font-size: 12px;
	}

	#header .header-logo .logo-div > div:nth-child(3) {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#nav,
	#nav-overlay {
		transition: none;
	}
}

/*
 * Spinner de carregamento usado por $.jm.wait() (www/js/modal.js), portado
 * do trackone junto com alerts.js/modal.js - antes desses arquivos, essas
 * classes não existiam aqui.
 */
.loading-spinner-content {
	position: relative;
	width: 120px;
	height: 120px;
	margin: 0 auto;
	top: calc(50% - 60px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.loading-spinner {
	width: 80px;
	height: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 4px solid var(--color-blue);
	border-right-color: transparent !important;
	border-radius: 50%;
	box-sizing: border-box;
	animation: spin 1s linear infinite;
	will-change: transform;
}

.loading-spinner > div {
	width: 64px;
	height: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 4px solid var(--color-pink);
	border-right-color: transparent !important;
	border-radius: 50%;
	box-sizing: border-box;
	animation: spin 1.5s linear infinite reverse;
	will-change: transform;
}

.loading-spinner > div > div {
	width: 48px;
	height: 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 4px solid var(--color-purple);
	border-right-color: transparent !important;
	border-radius: 50%;
	box-sizing: border-box;
	animation: spin 2s linear infinite;
	will-change: transform;
}

.loading-spinner.small {
	width: 48px;
	height: 48px;
	border-width: 2px;
}

.loading-spinner.small > div {
	width: 36px;
	height: 36px;
	border-width: 2px;
}

.loading-spinner.small > div > div {
	width: 24px;
	height: 24px;
	border-width: 2px;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.loading-spinner,
	.loading-spinner > div,
	.loading-spinner > div > div {
		animation: spinPulse 1.6s ease-in-out infinite;
	}

	@keyframes spinPulse {
		0%, 100% { opacity: 1; }
		50% { opacity: 0.4; }
	}
}

.loading-spinner-text {
	width: 100%;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-montserrat);
	font-weight: 600;
	font-size: 13px;
	text-align: center;
	font-style: italic;
	color: var(--color-purple);
	text-transform: uppercase;
}
