/* Progress Bar Container */
.hold-progress-container {
    position: fixed;
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translate(-50%, -55%); /* Center above the mouse */
    z-index: 9999;
}

/* Message Above Progress Bar */
.progress-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    color: #ffffff;
    margin-bottom: 5px;
    word-wrap: break-word;
    width: 100px;
}

/* Progress Bar Container */
.progress-bar {
    width: 100px;
    height: 20px;
    background: linear-gradient(to bottom, #3a4e5d, #77b3e7, #f8fbff);
    border: 1px solid #7ba4d9;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Progress Fill with XP Stripes */
.progress-fill {
    height: 100%;
    width: 0;
    background: repeating-linear-gradient(
        -45deg,
        #278213,
        #278213 10px,
        #11af2c 10px,
        #11af2c 20px
    );
    animation: xp-stripes 1s linear infinite;
    transition: width 0.1s linear;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* Animated stripes moving across */
@keyframes xp-stripes {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 20px 0;
    }
}

/* Pulse Effect */
.pulse-effect {
    animation: pulse 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}
