body {
	background-color: #252d2a !important;
	color: #fff;
}

.form-control:disabled {
  background-color: #0c3f44;
  color: #fff;
}

.modal-dialog {
  min-width: 250px !important;
  max-width: 80vw !important;
}

.table-responsive {
	height: 60svh; 
	/* s = Usa a altura visível sem incluir a barra de navegação */
}

.copyButton {
	cursor: pointer;
}

.test {
	color: #ffff
}

header {
	height: 5rem;
}

.container-xxl {
	margin: -3rem auto 2rem;
	min-height: 30rem;
}

footer {
	background: #666 !important;
	color: #fff !important;
	padding: 10px 0;
	width: 100%;
	font-size: .9em;
}

h1,
h2,
h3 {
	text-align: center;
	color: #c0dfd3;
}

h1 {
	font-size: 130%;
}

h2 {
	font-size: 130%;
	color: #999 !important;
}

h3 {
	font-size: 110%;
}


/************************   nav   *************************/
#offcanvasDarkNavbar {
	background-color: #57412e;
}
.btn-close {
	width: 2em;
	height: 2em;
}	

.navbar-dark .navbar-toggler-icon {
	background-image: none;
}

.navbar-light .navbar-toggler-icon {
	background-image: none;
}

.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active,
.navbar-brand:visited {
	text-align: center;
	color: #c0dfd3;
}

.logo {
	font-size: 2em;
	margin-top: -.3em;
}

.tagline {
	font-size: 0.475em;
	margin-top: -.5em;
}

.nav-link,
.nav-link:hover,
.nav-link:focus,
.nav-link:focus,
.nav-link:visited {
	color: #c0dfd3 !important;
}

.navbar-toggler {
	position: fixed;
	right: 15px;
	top: 15px;
	padding: 0.25rem 0.5rem;
	z-index: 2;
	outline: 0;
	background: #859b93 !important;
}

.navbar-toggler:focus {
	box-shadow: 0 0 0.2em #086536 !important;
}

.navbar-toggler-icon {
	background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg" width="30" height="30"%3E%3Cpath stroke="rgba(255, 255, 255, 0.7)" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
	width: 30px;
	height: 30px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
	background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg" width="30" height="30"%3E%3Cpath stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
}

.nav-link .dropdown-toggle .show {
	color: #999 !important;
}

.navbar-nav .dropdown-menu {
	background: #264437;
	border: none;
}

.dropdown-submenu .dropdown-menu:nth-child(2) {
	background: #60c182 !important;
	border-radius: 0;
}

.dropdown-menu {
	--bs-dropdown-link-active-bg: #129f46;
	--bs-dropdown-border-radius: 0;
	min-width: 100%;
}


.dropdown-item {
	color: #fff !important;
}

.dropdown-menu-dark {
	--bs-dropdown-link-active-bg: #129f1b;
}

.dropdown-item:hover {
	background-color: #129f51 !important;
}

.dropdown-divider {
	border-top-color: #84e3a8 !important;
}

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu a::after {
	transform: rotate(-90deg);
	position: absolute;
	right: 6px;
	top: .8em;
}

.dropdown-submenu a:hover::after {
	transform: rotate(0deg);
}

.dropdown-submenu:hover .dropdown-menu {
	display: block;
}

.dropdown-submenu .dropdown-menu {
	top: -8px;
	left: 100%;
	margin-left: 0;
	margin-right: 0;
}

.dropdown-menu>.dropdown-submenu>.dropdown-item {
	top: -50px;
}


/************************   form   *************************/
fieldset {
	padding: 25px;
	border-radius: 15px;
}

label {
	color: #1f2422;
}

form {
	margin: auto;
}

.form-floating-image input {
	padding: 1rem .75rem;
}


.form-control,
.form-select,
.list-with-scrollbar {
	border-radius: 0 !important;
}

.form-control:focus {
	border-color: #2b9725 !important;
	background-color: #fefefe !important;
	box-shadow: 0 0 0.2em #58eba9 !important;
}

.datepicker table tr td.today{
	background-color: #99ffd9;
}

.form-switch {
	padding-left: 0em;
}

.form-check {
	min-height: 1.5rem;
	padding: 0 0.75em;
	margin-bottom: .125rem;
}

.form-check-input:checked {
	background-color: #0c5745 !important;
	border-color: rgb(20, 26, 24);
}

.form-switch .form-check-input {
	height: 1.5em;
	width: 3em;
	margin-left: .1em;
}

.form-check-input {
	height: 1.2em;
  width: 1.2em;
}

.form-switch .form-check-input:focus,
.form-switch .form-check-input:hover,
.form-switch .form-check-input:active,
.form-switch .form-check-input:enabled,
.form-switch .form-check-input {
	border-color: rgb(20, 26, 24);
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(20,26,24,1)'/></svg>");
}

.form-switch .form-check-input:checked,
.form-switch .form-check-input:checked:focus,
.form-switch .form-check-input:checked:hover,
.form-switch .form-check-input:checked:active,
.form-switch .form-check-input:checked:enabled,
.form-switch .form-check-input:checked:focus-visible,
.form-switch .form-check-input:checked:disabled {
	border-color: rgba(25, 203, 75, 0.25);
	box-shadow: 0 0 0 .1rem rgba(31, 209, 129, 0.25);
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(255,255,255,1.0)'/></svg>");
}

#select_all_checkboxes {
	background-color: #fff;
	border-color: #2e574b;
	width: 20px;
	height: 20px;
	box-shadow: none;
	margin: 10px 0;
}

#select_all_checkboxes:checked {
	background-color: #fecba1;
	box-shadow: 0 0 0 0.2rem rgba(3, 139, 64, 0.25);
	--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23B5651D' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}


.form-control input[type="text"] {
	outline: 1px solid transparent !important;
}

.order_closed_form{
	background-color: #f7f7f7;
	color: #666;
  padding: 15px;
  margin-left: -.75rem;
}
	

/************************   button   *************************/

/* Remover foco visual padrão */
button:focus,
a:focus {
  outline: 1px solid transparent !important;
}

/* Botões desabilitados */
button:disabled,
.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  opacity: 0.5;
  pointer-events: none;
  color: #fff;
  background-color: #000;
  border-color: #1e1c1c;
}

/* Estilo base dos botões */
.btn {
  border-radius: 6px !important;
  min-width: 90px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-lg {
  min-width: 120px;
}

/* Efeito visual de hover e clique */
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Cores personalizadas por tipo de botão */
.btn-primary {
  --bs-btn-color: #f8f9fa;
  --bs-btn-bg: #798c7e;
  --bs-btn-border-color: #5c8065;
  --bs-btn-hover-color: #f8f9fa;
  --bs-btn-hover-bg: #5c806b;
  --bs-btn-hover-border-color: #5a6268;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #f8f9fa;
  --bs-btn-active-bg: #495057;
  --bs-btn-active-border-color: #495057;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #f8f9fa;
  --bs-btn-disabled-bg: #6c757d;
  --bs-btn-disabled-border-color: #6c757d;
}

.btn-danger {
  --bs-btn-color: #fff;
  --bs-btn-bg: #b73744;
  --bs-btn-border-color: #b73744;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #e91025;
  --bs-btn-hover-border-color: #e91025;
  --bs-btn-focus-shadow-rgb: 225, 83, 97;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b02a37;
  --bs-btn-active-border-color: #a52834;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #dc3545;
  --bs-btn-disabled-border-color: #dc3545;
}

.btn-light {
  --bs-btn-color: #fff;
  --bs-btn-bg: #55677a;
  --bs-btn-border-color: #55677a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5a7b9c;
  --bs-btn-hover-border-color: #c6c7c8;
  --bs-btn-focus-shadow-rgb: 211, 212, 213;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #c6c7c8;
  --bs-btn-active-border-color: #babbbc;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #f8f9fa;
  --bs-btn-disabled-border-color: #f8f9fa;
}

.btn-outline-danger {
  --bs-btn-hover-color: #fff;
  --bs-btn-focus-shadow-rgb: 220, 53, 69;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-bg: transparent;
  --bs-gradient: none;
}

.btn-info {
  --bs-btn-color: #fff;
  --bs-btn-bg: #f28231;
  --bs-btn-border-color: #f0420d;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f06d0d;
  --bs-btn-hover-border-color: #f24b25;
  --bs-btn-focus-shadow-rgb: 11, 172, 204;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #f3683d;
  --bs-btn-active-border-color: #f25525;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #f0620d;
  --bs-btn-disabled-border-color: #f0770d;
}

/************************   alert   *************************/

.alert {
	margin: 1rem auto 1rem;
	border: 1px solid;
}

.alert-secondary {
	background-color: #ffe5d0 !important;
}

.alert-success {
	background-color: #d1e7dd !important;
	color: #198754 !important;
	border-color: #75b798 !important;
}

.alert-danger {
	background-color: #f8d7da !important;
	color: #dc3545 !important;
	border-color: #ea868f !important;
}

.alert-warning {
	background-color: #fff3cd !important;
	color: #664d03 !important;
	border-color: #ffda6a !important;
}

.alert .btn-close {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
	width: 8px;
	height: 8px;
}

.alert-success .btn-close {
	background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23090'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}

.alert-warning .btn-close {
	background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23933'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}

.alert-danger .btn-close {
	background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f00'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}

.bi.flex-shrink-0.me-2 {
	width: 1.2em;
	height: 1.2em;
}

.icon-success {
	width: 1.2em;
	height: 1.2em;
	color: #198754 !important;
}

.icon-warning {
	width: 1.2em;
	height: 1.2em;
	color: #ffc107 !important;
}

.icon-danger {
	width: 1.2em;
	height: 1.2em;
	color: #dc3545 !important;
}

ul {
	list-style-type: none;
	padding-left: 0;
}


.table th,
.table td {
	vertical-align: middle !important;
	padding: 4px 8px;
}

.table th {
	background-color: #141a18;
	color: #fff;
}

.table-striped tbody tr:nth-of-type(odd) {
	background-color: #f9f9f9;
}

.table-striped tbody tr:nth-of-type(even) {
	background-color: #ddd;
}

.table-hover tbody tr:hover {
	background-color: #ffe5d0 !important;
}

.table thead th {
	border-bottom: 2px solid #dee2e6;
}

/*****************   modal   **************/
.modal {
	background: none;
}

.modal-content {
	background: none;
	border-radius: 0;
	color: #9f4e12;
}

.modal-header {
	background-color: #9f4e12;
	color: #fff;
}

.modal-body,
.modal-footer {
	background-color: antiquewhite;
}

.modal-footer {
	border-top: 1px solid #e9ecef;
}



.close {
	color: #fff;
	opacity: 1;
}

.close:hover {
	color: #fff;
	opacity: 0.75;
}


/******************   ui autocomplete   ***************/

.ui-autocomplete {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 99999;
	display: none;

	padding: 5px 0;
	margin: 2px 0 0;
	list-style: none;
	text-align: left;
	background-color: #ffffff;

	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	background-clip: padding-box;
}

.ui-autocomplete>li>div {
	display: block;
	padding: 3px 20px;
	clear: both;
	line-height: 1.42857143;
	color: #333333;
	white-space: nowrap;
	font-size: .9em;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
	text-decoration: none;
	color: #262626;
	background-color: #c78753 !important;
	border-color: #c78753 !important;
	cursor: pointer;
}

.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.ui-menu-item-wrapper {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 5px 10px !important;
}

.ui-menu-item-wrapper img {
  max-height: 80px;
  width: auto;
  display: inline-block;
  margin-right: 10px;
}


/******************   tablesorter   *******************/
.tablesorter-default tr.even>td {
	background-color: #ccc;
}

.table-order-client {
	width: 100%;
	margin: 1.5rem auto;
}

.table-order-client th {
	background-color: #422007;
	padding: 4px;
	color: #fff;
}

.table-order-client td {
	background-color: #eee;
	padding: 4px 8px;
	color: #333;
}

.table-bordered td {
	background: #fff !important;
}

/******************   datepicker   *******************/
.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active:active,
.datepicker table tr td.active.active:hover {
	color: #fff;
	background-color: #906328;
	border-color: #745f20;
}

/******************   others   *******************/

.text-primary {
	color: #9f4e12 !important;
}

a {
	color: #9f4e12;
	text-decoration: none;
}

a:hover {
	color: #653208;
}

.shadow {
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.infos,
#qty-stock-container {
	color: #fff;
}

#qty-stock-container {
	margin-top: 1.5rem;
}

#id_maintenance_mode {
	font-size: 1.2em;
}

#pdf_file {
	visibility: hidden;
}

.bi-clipboard {
	fill: #b02a37 !important;
}

.bi-clipboard-check {
	fill: #43906c !important;
	display: none;
}

.custom-width-select-all {
	width: 40px !important;
}

hr {
	color: antiquewhite;
}

.number-negative {
	color: #b02a37 !important;
}

.quick-product{
	color:white
}