#icon-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.icon-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1280px 400px;
}

.icon-animation.active {
    display: block;
}

.icon-animation img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1280px;
    height: 400px;
    object-fit: contain;
}

/* Animation timing */
.rec-animation {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gen-animation {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-animation {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-animation img,
.gen-animation img,
.error-animation img {
    width: 1280px;
    height: 400px;
    object-fit: contain;
    display: block;
}

@keyframes playRec {
    from { background-position: 0px; }
    to { background-position: -193280px; }
}

@keyframes playGen {
    from { background-position: 0px; }
    to { background-position: -193280px; }
}

@keyframes playError {
    from { background-position: 0px; }
    to { background-position: -92160px; }
} 