/* Direct stylesheet authoring is an advanced feature. Knowledge of CSS required.*/

.psc-x1 { transition: all .2s ease-in-out; }
.psc-x1:hover { transform: scale(1.5) !important;  z-index: 5;}


.psc-x2 { transition: all .2s ease-in-out; }
.psc-x2:hover { transform: scale(2) !important;  z-index: 5;}

.psc-x3 { transition: all .2s ease-in-out; }
.psc-x3:hover { transform: scale(3) !important;  z-index: 5;}

/* Set the styling for the Table component checkbox colour.*/
.ia_tableComponent[data-component="ia.display.table"] .ia_checkbox__checkedIcon {
    color: black;
}
.ia_tableComponent[data-component="ia.display.table"] .ia_checkbox__uncheckedIcon {
    color: black;
}

div[data-component="ia.input.fileupload"] .ia_button--primary {
    background-color: var(--neutral-30);
    border-style: None;
    color: black;
    border-radius:20px;
}


/* Help page styles */

.psc-background:hover { 
	box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	transition: box-shadow 0.9s ease-in-out;
}

.psc-background-none { 
	box-shadow: 0 0px 0px 0 , 0 0px 0px 0;
	transition: box-shadow 0.9s ease-in-out;
}

@keyframes fadeIn{
	0% { opacity: 0; }
	100% { opacity: 1; }
}

.psc-FadeInFast {
	animation: fadeIn 2s;
}

.psc-FadeInMedium {
	animation: fadeIn 4s;
}

.psc-FadeInSlow {
	animation: fadeIn 6s;
}


@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.psc-rotate {
  animation: rotation 2s infinite linear;
}

.psc-hover-zoom {

  position: relative;
  transform-origin: 50% 50%;
  transform: translateZ(0) scale(1);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), filter 220ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
  backface-visibility: hidden;
}

.psc-hover-zoom:hover,
.psc-hover-zoom:focus-visible {
  transform: translateZ(0) scale(var(--psc-zoom, 1.8));
  z-index: 9999; 
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

.psc-stack { position: relative; }

.psc-stack:has(.psc-hover-zoom:hover) {
  z-index: 2147483646; 
}

.psc-stack-tier-1:has(.psc-hover-zoom:hover) { z-index: 1000; }
.psc-stack-tier-2:has(.psc-hover-zoom:hover) { z-index: 2000; }
.psc-stack-tier-3:has(.psc-hover-zoom:hover) { z-index: 3000; }

.psc-overflow-visible { overflow: visible; }

.psc-zoom-150 { --psc-zoom: 1.5; }
.psc-zoom-180 { --psc-zoom: 1.8; }
.psc-zoom-200 { --psc-zoom: 2; }
.psc-zoom-300 { --psc-zoom: 3; }

@media (prefers-reduced-motion: reduce) {
  .psc-hover-zoom { transition: none; filter: none; }
}

@media (hover: none) {
  .psc-hover-zoom,
  .psc-hover-zoom:hover,
  .psc-stack:has(.psc-hover-zoom:hover) {
    transform: none !important;
    filter: none !important;
    z-index: auto !important;
  }
}

[data-component="ia.display.view"].psc-hover {
  transform-origin: 50% 50%;
  transition: scale 100ms linear;
  scale: 1;
}

[data-component="ia.display.view"].psc-hover:hover {
  scale: 2; 
  z-index: 10;
}

[data-component="ia.display.view"].psc-conveyor.psc-hover:hover {
  scale: 1.3;
  z-index: auto;
}

