body {
  font-family: Arial, sans-serif;
  margin: 0;
}
.box1{
	position:relative;
	background: #6b6b6b;
}
.box1 .waitBox{
	display:none;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	padding: 40px;
	background:whitesmoke;
}
.box1 .waitBox img{
	width:100%;
	height:100%;
	object-fit: contain;
}
/*.export_mensaje{
		display: none;
		position: absolute;
		top: 45px;
		right: 45px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    color: #333;
    animation: fadeInOut 2s ease-in-out infinite;
    color: white;
}*/
.export_mensaje {
  /* tus estilos actuales... */
  white-space: pre-line;
  font-size: 13px;
  padding: 8px 16px;
  text-align: left;
  position: absolute;
  left: 24px;
  display: none;
  color: white;
}
.export_mensaje.mostrar{
	display: block;
}

/* Animación que hace que el texto suba y baje su opacidad */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}
.box1.recording{
	pointer-events:none;
}
		.box1.recording .waitBox{
			display:flex;
		}
		.box2{
			width: 50%;
			height: 100%;
			max-width: 50%;
		}
		.menu_2box{
			display: flex;
			gap: 5px;
			overflow-x: scroll;
		}
.menu_2box button{
	padding:8px;
	border:none;
	height: 34px;
	cursor: pointer;
	background: var(--colorTprt);
	color: white;
	border-radius: 0 0 4px 4px;
	align-content: center;
	display: flex;
	flex-grow: 1;
    justify-content: center;
    white-space: nowrap;
}
.menu_2box button:hover{
	background: #2b2a2c63;
}
.menu_2box button.mark{
	background:var(--color1);
	color:white;
}
		.editableWindow{
			height: calc(100% - 42px);
			position: relative;
		}
		.infoBox h2{
			font-size: 20px;
			color: var(--txt1);
		}
		.infoBox p{
			font-size: 1rem;
			color: var(--txt2);
		}
		.uvParentBox{
			height: 100%;
			position: relative;
			flex-direction: column;
			gap: 8px;
		}
		.canvasBox{
			width: 100%;
  		height: 100%;
  		overflow: hidden;
  		touch-action: none;
  		position:relative;
  		top:0;
  		left:0;
  		cursor: grab;
			/*flex-grow: 1;height:100%;overflow:scroll;
			position:relative;
			inset: auto;
			align-content: center;
			margin: auto;
			padding:50px;
			width: 100%;*/
		}
		.uvMap{
			display:block;
			position:absolute;
			top:0;left:0;
			z-index:0;
			mix-blend-mode:difference;
			pointer-events:none;
			width:100%;
			height:100%;
		}
		#export-canvas{
      display: none;
    }
		.addImageBox{
			border-radius: 4px;
			padding: 5px;
			background-color: #fff;
			text-align: center;
			transition: background-color 0.3s ease;
			cursor: pointer;
			width: fit-content;
			position:absolute;
			right: 10px;
			bottom: 48px;
			z-index: 200;
		}
		.downloadUvBox{
			position: absolute;
	    display: flex;
	    flex-direction: row-reverse;
	    right: 10px;
	    top: 4px;
	    z-index: 200;
	    overflow: hidden;
		}
		.downloadUvBox:hover .templateBox{
			width: fit-content;
			transform: translateX(0);
			padding: 0 7px;
			margin-right: 5px;
		}
		.downloadUvBtn{
			width: 30px;
			height: 30px;
			border-radius: 4px;
			padding: 5px;
			background-color: #fff;
			text-align: center;
			cursor: pointer;
			z-index: 200;
		}
		.centerUvBtn{
			position: absolute;
	    display: flex;
	    flex-direction: row-reverse;
	    right: 10px;
	    top: 41px;
	    overflow: hidden;
			width: 30px;
			height: 30px;
			border-radius: 4px;
			padding: 5px;
			background-color: #fff;
			text-align: center;
			cursor: pointer;
			z-index: 200;
		}
		.downloadUvBtn img, .centerUvBtn img{
			width: 100%;
			height: 100%;
		}
		.templateBox{
			white-space: nowrap;
	    overflow: hidden;
	    height: 30px;
	    display: flex;
	    align-items: center;
	    background: #ffffffa8;
	    width: 0px;
	    padding: 0;
	    transition: all ease 500ms;
	    transform: translateX(100%);
	    border-radius: 4px;
	    z-index: 100;
		}
		.templateBox a{
			text-decoration: none;
			color: #808080;
		}
		.templateBox:hover a{
			text-decoration: none;
			color: black;
		}
.changPositionBox{
	position: absolute;
  left: 10px;
  top: 4px;
  gap: 6px;
  display: flex;
  flex-direction: column;
  z-index: 200;
}
.changPositionBox button{
	padding: 5px;
  width: 32px;
  height: 32px;
  border: 1px solid silver;
  background: #fff;
  border-radius: 4px;
}
.changPositionBox button img{
	width: 100%;
	height: 100%;
}
		.addImageBox img{
			width:20px;
			height:20px;
		}
		.addImageBox.dragover{
			background-color: #e0f7fa;
		}

		  .addImageBox p {
			margin: 0;
			font-size: 16px;
			color: #666;
		  }

		  #image-input {
			display: none;
		  }

		  .preview {
			margin-top: 15px;
			max-width: 100%;
			height: auto;
			border-radius: 8px;
		  }
h1{
	text-align: center;
  font-size: 1.1rem;
  margin: auto;
  font-weight: bold;
  color: var(--txt1);
}
#canvas-container{
  /*border: none;
  position: relative;*/
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 7px 10px 60px rgba(0, 0, 0, .3);
	/*inset: auto;
	margin: auto;
	zoom:0.2;*/
}
#canvas-container.roughness div[material_num]{
	pointer-events: none;
  opacity: 0.4 !important;
  z-index: 0 !important;
}
#canvas-container div[material_roughness]{
	visibility: hidden;
}
#canvas-container.roughness div[material_roughness]{
	visibility: visible;
}
/*--------------svg dinamico de plantilla--------------*/
#canvas-container svg{
	width: 100%;
	height: 100%;
	pointer-events: none;
	mix-blend-mode: difference;
}
/*------------------------------*/
.image-wrapper{
  position: absolute;
  cursor: move;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
	display: none;
}
.image-wrapper.visible{
	display: inline-block;
}
.image-wrapper img{
	border: 1px solid silver;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
	height: 100%;
	width: 100%;
}
.image-wrapper .resize-handle {
	position: absolute;
	width: 0.7em;
	height: 0.7em;
	cursor: pointer;
}
        .delete-btn {
            position: absolute;
            top: -7vw;
            right: -7vw;
            background: red;
            color: white;
            border: none;
            width: 0.6em;
            height: 0.6em;
			justify-content:center;
            text-align: center;
            cursor: pointer;
			clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
        }
		.resize-handle.bottom-right {
		  bottom: -1.2em;
		  right: -1.2em;
		  cursor: se-resize;
		  background-image: url('../icons/r-corner.svg');
		  background-size: 100%;
		  background-repeat: no-repeat;
		}
		.resize-handle.bottom {
		  bottom: -1.5em;
		  left: calc(50% - 0.35em);
		  transform: translateX(-50%);
		  cursor: s-resize;
		  background-image: url('../icons/r-height.svg');
		  background-size: 100%;
		  background-repeat: no-repeat;
		}
		.resize-handle.right {
		  top: 50%;
		  right: -1.8em;
		  transform: translateY(-50%);
		  cursor: e-resize;
		  background-image: url('../icons/r-width.svg');
		  background-size: 100%;
		  background-repeat: no-repeat;
		}
		.resize-handle.rotate {
		  top: -1.5em;
		  left: calc(50% - 0.35em);
		  transform: translateX(-50%);
		  background-image: url('../icons/rotate.svg');
		  background-size: 100%;
		  background-repeat: no-repeat;
		}
		/*----------------------------*/
.image-wrapper {
  position: absolute;
  touch-action: none;
}

.image-wrapper.select {
  outline: 2px solid #4da3ff;
}

.handle {
  position: absolute;
  width: 14vh;
  height: 14vh;
  background: white;
  border: 2px solid #4da3ff;
  border-radius: 50%;
  background-size: 100%;
	background-repeat: no-repeat;
}

.resize-xy {
  right: -7vw;
  bottom: -7vw;
  cursor: nwse-resize;
	background-image: url('../icons/r-corner.svg');
}

.resize-x {
  right: -7vw;
  top: 50%;
  transform: translateY(-50%);
  cursor: ew-resize;
  background-image: url('../icons/r-width.svg');
}

.resize-y {
  bottom: -7vw;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
  background-image: url('../icons/r-height.svg');
}

.rotate {
  top: -7vw;
  left: 50%;
  transform: translateX(-50%);
  background-image: url('../icons/rotate.svg');
  cursor: grab;
}
		/*----------------------*/
		.controlsLight.winBox{
  flex-wrap: nowrap;
}
		.winBox{
			/*position: absolute;
			bottom: 0;
			z-index: 10;
			right: 0;
			left: 0;
			margin: auto;
			background: #2b2a2c2b;
			padding: 10px 10px 20px 10px;
			border-radius: 10px 10px 0 0;
			max-width: 100%;
			width: fit-content;
			display: none;
			flex-wrap: wrap;
			gap: 6px;*/
		}
.editBox{
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: fit-content;
    max-height: 100%;
    overflow-y: overlay;
}
  .color-select-wrapper {
    width: 200px;
    position: relative;
    font-family: sans-serif;
    flex-grow: 1;
  }
  .selected-color {
    color: white;
    display: block;
    cursor: pointer;
    align-content: center;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 22px 0 7px;
    height: 100%;
    border: 1px solid white;
    border-radius: 4px;
  }
  .selected-color::after{
  	content: '';
    display: block;
    width: 15px;
    margin: auto;
    height: 10px;
    background: #6f6f6f;
    position: absolute;
    top: 0;
    right: 7px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    bottom: 0;
  }
.chooseColorBox{
	background: var(--colorTprt);
	  display: flex;
    gap: 12px;
    padding: 6px;
    height: 38px;
}
.rougness_map_btn.active{
	background: var(--color1);
  border: 1px solid var(--color1);
}
.rougness_map_btn{
	background: transparent;
	padding: 0 10px;
  display: flex;
  align-items: center;
  border: 1px solid white;
  color: white;
}
.material_label{
	color: white;
	align-content: center;
}
.materiales{
display: none;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ccc;
    position: absolute;
    width: 100%;
    bottom: 100%;
    left: 0;
    z-index: 1;
}
.materiales.active {
    display: flex;
    width: auto;
}
.materiales div[id*='color_']{
  display: flex;
  gap: 8px;
}
.colorSample{
	width: 20px;
	height: 20px;
}
.materiales div.colorTarget{
	background: whitesmoke;
}
		.materialBox label{
			font-size: 15px;
			color: white;
			font-weight: 300;
			flex-grow: 1;
			text-align:center;
			flex-basis:25%;
			display: flex;
			gap: 8px;
		}
		.materialBox label input[type="range"]{
			width:100%;
		}
		.colorsBox{
			position:absolute;
			align-items:center;
			top:30px;
			right:0;
			padding:5px;
			display:flex;
			z-index: 10;
			gap:5px;
			flex-direction:column;
		}
		.colorsBox input[type="range"]::-webkit-slider-thumb {
		  -webkit-appearance: none;
		  appearance: none;
		  width: 100%;
		  min-width:26px;
		  height: 12px;
		  background: var(--color1);
		  border-radius: 3px;
		  cursor: pointer;
		}
		.sceneTools{
			position:absolute;
			top:0;
			right:0;
			z-index:10;
		}
		.sceneTools button{
			width: 30px;
	    height: 30px;
	    padding: 4px;
	    border-radius: 0 0 4px 4px;
	    border: none;
	    background: var(--colorTprt);
		}
		.sceneTools button:hover{
			background: #2b2a2c63;
			cursor: pointer;
		}
		.sceneTools button img{
		  width: 100%;
      height: 100%;
      filter: brightness(0) saturate(100%) invert(97%) sepia(75%) saturate(2%) hue-rotate(158deg) brightness(110%) contrast(100%);
		}
		.sceneTools button.activo{
			background: var(--color1);
		}
		.grid-overlay{
			display: none;
			width: 100%;
			height: 100%;
			position: absolute;
			top: 0;left: 0;right: 0;bottom: 0;
			margin: auto;
			z-index: 1;
			pointer-events: none;
			background-size: calc(25% - 0.5px) calc(25% - 0.5px);
    	background-image: linear-gradient(to right, rgb(255 0 0) 2px, #00000000 2px), linear-gradient(to bottom, rgb(255 0 0) 2px, transparent 2px);
			mix-blend-mode: difference;
			filter: grayscale(1);
			border: 4px solid red;
		}
		#ambientI{
			transform: rotate(-180deg);
			writing-mode: vertical-rl;
			height: 80px;
			width: 26px;
			border: 1px solid #000000bd;
			outline: 3px solid #ffffffbd;
			background: #ffffffbd;
		}
		input[type=color]{
			width: 28px;
			height: 28px;
			border: none;
			border-radius: 4px;
			background: #ffffff;
		}
		.rotateBox{
			position: absolute;
			left: 10px;
			padding: 10px;
			top: 40px;
			border-radius: 10px;
			width: 150px;
			background: #2b2a2c2b;
			z-index: 10;
			display: flex;
			flex-direction: column;
			color:white;
			font-size:14px;
		}
		.rotateBox label{
			display: flex;
			width: 100%;
			gap: 6px;
			align-items: center;
		}
		.morphBox{
			display:none;
			bottom:36px;
			left:0;
			right:0;
			margin:auto;
			padding:8px;
			background: #2b2a2c2b;
			color:white;
		}
		.produce{
			color: white;
		}
		.produce .exportSizeBox{
			display: flex;
			justify-content: center;
			align-items: center;
			margin: auto;
			gap: 10px;
		}
		.produce .exportSizeBox label{
			display: flex;
			gap: 4px;
		}
		.canva_size{
			display: flex;
			gap: 10px;
		}
		.canvas_forma{
			width: 40px;height: 40px;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 6px;
			border: none;
			padding: inherit;
		}
		.canvas_forma span{
			border: 2px solid gray;
			display: block;
			pointer-events: none;
		}
		.canvas_forma:nth-child(1) span{
			width: calc(8px * 2);
			height: calc(15px * 2);
		}
		.canvas_forma:nth-child(2) span{
			width: calc(12px * 2);
			height: calc(12px * 2);
		}
		.canvas_forma:nth-child(3) span{
			width: calc(15px * 2);
			height: calc(8px * 2);
		}
		.canvas_forma.selected{
			background: var(--color1);
		}
		.canvas_forma.selected span{
			border: 2px solid var(--txt1);
		}
		.produce .inputCont{
			display: flex;
			color: white;
			width: 100%;
			align-items: center;
			justify-content: space-between;
		}
		.produce .inputCont input{
			width: 40%;
		}
		.exportBox{
			display: flex;
			gap: 6px;
			align-items: center;
			justify-content: center;
			margin: auto;
		}
.exportBox button{
	display: flex;
	gap: 5px;
  height: 30px;
  align-items: center;
  padding: 0 6px;
  background: var(--color1);
  color: white;
  border: none;
  border-radius: 4px;
}
.exportBox button:hover{
	background: #358497;
	transition: all 300 ease;
}
.exportBox button img{
	height: 20px;
}
		.timelineBox{
			width:100%;
			display:flex;
			gap:10px;
			align-items:center;
			justify-content: center;
			position: absolute;
			bottom: 0;
			left: 0;
			background: var(--colorTprt);
		}
		.timelineBox button{
			white-space: nowrap;
    padding: 5px;
    height: 27px;
    width: 27px;
    min-width: 27px;
    border: 1px solid var(--txt1);
    background: var(--txt1);
    border-radius: 3px;
		}
		.timelineBox button img{
			width:100%;
			height:100%;
			min-width: 14px;
			min-height: 14px;
			max-width: 20px;
			max-height: 20px;
		}
		.animationBox{
			display:flex;
			width:100%;
			height:38px;
			gap:10px;
			align-items:center;
			transition: all 400ms ease;
			padding: 6px;
		}
		.timelineBox select{
			background:Transparent;
			color:white;
			outline:none;
			border:1px solid white;
			width:fit-content;
			max-width:80px;
			border-radius:4px;
			transition: all 400ms ease;
			height: 100%;
		}
		.timelineBox select option{
			background:black;
		}
		.animationBox input[type="range"]::-webkit-slider-thumb{
			height:26px;
			border-radius:4px;
			outline:none;
			background:white;
		}
		.animationBox input[type="range"]{
			height:100%;
			margin:0;
			background:transparent;
			border:1px solid white;
		}
		/*Flexbox*/
		.container{
      width: 100%;
      max-width:100%;
      margin:auto;
      height: 100dvh;
      max-height:100vh;
      background-color: rgb(87 96 97);
      background-image: linear-gradient(to top, #141314, rgb(87 96 97));
      display: flex;
      position: relative;
      flex-direction:row;
	  overflow:hidden;
    }
    .box1, .box2{
      width:100%;
      height:100%;
      flex-grow:1;
      flex-shrink:1;
      max-width:100%;
      max-height:100%;
      overflow:hidden;
	  min-width:auto;
	  min-height:100%;
    }
    .box1.vertical, .box2.vertical{
			min-width:100%;
			min-height:auto;
		}
    .divider{
      height:100%;
	  width:3px;
      position:relative;
      margin:auto;
      display:flex;
      justify-content:center;
      align-items:center;
	  cursor: e-resize;
	  background:white;
    }
    .divider.vertical{
			width:100%;
			height:3px;
			cursor:ns-resize;
		}
    .divider .grabber{
      width:12px;
	  min-width:12px;
      height:60px;
      background:var(--color1);
      display:block;
      border-radius:10px;
	  z-index:100;
	  outline: 3px solid white;
    }
    .divider.vertical .grabber{
			height:20px;
			min-height:20px;
			width:60px;
		}
	.divider span:active{
		background:var(--color2);
	}
.controlsLight .part{
	display:flex;
	gap:2px;
}
.moveEle{
	flex-grow: 1;
}
.lightSourceBox{
	display: flex;
    color: white;
    width: 100%;
    gap: 6px;
}
#lightColor{
	width:42px;
}
.lightSourceBox div{
	display: flex;
    flex-grow: 1;
    gap: 8px;
}
.lightSourceBox div:nth-child(1){
	width:100%;
}
.lightCon{
	font-size: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}
body .lightCon .ejeX::-webkit-slider-thumb{
    background: red;
}
body .lightCon .ejeY::-webkit-slider-thumb{
    background: #00FF00;
}
body .lightCon .ejeZ::-webkit-slider-thumb{
    background: blue;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number] { -moz-appearance:textfield; }
.lightCon input[type="number"]{
	width: 28px;
    margin: 0;
    padding: 0;
    color: white;
    font-weight: normal;
    border: none;
    background: transparent;
    text-align: center;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height:4px;
  margin:4px 0;
  background: #ffffffbd;
  border-radius: 4px;
  position:relative;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--color1);
  border-radius: 50%;
  cursor: pointer;
  outline:2px solid #ffffffbd;
}
.luces_box{
	display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.luces_box #deleteLightConfig{
	padding: 4px;
}
.luces_box #deleteLightConfig img{
	height: 18px;
	pointer-events: none;
}
.luces_box input{
	  padding: 0 10px;
    flex-grow: 1;
    height: 31px;
    border: none;
    border-radius: 4px;
}
.luces_box input:focus{
	outline: 1px solid var(--color1);
}
.controlsLight span {
  font-size: 14px;
  color: white;
}
.winBox select {
  padding: 0 5px;
  height: 28px;
  font-size: 14px;
  background: transparent;
  border: 1px solid white;
  border-radius: 4px;
  color: white;
  flex-grow: 1;
  outline: none;
}
.winBox select option{
	background:black;
}
.winBox select option:hover{
	background: red;
	color: black;
}
.settingsBar{
	position: absolute;
  	top: 0;
  	left: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 5px;
}
.settingsBar button{
	padding:4px 6px;
	border:none;
	height: 30px;
	cursor: pointer;
	background: var(--colorTprt);
	color: white;
	border-radius: 0 0 4px 4px;
	align-content: center;
	display: flex;
}
.settingsBar button img{
	width: 100%;
	height: 100%;
	filter: brightness(0) saturate(100%) invert(97%) sepia(75%) saturate(2%) hue-rotate(158deg) brightness(110%) contrast(100%);
}
.settingsBar button:hover{
	background: #2b2a2c63;
}
.settingsBar button.mark{
	background:var(--color1);
	color:white;
}
.menu_page{
	display: none;
	flex-direction: column;
	gap: 4px;
	position: absolute;
  top: 36px;
  padding: 10px;
  z-index: 10;
  left: 0;
  border-radius: 6px;
  background: #f7f7f7;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .2));
}
.menu_page:before{
	content: '';
  width: 20px;
  height: 15px;
  background: #f7f7f7;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  position: absolute;
  top: -10px;
  left: 7px;
}
.menu_page.open{
	display: flex;
}
.menu_page a{
	text-decoration: none;
	color: gray;
	font-size: 15px;
	padding: 6px 8px;
}
.menu_page a:hover{
	color: black;
}
/*decalGEOMETRY*/
.modeSwitchBox { display:flex; gap:4px; margin:8px 0; }
.modeSwitchBox .modeBtn { flex:1; padding:6px 10px; border:1px solid #ccc; background:#f5f5f5; cursor:pointer; border-radius:4px; }
.modeSwitchBox .modeBtn.active { background:#333; color:#fff; border-color:#333; }

.decalPanel { flex-direction:column; gap:10px; }
.decalHint { font-size:12px; opacity:.7; }
.decalHint.active { color:#e07b00; font-weight:600; }

.decalList { display:flex; flex-wrap:wrap; gap:6px; }
.decalList .decalItem { width:44px; height:44px; border:2px solid transparent; border-radius:4px; overflow:hidden; cursor:pointer; }
.decalList .decalItem img { width:100%; height:100%; object-fit:cover; }
.decalList .decalItem.selected { border-color:#333; }

.decalControls { display:flex; flex-direction:column; gap:8px; }
.decalControls label { display:flex; justify-content:space-between; gap:8px; font-size:13px; }
.decalMoveBtn.active { background:#333; color:#fff; }
.decalDeleteBtn { color:#c0392b; }
/*arOverlay*/
.clon-btnArLabel{
	position: absolute;
	bottom: 16px;
  right: 16px;
  background: white;
  border-radius: 50%;
  padding: 6px;
}

/*SUPPORT MKPI*/
.mkpi-support-btn {
    --btn-color: #106e85c4;
    --btn-dark: #3fa8c1;

    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 56px;
    margin-top: 20px;

    padding: 14px 20px 14px 15px;
    min-width: 256px;

    border-radius: 16px;
    text-decoration: none;

    background: linear-gradient(
        135deg,
        var(--btn-color),
        var(--btn-dark)
    );

    color: #fff;

    font-family: Inter, Arial, sans-serif;

    /*box-shadow:
        0 8px 25px rgba(108, 76, 255, .28),
        0 2px 5px rgba(0, 0, 0, .12);*/

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

/* Brillo que atraviesa el botón */
.mkpi-support-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;

    background: linear-gradient(
        100deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transform: skewX(-20deg);
    transition: left .65s ease;
}

/* Hover */
.mkpi-support-btn:hover {
    transform: translateY(-3px) scale(1.015);

    /*box-shadow:
        0 14px 35px rgba(108, 76, 255, .38),
        0 5px 10px rgba(0, 0, 0, .12);*/
}

.mkpi-support-btn:hover::before {
    left: 130%;
}

/* Click */
.mkpi-support-btn:active {
    transform: translateY(0) scale(.98);
}

/* Icono */
.mkpi-btn-icon {
    position: relative;
    z-index: 2;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255,255,255,.18);

    font-size: 21px;

    animation: mkpi-heart 2s infinite;
}

/* Texto */
.mkpi-btn-text {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    text-align: left;
    flex: 1;
}

.mkpi-btn-text strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.mkpi-btn-text small {
    margin-top: 3px;

    font-size: 11px;
    line-height: 1.3;

    opacity: .82;
}

/* Flecha */
.mkpi-btn-arrow {
    position: relative;
    z-index: 2;

    font-size: 23px;
    font-weight: 300;

    transition: transform .25s ease;
}

.mkpi-support-btn:hover .mkpi-btn-arrow {
    transform: translateX(5px);
}

/* Pulso del corazón */
@keyframes mkpi-heart {
    0%, 100% {
        transform: scale(1);
    }

    8% {
        transform: scale(1.12);
    }

    16% {
        transform: scale(1);
    }

    24% {
        transform: scale(1.08);
    }

    32% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .mkpi-support-btn {
        width: 100%;
    }

    .mkpi-btn-text small {
        font-size: 10px;
    }
}