/* Christmas Theme - External CSS */
.christmas-snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8); /* High visibility snow */
    font-size: 1.2em;
    user-select: none;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Christmas decorations */
.christmas-decoration {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.9;
    font-size: 2.5em;
}

.decoration-top-left {
    top: 20px;
    left: 20px;
}

.decoration-top-right {
    top: 20px;
    right: 20px;
}

/* Santa Claus Animation with PNG - Same line as decorations */
.santa-claus {
    position: fixed;
    top: 25px; /* Same vertical line as decorations */
    width: 60px;
    height: 60px;
    z-index: 9996;
    pointer-events: none;
    opacity: 0;
}

.santa-claus img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.6));
    animation: santaFly 15s ease-in-out;
}

@keyframes santaFly {
    0% {
        transform: translateX(-80px) scale(0.9);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(calc(100vw - 160px)) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(calc(100vw - 80px)) scale(1);
    }
    100% {
        transform: translateX(100vw) scale(0.9);
        opacity: 0;
    }
}

/* Ensure POS functionality remains unaffected */
.pos-container * {
    position: relative;
    z-index: 10000;
}

.pos-button, .pos-input, .pos-table {
    position: relative;
    z-index: 10001;
}