.looping_zoom{
	animation: shrink 20s infinite alternate;
}

@keyframes shrink{
	0% {
		-ms-transform: scale(1.0);
		-moz-transform: scale(1.0);
		-webkit-transform: scale(1.0);
		-o-transform: scale(1.0);
		transform: scale(1.0);
	}
	100% {
		-ms-transform: scale(1.2);
		-moz-transform: scale(1.2);
		-webkit-transform: scale(1.2);
		-o-transform: scale(1.2);
		transform: scale(1.2);
	}
}

/* SCROLLBAR */
*::-webkit-scrollbar {
width: 5px;
height: 3.5px;
}

*::-webkit-scrollbar-track {
background: #ffffff;
}

*::-webkit-scrollbar-thumb {
background-color: #dcdcdc;
border-radius: 5px;
border: 0px solid #ffffff;
}


/* LOADING PAGE */

#loading {
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	position: fixed;
	display: block;
	opacity: 1;		
	z-index: 49;
	text-align: center;		
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

/* BALL SCALE PULSE: LOADING PAGE */

.la-ball-scale-pulse,
.la-ball-scale-pulse > div {
    position: relative;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.la-ball-scale-pulse {
    display: block;
    font-size: 0;
    color: #fff;
}
.la-ball-scale-pulse.la-dark {
    color: #333;
}
.la-ball-scale-pulse > div {
    display: inline-block;
    float: none;
    background-color: currentColor;
    border: 0 solid currentColor;
}
.la-ball-scale-pulse {
    width: 36px;
    height: 36px;
}
.la-ball-scale-pulse > div {
	background-image: url('../images/icons/workz/100x100.png'); background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 100%;    
    -webkit-animation: ball-scale-pulse 1s infinite ease-in-out;
       -moz-animation: ball-scale-pulse 1s infinite ease-in-out;
         -o-animation: ball-scale-pulse 1s infinite ease-in-out;
            animation: ball-scale-pulse 1s infinite ease-in-out;
}

.la-ball-scale-pulse.la-sm {
    width: 18px;
    height: 18px;
}
.la-ball-scale-pulse.la-sm > div {
    width: 18px;
    height: 18px;
}
.la-ball-scale-pulse.la-2x {
    width: 64px;
    height: 64px;
}
.la-ball-scale-pulse.la-2x > div {
    width: 64px;
    height: 64px;
}
.la-ball-scale-pulse.la-3x {
    width: 96px;
    height: 96px;
}
.la-ball-scale-pulse.la-3x > div {
    width: 96px;
    height: 96px;
}
/*
 * Animation
 */
@-webkit-keyframes ball-scale-pulse {
    0%,
    100% {
        -webkit-transform: scale(.5);
                transform: scale(.5);
    }
    50% {
        -webkit-transform: scale(1);
                transform: scale(1);
    }
}
@-moz-keyframes ball-scale-pulse {
    0%,
    100% {
        -moz-transform: scale(.5);
             transform: scale(.5);
    }
    50% {
        -moz-transform: scale(1);
             transform: scale(1);
    }
}
@-o-keyframes ball-scale-pulse {
    0%,
    100% {
        -o-transform: scale(.5);
           transform: scale(.5);
    }
    50% {
        -o-transform: scale(1);
           transform: scale(1);
    }
}
@keyframes ball-scale-pulse {
    0%,
    100% {
        -webkit-transform: scale(.5);
           -moz-transform: scale(.5);
             -o-transform: scale(.5);
                transform: scale(.5);
    }
    50% {
        -webkit-transform: scale(1);
           -moz-transform: scale(1);
             -o-transform: scale(1);
                transform: scale(1);
    }
}

/* App Launcher Styles */
.app-search-container {
    margin-bottom: 1.5rem;
}

.app-icon-container {
    width: 72px;
    height: 72px;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease;
}

.app-item-button:hover .app-icon-container {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-item-button {
    width: var(--app-icon-size, 60px);
    max-width: var(--app-icon-size, 60px);
    height: var(--app-grid-tile-height, 96px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.app-item-label {
    height: var(--app-label-height, 20px);
    line-height: var(--app-label-height, 20px);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.app-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-name {
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* App Library quick list */
#app-grid-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#app-grid {
  --app-grid-gap: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--app-grid-gap);
  max-height: min(60vh, 420px);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-right: 0.4rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
  overscroll-behavior: contain;
}

#app-grid::-webkit-scrollbar {
  width: 6px;
}

#app-grid::-webkit-scrollbar-track {
  background: transparent;
}

#app-grid::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

#quickbar-track {
  scroll-padding-left: 16px;
}

#quickbar-track.is-centered {
  justify-content: center;
}


body.workz-desktop-app-open #main-wrapper,
body.workz-desktop-app-open #sidebar-wrapper,
body.workz-desktop-app-open #topbar {
  filter: blur(10px);
  transition: filter 0.25s ease;
}
/* iOS-like switch (Desktop settings) */
.ios-switch {
  width: 44px;
  height: 26px;
  border-radius: 9999px;
  background: #e5e7eb; /* gray-200 */
  border: 1px solid rgba(0,0,0,0.08);
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.ios-switch .ios-switch-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform .2s ease;
}
.ios-switch[aria-checked="true"] {
  background: #fb923c; /* orange-400 */
  border-color: #fb923c;
}
.ios-switch[aria-checked="true"] .ios-switch-handle {
  transform: translateX(18px);
}
