/* THIS FILE IS COPIED FROM THE COMMON LIBRARY AS OF 2025-07-15 20:17:15 GMT. DO NOT EDIT THIS FILE. EDIT THE ORIGINAL IN THE COMMON LIBRARY INSTEAD. */
agile-carousel {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
agile-carousel.paused {
    cursor: grab;
}

/* Wrapper holds all message slides in a horizontal row */
.agile-carousel-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    position: relative;
}

/* Each message takes up full width of the container */
.agile-carousel-message {
    position: relative;
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 1em;
    text-align: center;
    height: 100%; width: 100%;
}

/* Indicates clickable slides with pointer cursor */
.agile-carousel-message.clickable {
    cursor: pointer;
}

/* Pause Indicator */
.agile-carousel-pause-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 1.2em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    pointer-events: auto;
    z-index: 1;
    cursor: help;
    color: rgba(255,255,255,0.5);
    
}
agile-carousel.paused .agile-carousel-pause-indicator {
    opacity: 0.5;
    visibility: visible;
}

/* Timer Indicator */
.agile-carousel-timer-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 1.2em;
    opacity: 0;
    visibility: hidden;
    _transition: opacity 0.3s ease-in-out;
    transition: 0s;
    pointer-events: auto;
    z-index: 1;
    cursor: help;
    
    width: 1em;
    height: 1em;
    box-sizing: border-box;
    overflow: visible;
    color: rgba(255,255,255,0.5);
    
}
agile-carousel:not(.paused) .agile-carousel-timer-indicator {
    opacity: 0.5;
    visibility: visible;
}
.agile-carousel-timer-indicator polygon {
  stroke-dasharray: 600;
  stroke-dashoffset: 0;
  stroke: currentColor;
  stroke-width: 10;
  fill: transparent;
}
@keyframes undraw-stroke {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: 600;
  }
}


.agile-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 0.75em;
    position: absolute;
    z-index: 2;
    bottom: 4px;
    left: 50%;
    transform: translate(-50%, 0%);
    background: rgba(255,255,255,0.05);
    padding: 2px 8px 2px 8px;
    box-sizing: border-box;
    border-radius: 8px;
    cursor: auto;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
agile-carousel:hover .agile-carousel-dots {
    opacity: 1;
    visibility: visible;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: gray;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.5;
}

.carousel-dot.active {
    opacity: 1;
    cursor: auto;
    background: var(--primary-color);
}
.carousel-dot:not(.active):hover {
    outline: solid 4px var(--primary-color);
}
