header {
	background-color: var(--cor-principal);
}

#aguarde {
	position: absolute;
	width: 100%; 
	height: 100%;
	z-index: 20;
	background-color: rgba(0,0,0,0.65);
	color: #FFF;
	cursor: wait;
}
#aguarde span {
	display: flex;
  align-items: center;
  justify-content: center;
  height: 75%;
	text-align: center;
}

.desativado {
	opacity: 0.5;
	pointer-events: none;
}
.inativo {
  display: none!important;
}

#lista-uploads {
  max-height: unset!important;
  margin: unset!important;
}

.main-option-btn:hover, .main-option-btn.active {
  color: var(--cor-destaque);
}

.tab-btn {
	border-bottom: 2px solid transparent;
}
.tab-btn.active {
  color: var(--cor-destaque);
	border-bottom-color: var(--cor-destaque);
}

.lista_modelos img[src=''] {
	background: url(../../img/icones/carregando.gif?v=1) no-repeat center center;
	content:url("data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==");
}

.cor[alt="branco"], .cor[data-color="#FFFFFF"], .cor[data-color="#ffffff"] {
  border: 1px solid #eee;
}


#main-viewer {
	position: relative;
	background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
#main-viewer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 0;
}
#canvas_original, #manequim_temporario {
  margin: 0 auto;
}

#whatsapp-button {
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#whatsapp-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.whatsapp-button-content {
  display: flex;
  align-items: stretch;
  background-color: #4d9c50;
  color: white;
}
.whatsapp-text {
  padding: 8px 16px 8px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}
.whatsapp-text .main-text {
  font-size: 18px;
  font-weight: 600;
}
.whatsapp-text .sub-text {
  font-size: 12px;
  font-weight: 300;
}
.whatsapp-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background-color: #59b35d;
  font-size: 28px;
}
.whatsapp-icon::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 0;
  bottom: 0;
  width: 30px;
  background-color: #4d9c50;
  transform: skewX(-20deg);
  z-index: 0;
}
.whatsapp-icon i {
  position: relative;
  z-index: 1;
}


::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}


@media (max-width: 1023px) {
	#left-sidebar,
	#dynamicSidebar {
		position: fixed;
		top: 4rem;
		height: calc(100vh - 4rem);
		transform: translateX(-100%);
		transition: transform 0.3s ease-in-out, visibility 0.3s, opacity 0.3s;
		display: flex;
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
	}

	#left-sidebar {
		z-index: 40;
	}

	#dynamicSidebar {
		left: 5rem;
		z-index: 35;
	}

	#left-sidebar.open,
	#dynamicSidebar.open {
		transform: translateX(0);
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
