:root {

	/* COLORS */

	--color-primary: #0762D9;
	--color-primary-bg: #0762D910;
	--color-primary-shadow: #0762D920;
	--color-primary-border: #0762D940;

	--color-secondary: #FD811E;
	--color-secondary-bg: #FD811E10;
	--color-secondary-shadow: #FD811E20;
	--color-secondary-border: #FD811E40;

	--color-text: #080807;
	--color-text-bg: #08080710;
	

	/* BADGES */

	--badge-green: #00c4a1;
	--badge-green-bg: #00c4a115;
	--badge-green-border: #00c4a150;
	--badge-green-text: #0a3622;
	
	--badge-orange: #f9a73f;
	--badge-orange-bg: #f9a73f20;

	--badge-red: #ff6363;
	--badge-red-bg: #ff636315;
	--badge-red-border: #ff636350;
	--badge-red-text: #58151c;


	/* TEXTOS */

	--font-title-h1: 1.75rem;
	--font-title-h2: 1.55rem;
	--font-subtitle: 1rem;
	--font-body: .9rem;
	--font-small: 0.875rem;
	--font-label: 0.8125rem;

}


/* GERAL */

body {
	background: #fcfcfc;
	font-family: Poppins;
}


/* ALERTS */

.alert__red {
	background: var(--badge-red-bg) !important;
	color: var(--badge-red-text) !important;
}

.alert__row {
	padding: 5px;
	background: #fff3cd;
	color: #664d03;
	border-radius: 25px;
	font-size: 10pt;
	font-weight: 300;

	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 15px;
}

.alert__row .alert__icon {
	min-width: 40px;
	width: 40px;
	min-height: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #ffe69c;
	border-radius: 100%;
}

.alert__row .alert__icon svg {
	stroke-width: 1.3px;
}

.alert__row button {
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0px 20px;
	white-space: nowrap;
	font-size: 10pt;
	font-weight: 300;
	border-radius: 100px;
	border: none;
	background: #ffe69c;
	color: #664d03;
	font-weight: 400;
}

.alert__row p {
	line-height: 100%;
	margin-bottom: 0px;
	width: 100%;
}

@media screen and (max-width: 768px) {

	.alert__row {
		padding: 10px;
		flex-direction: column;
		gap: 10px;
	}

	.alert__row button {
		width: 100%;
		font-size: 9pt;
		border-radius: 15px;
	}

	.alert__row p {
		line-height: 150%;
		text-align: center;
		padding: 10px;
	}

	.alert__row .alert__icon {
		display: none;
	}

}


/* MODULE */

.module__title {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	margin-bottom: 15px;
	gap: 8px;
}

.module__title h3 {
	font-size: 16pt;
	font-weight: 300;
	margin-bottom: 0px;
}

.module__title p {
	font-size: 10pt;
	font-weight: 300;
	margin-bottom: 0px;
	color: #08080750;
}

.module__title hr {
	width: 25px;
	opacity: 1;
	margin: 10px 0px 0px 0px;
	border-width: 3px;
	border-color: var(--color-primary);
}

.module {
	padding: 35px;
	border-radius: 45px;
	background: #ffffff;
	box-shadow: 0px 0px 250px #343a4015;
}


/* SWALL */

.swal2-popup {
	padding: 50px 50px 75px 50px !important;
	border-radius: 60px !important;
	overflow: hidden !important;
}

.swal2-backdrop-show {
	backdrop-filter: blur(5px);
	background: #00000050 !important;
	opacity: 1 !important;
}

.swal2-popup h2 {
	font-weight: 600 !important;
	color: #0d0d0d !important;
}

.swal2-popup .swal2-html-container {
	font-weight: 300 !important;
	color: #979797 !important;
}

.swal2-popup .swal2-actions button {
	padding: 15px 25px !important;
	border-radius: 25px !important;
	transition: all 300ms ease !important;
	background: var(--color-primary);
	font-size: 11pt !important;
	font-weight: 500;
}

.swal2-popup .swal2-actions button.swal2-cancel {
	padding: 15px 25px !important;
	border-radius: 25px !important;
	transition: all 300ms ease !important;
	background: var(--color-primary);
	font-size: 11pt !important;
	font-weight: 500;
}

.swal2-popup .swal2-actions button:focus {
	outline: none !important;
	box-shadow: none !important;
}

.swal2-popup .swal2-warning {
	border-color: #f8bb86 !important;
	color: #ff9c45 !important;
}

.swal2-popup .swal2-info {
	border-color: #90e8d8 !important;
	color: #90e8d8 !important;
}

.swal2-popup .swal2-success-ring,
.swal2-popup .swal2-success-fix,
.swal2-popup .swal2-success-ring {
	border-color: #90e8d8 !important;
	color: #90e8d8 !important;
}

.swal2-popup .swal2-success-line-tip,
.swal2-popup .swal2-success-line-long {
	background-color: #90e8d8 !important;
}
}

.swal2-popup .swal2-error {
	border-color: #ff5858;
}

.swal2-popup .swal2-x-mark span {
	background-color: #ff3056;
}


/* INPUT BOX */

.input__box {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 5px;
}

.input__box label {
	font-size: var(--font-label);
	font-weight: 300;
	line-height: 100%;
	margin-left: 10px;
	color: #343a40fb;
}

.input__box label b {
	font-weight: 400;
	color: var(--color-secondary);
}

.input__box .input__item {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0px;

	border: 1px solid #343a4015;
	border-radius: 20px;
	margin-bottom: 15px;
	height: 45px;
	width: 100%;
}

.input__box .input__text {
	height: 150px !important;
}

.input__box .input__item .input__icon {
	padding: 0px 0px 0px 10px;
}

.input__box .input__item input::placeholder {
	color: #343a4050;
}

.input__box .input__item input:focus,
.input__box .input__item textarea:focus,
.input__box .input__item select:focus {
	outline: none !important;
}

.input__box .input__item input,
.input__box .input__item textarea,
.input__box .input__item select {
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
	font-size: var(--font-small);
	font-weight: 300;
	padding: 0px 20px;
	color: #343a40;
}

.input__textarea {
	height: auto !important;
}

.input__box .input__item textarea {
	height: 150px !important;
	padding: 20px !important;
}

.input__box .input__item textarea::placeholder {
	color: #343a4050;
}

/* =======  Datatables  ======= */

.category__row {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	gap: 5px;
}

span.hide {
	font-size: 0.1pt !important;
	opacity: 0 !importants;
}

.dt-empty {
	font-size: .8rem !important;
	font-weight: 300 !important;
	color: #c1c1c1 !important;
}

.dt-layout-row:not(.dt-layout-table) {
	padding: 0px 25px !important;
	margin: 10px 0px 20px 0px !important;
}

.dt-layout-row:not(.dt-layout-table):last-child {
	padding: 0px 25px !important;
	margin: 20px 0px 10px 0px !important;
}

.dt-layout-row:not(.dt-layout-table) label {
	font-size: .9rem !important;
	font-weight: 300 !important;
	color: #c1c1c1 !important;
	line-height: 1;
}

.dt-layout-row:not(.dt-layout-table) select {
	padding: 8px 10px !important;
	background: transparent !important;
	border-radius: 15px !important;
	border: 1px solid #e6e6e6 !important;
	font-size: 15px !important;
	font-weight: 300 !important;
	appearance: none !important;
	text-align: center !important;
	margin-right: 10px !important;
}

.dt-info {
	font-size: .9rem !important;
	font-weight: 300 !important;
	color: #e6e6e6 !important;
	line-height: 1;
}

.dt-layout-row:not(.dt-layout-table) input {
	padding: 8px 10px !important;
	background: transparent !important;
	border-radius: 15px !important;
	border: 1px solid #e6e6e6 !important;
	font-size: 15px !important;
	font-weight: 300 !important;
	appearance: none !important;
	text-align: center !important;
	margin-left: 10px !important;
}

.dt-paging button {
	width: 25px !important;
	height: 25px !important;
	padding: 0px !important;

	display: flex;
	justify-content: center;
	align-items: center;

	font-size: 12px !important;
	border-radius: 10px !important;
	box-shadow: none !important;

	background: transparent !important;
	color: #c1c1c1 !important;
}

.dt-paging .current {
	background: transparent !important;
	border-color: #cdcdcd !important;
}

.status__badge {
	padding: 4px 8px;
	font-size: 12px;
	border-radius: 10px;
	background: var(--color-primary);
	line-height: 1;
	font-weight: 600;
	color: #ffffff;
}

.category__badge {
	padding: 4px 8px;
	font-size: 10px;
	border-radius: 10px;
	background: var(--color-primary);
	line-height: 1;
	font-weight: 500;
	color: #ffffff;
}

.status__active {
	background: var(--badge-green);
}

.status__archived {
	background: var(--badge-orange);
}

table {
	width: 100%;
	font-size: .9rem;
}

.wide__td {
	max-width: 200px !important;
	width: 200px !important;
	overflow: hidden;
	text-overflow: ellipsis;
}

table tbody tr {
	cursor: pointer !important;
	transition: all 300ms !important;
}

table tbody tr:hover {
	background: #00000002 !important;
}

table th {
	font-weight: 400 !important;
	font-size: 10pt !important;
	vertical-align: middle;
	padding: 10px 25px 10px 25px !important;
	border-color: #f8f8f8 !important;
	color: #343a4080;
}

table th:nth-child(2),
table td:nth-child(2) {
	text-align: left !important;
}

table th:hover {
	outline: none !important;
}

table td {
	font-weight: 300 !important;
	font-size: 15px !important;
	vertical-align: middle;
	padding: 10px 25px !important;
	border-color: #f8f8f8 !important;
	white-space: nowrap !important;
	text-overflow: ellipsis !important;
	color: #343a40;
}

table th:last-child {
	width: 60px !important;
}

.dtr-title {
	font-weight: 400 !important;
}

.module__table {
	padding: 10px 0px;
	background: #ffffff;
	border-radius: 25px;
	box-shadow: var(--module-shadow);
}

.td__actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 5px;
}

.td__actions svg {
	width: 20px;
	height: 20px;
	color: #c1c1c1;
	transition: all 200ms linear;
}

tr:hover .td__actions svg {
	color: #0d0d0d;
}

.td__actions label {
	cursor: pointer;
}

tbody tr:has(input:checked) {
	background: #fff9f9 !important;
}

.td__select {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	max-width: 18px;
}

.td__select .form-check-input {
	box-shadow: none !important;
	border-radius: 5px !important;
	border-color: #f2f2f2 !important;
	border-width: 1px !important;
	min-width: 18px !important;
	min-height: 17px !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0px !important;
}

.td__select input {
	min-width: 18px !important;
	min-height: 18px !important;
	width: 18px !important;
	height: 18px !important;
}

.td__select .form-check-input:checked {
	background-color: var(--color-secondary) !important;
	border-color: var(--color-secondary) !important;
}

.td__nothing {
	padding: 25px 0px !important;
	text-align: center !important;
	vertical-align: middle !important;
	background: #fafafa !important;
	border-radius: 25px !important;
	font-size: 10pt !important;
	color: #343a40ac !important;
}

/* MODAL */

.modal-backdrop {
	backdrop-filter: blur(5px) !important;
	z-index: 1010 !important;
	opacity: 1 !important;
	background: #00000050;
}

.modal-content {
	border: none !important;
	border-radius: 35px !important;
}

.modal-header {
	padding: 25px 35px 10px 35px !important;
	border-color: #fafafa;
}

.modal-header h1 {
	font-size: 1.2rem !important;
	font-weight: 400 !important;
	color: #0d0d0d !important;
}

.modal .btn-close {
	opacity: .2 !important;
}

.modal .modal-body {
	padding: 35px !important;
	border-color: #fafafa !important;
	font-size: .9rem !important;
	font-weight: 300 !important;
}

.modal .modal-footer {
	padding: 25px 35px 25px 35px !important;
	border-color: #fafafa !important;
}

.modal .modal-footer button {
	padding: 10px 20px !important;
	font-weight: 500 !important;
	border-radius: 15px !important;
	font-size: .8rem !important;
	box-shadow: none !important;
	outline: none !important;
	border: none !important;
}

.modal .modal-footer button:disabled {
	filter: saturate(30%) brightness(1.5);
}

.modal .modal-footer button.fill {
	background: var(--color-primary);
	border-color: var(--color-primary);
	margin: 0px !important;
	color: #fff;
}

.modal .modal-body::-webkit-scrollbar {
	width: 10px;
}

.modal .modal-body::-webkit-scrollbar-track {
	background: #ffffff;
}

.modal .modal-body::-webkit-scrollbar-thumb {
	background-color: #e9e9e9;
	border: 3px solid #ffffff;
	border-radius: 20px;
}


/* RESPONSIVIDADE */

@media screen and (max-width: 768px) {

	.col-0 {
		display: none;
	}

	.swal2-popup {
		padding: 50px 20px 75px 20px !important;
	}

	.swal2-popup.swal-fullscreen-mobile {
		width: 100vw !important;
		height: 100vh !important;
		margin: 0 !important;
		top: 0 !important;
		left: 0 !important;
		border-radius: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
	}

	.swal2-container {
		padding: 0px !important;
	}

}